src/Builder4/WindowLeftProps.bjs
authorAlan <alan@roojs.com>
Thu, 8 Feb 2024 08:09:17 +0000 (16:09 +0800)
committerAlan <alan@roojs.com>
Thu, 8 Feb 2024 08:09:17 +0000 (16:09 +0800)
src/Builder4/WindowLeftProps.vala

src/Builder4/WindowLeftProps.bjs
src/Builder4/WindowLeftProps.vala

index d410cf7..09fa9c7 100644 (file)
        "| int getRowAt" : [
         "(double x,  double  y, out string pos) {",
         "",
+        "\tpos = \"\";",
         "\tvar w = this.el.pick(x, y, Gtk.PickFlags.DEFAULT);",
         "\t//GLib.debug(\"got widget %s\", w == null ? \"nothing\" : w.get_type().name());",
         "\tif (w == null) {",
index 47b567e..093c879 100644 (file)
@@ -1794,6 +1794,7 @@ public class Xcls_LeftProps : Object
                 }
                public int getRowAt (double x,  double  y, out string pos) {
                
+                       pos = "";
                        var w = this.el.pick(x, y, Gtk.PickFlags.DEFAULT);
                        //GLib.debug("got widget %s", w == null ? "nothing" : w.get_type().name());
                        if (w == null) {