[libgnome-games-support/evfool/wip/gtk4] Kill GtkBin.



commit af6ec8e47373c92ade2f9da58c5d66318f22f1c2
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 e88ce6b..b58c8bc 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
@@ -161,7 +161,7 @@ public class GridFrame : Gtk.Bin
             queue_resize ();
         }
 
-        Gtk.Widget child = get_child ();
+        Gtk.Widget child = get_first_child ();
         if (child != null && child.get_visible ())
             child.size_allocate (child_allocation.width, child_allocation.height, /* baseline default */ -1);
 


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