summaryrefslogtreecommitdiff
path: root/gtk/gtkshortcutssection.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2017-01-22 14:37:56 +0100
committerTimm Bäder <mail@baedert.org>2017-01-22 14:38:21 +0100
commit56a58655feeb6b700d243f98bc272cf967e38cf9 (patch)
tree30c6e9ebdd9f01570dcc4af03850c60dba459eb8 /gtk/gtkshortcutssection.c
parentdc904ffaf92132fdaa956340349c95fb5f7ebcfa (diff)
downloadgtk+-56a58655feeb6b700d243f98bc272cf967e38cf9.tar.gz
Remove unnecessary gtk_widget_show calls
Diffstat (limited to 'gtk/gtkshortcutssection.c')
-rw-r--r--gtk/gtkshortcutssection.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gtk/gtkshortcutssection.c b/gtk/gtkshortcutssection.c
index b8bef99ca1..ac2abc15f0 100644
--- a/gtk/gtkshortcutssection.c
+++ b/gtk/gtkshortcutssection.c
@@ -648,7 +648,6 @@ gtk_shortcuts_section_reflow_groups (GtkShortcutsSection *self)
GtkSizeGroup *size_group;
column_box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 22);
- gtk_widget_show (column_box);
size_group = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL);
g_object_set_data_full (G_OBJECT (column_box), "accel-size-group", size_group, g_object_unref);
@@ -660,7 +659,6 @@ gtk_shortcuts_section_reflow_groups (GtkShortcutsSection *self)
GtkWidget *page;
page = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 22);
- gtk_widget_show (page);
pages = g_list_append (pages, page);
current_page = page;
@@ -694,7 +692,6 @@ gtk_shortcuts_section_reflow_groups (GtkShortcutsSection *self)
guint n;
column_box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 22);
- gtk_widget_show (column_box);
size_group = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL);
g_object_set_data_full (G_OBJECT (column_box), "accel-size-group", size_group, g_object_unref);