[five-or-more/arnaudb/wip/gtk4: 41/50] Widgets are visible.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [five-or-more/arnaudb/wip/gtk4: 41/50] Widgets are visible.
- Date: Mon, 11 May 2020 10:04:03 +0000 (UTC)
commit ce74b49752b4922b78eb8a95382b301692543322
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Sat May 9 22:16:37 2020 +0200
Widgets are visible.
src/window.vala | 5 -----
1 file changed, 5 deletions(-)
---
diff --git a/src/window.vala b/src/window.vala
index 66d89f8..39fe991 100644
--- a/src/window.vala
+++ b/src/window.vala
@@ -106,8 +106,6 @@ private class GameWindow : ApplicationWindow
NextPiecesWidget next_pieces_widget = new NextPiecesWidget (settings, game, theme);
preview_hbox.add (next_pieces_widget);
- next_pieces_widget.realize ();
- next_pieces_widget.show ();
grid_frame.set (game.n_cols, game.n_rows);
game.board.board_changed.connect (() => { grid_frame.set (game.n_cols, game.n_rows); });
@@ -120,9 +118,6 @@ private class GameWindow : ApplicationWindow
game_view.notify ["background-color"].connect (() => { reset_background_action.set_enabled
(game_view.background_color != View.default_background_color); });
settings.bind (FiveOrMoreApp.KEY_BACKGROUND_COLOR, game_view, "background-color",
SettingsBindFlags.DEFAULT);
grid_frame.add (game_view);
- game_view.show ();
-
- grid_frame.show ();
init_scores_dialog ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]