[libgnome-games-support/arnaudb/wip/gtk4: 10/12] Kill GtkBin.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgnome-games-support/arnaudb/wip/gtk4: 10/12] Kill GtkBin.
- Date: Mon, 13 Jul 2020 15:58:13 +0000 (UTC)
commit ffc7e159bae6808711f810a67219d82a18ebfbf3
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]