[gnome-robots/arnaudb/wip/gtk4: 17/36] Widgets are visible.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-robots/arnaudb/wip/gtk4: 17/36] Widgets are visible.
- Date: Tue, 15 Sep 2020 14:29:39 +0000 (UTC)
commit 87aeab22ba814e32da289204647bd2e4e8db29b1
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Mon May 25 18:33:33 2020 +0200
Widgets are visible.
src/gnome-robots.c | 3 ---
src/properties.c | 2 --
2 files changed, 5 deletions(-)
---
diff --git a/src/gnome-robots.c b/src/gnome-robots.c
index 5356824..244968a 100644
--- a/src/gnome-robots.c
+++ b/src/gnome-robots.c
@@ -364,7 +364,6 @@ activate (GtkApplication *app, gpointer user_data)
button = gtk_menu_button_new ();
gtk_menu_button_set_icon_name (GTK_MENU_BUTTON (button), "open-menu-symbolic");
gtk_menu_button_set_menu_model (GTK_MENU_BUTTON (button), (GMenuModel *) appmenu);
- gtk_widget_show (button);
gtk_header_bar_pack_end (GTK_HEADER_BAR (headerbar), button);
window = gtk_application_window_new (app);
@@ -453,8 +452,6 @@ activate (GtkApplication *app, gpointer user_data)
GAMES_SCORES_IMPORTER (importer));
g_object_unref (importer);
- gtk_widget_show_all (window);
-
if (!load_game_configs ()) {
/* Oops, no configs, we probably haven't been installed properly. */
errordialog = gtk_message_dialog_new_with_markup (NULL, 0, GTK_MESSAGE_ERROR,
diff --git a/src/properties.c b/src/properties.c
index d389c5e..f201f43 100644
--- a/src/properties.c
+++ b/src/properties.c
@@ -531,8 +531,6 @@ show_properties_dialog (void)
G_CALLBACK (delete_cb), NULL);
g_signal_connect (G_OBJECT (propbox), "response",
G_CALLBACK (apply_cb), NULL);
-
- gtk_widget_show_all (propbox);
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]