[gnome-2048/arnaudb/wip/gtk4: 31/48] Adapt to AspectFrame API.




commit 018ade35e5fda0dc7dd9c4af3b4c0f9ebfab712b
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Mon Jul 13 16:54:50 2020 +0200

    Adapt to AspectFrame API.

 src/game-window.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/game-window.vala b/src/game-window.vala
index af77582..74e6d6b 100644
--- a/src/game-window.vala
+++ b/src/game-window.vala
@@ -107,7 +107,7 @@ private class GameWindow : ApplicationWindow
         _game.undo_enabled.connect (() => { undo_action.set_enabled (true); });
         _game.undo_disabled.connect (() => { undo_action.set_enabled (false); });
 
-        _frame.add (_game);
+        _frame.set_child (_game);
     }
 
     private void _init_window ()


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