[libgnome-games-support/andy128k-gtk4: 6/7] Kill GtkBin.




commit e39449b98c82544ac391c349ddaffaef3cd8b145
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Thu May 7 09:52:25 2020 +0200

    Kill GtkBin.
    
    TODO test.

 games/gridframe.vala | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/games/gridframe.vala b/games/gridframe.vala
index 1580bcf..6662e15 100644
--- a/games/gridframe.vala
+++ b/games/gridframe.vala
@@ -24,7 +24,7 @@
 
 namespace Games {
 
-public class GridFrame : Gtk.Bin
+public class GridFrame : Gtk.Widget
 {
     private int _xpadding = 0;
     public int xpadding
@@ -158,7 +158,7 @@ public class GridFrame : Gtk.Bin
             get_window ().invalidate_rect (allocation, false);
         }
 
-        Gtk.Widget child = get_child ();
+        Gtk.Widget child = get_first_child ();
         if (child != null && child.get_visible ())
             child.size_allocate (child_allocation);
 


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