[gnome-2048/arnaudb/wip/gtk4: 24/30] Adapt to Overlay API.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-2048/arnaudb/wip/gtk4: 24/30] Adapt to Overlay API.
- Date: Tue, 14 Jul 2020 11:05:53 +0000 (UTC)
commit 16adafb87b69dca040c9ed6876670f7c13130db8
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Mon Jul 13 16:59:43 2020 +0200
Adapt to Overlay API.
src/game.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/game.vala b/src/game.vala
index dfd2122..4818cbe 100644
--- a/src/game.vala
+++ b/src/game.vala
@@ -104,7 +104,7 @@ private class Game : Gtk.Widget
_foreground_grid.margin_bottom = 8;
Gtk.Overlay overlay = new Gtk.Overlay ();
- overlay.add (_background_grid);
+ overlay.set_child (_background_grid);
overlay.add_overlay (_foreground_grid);
overlay.insert_after (this, /* insert first */ null);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]