[iagno/arnaudb/wip/gtk4: 28/54] Remove insert_before use.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [iagno/arnaudb/wip/gtk4: 28/54] Remove insert_before use.
- Date: Thu, 30 Apr 2020 13:19:47 +0000 (UTC)
commit 6315bbea58abe2b7e2096b899e1c5e57c704014c
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Mon Feb 17 20:14:57 2020 +0100
Remove insert_before use.
It bugs GtkStack.
src/game-view.vala | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/game-view.vala b/src/game-view.vala
index dbc06b0..3ccb463 100644
--- a/src/game-view.vala
+++ b/src/game-view.vala
@@ -81,7 +81,8 @@ private class GameView : BaseView, AdaptativeWidget
game_box.get_style_context ().add_class ("game-box");
// for the new-game-screen-to-game animation, it is probably better to have the game under
("uncovered")
- game_box.insert_after (game_stack, /* insert first */ null);
+// game_box.insert_after (game_stack, /* insert first */ null);
+ game_stack.add (game_box);
content.can_focus = true;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]