src/Builder4/MainWindow.bjs
authorAlan Knowles <alan@roojs.com>
Sun, 17 May 2015 08:33:33 +0000 (16:33 +0800)
committerAlan Knowles <alan@roojs.com>
Sun, 17 May 2015 08:33:33 +0000 (16:33 +0800)
src/Builder4/MainWindow.vala

src/Builder4/MainWindow.bjs
src/Builder4/MainWindow.vala

index 8d4c455..d3f3941 100644 (file)
           {
            "listeners" : {
             "activate" : "",
-            "button_press_event" : "() => {\n    if (this.errpopup == null) {\n        this.errpopup = new Xcls_ValaCompileErrors();\n        this.errpopup.window = this;\n    }\n    this.errpopup.show(this.notices, this.el);\n}"
+            "button_press_event" : "() => {\n    if (this.errpopup == null) {\n        this.errpopup = new Xcls_ValaCompileErrors();\n        this.errpopup.window = _this;\n    }\n    this.errpopup.show(this.notices, this.el);\n}"
            },
            "bool always_show_image" : true,
            "id" : "statusbar_errors",
index f892c7c..6193b57 100644 (file)
@@ -2288,7 +2288,7 @@ public class Xcls_MainWindow : Object
             this.el.button_press_event.connect( () => {
                 if (this.errpopup == null) {
                     this.errpopup = new Xcls_ValaCompileErrors();
-                    this.errpopup.window = this;
+                    this.errpopup.window = _this;
                 }
                 this.errpopup.show(this.notices, this.el);
             });