src/Builder4/WindowLeftTree.bjs
authorAlan <alan@roojs.com>
Thu, 25 Jan 2024 09:03:46 +0000 (17:03 +0800)
committerAlan <alan@roojs.com>
Thu, 25 Jan 2024 09:03:46 +0000 (17:03 +0800)
src/Builder4/WindowLeftTree.vala

src/Builder4/WindowLeftTree.bjs
src/Builder4/WindowLeftTree.vala

index 0f1b3b0..1018efb 100644 (file)
            "\tif (_this.view.dragNode != null) {",
            "\t\tvar ds = _this.dragsource.el;",
            "\t ",
-           "\t\tGLib.debug(\"is shift pressed? %d\", (int)  ds.get_current_event_state);",
+           "\t\tGLib.debug(\"is shift pressed? %d\", (int)  ds.get_current_event_state());",
            "\t}",
            "/*\tif ((Gdk.ModifierType.SHIFT_MASK & this.el.get_current_event_state()) > 0) {",
            "\t\tGLib.debug(\"shift is pressed?\");",
index e8ca56d..638e393 100644 (file)
@@ -955,7 +955,7 @@ public class Xcls_WindowLeftTree : Object
                                if (_this.view.dragNode != null) {
                                        var ds = _this.dragsource.el;
                                 
-                                       GLib.debug("is shift pressed? %d", (int)  ds.get_current_event_state);
+                                       GLib.debug("is shift pressed? %d", (int)  ds.get_current_event_state());
                                }
                        /*      if ((Gdk.ModifierType.SHIFT_MASK & this.el.get_current_event_state()) > 0) {
                                        GLib.debug("shift is pressed?");