[gnome-nibbles/arnaudb/wip/gtk4: 182/188] Change set_left_attach.




commit 318d71d52ca599d7d7d9ea2d4485488ea7092cd2
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Fri Oct 2 15:52:14 2020 +0200

    Change set_left_attach.

 src/nibbles-view.vala | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/nibbles-view.vala b/src/nibbles-view.vala
index 0c3a5ed..a190acb 100644
--- a/src/nibbles-view.vala
+++ b/src/nibbles-view.vala
@@ -334,8 +334,8 @@ private class NibblesView : Widget
                     ((!) tmp).pixel_size = tile_size;
                     ((!) tmp).insert_after (this, /* insert first */ null);
                     GridLayoutChild child_layout = (GridLayoutChild) layout.get_layout_child ((!) tmp);
-                    child_layout.set_left_attach (j);
-                    child_layout.set_top_attach (i);
+                    child_layout.set_column (j);
+                    child_layout.set_row (i);
                 }
             }
         }
@@ -555,8 +555,8 @@ private class NibblesView : Widget
         actor.insert_after (this, /* insert first */ null);
 
         GridLayoutChild child_layout = (GridLayoutChild) layout.get_layout_child (actor);
-        child_layout.set_left_attach (worm.list.first ().x);
-        child_layout.set_top_attach (worm.list.first ().y);
+        child_layout.set_column (worm.list.first ().x);
+        child_layout.set_row (worm.list.first ().y);
 
         var actors = worm_actors.@get (worm);
         actors.widgets.append (actor);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]