summaryrefslogtreecommitdiff
path: root/gtk/gtktoolbar.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/gtktoolbar.c
parentdc904ffaf92132fdaa956340349c95fb5f7ebcfa (diff)
downloadgtk+-56a58655feeb6b700d243f98bc272cf967e38cf9.tar.gz
Remove unnecessary gtk_widget_show calls
Diffstat (limited to 'gtk/gtktoolbar.c')
-rw-r--r--gtk/gtktoolbar.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtktoolbar.c b/gtk/gtktoolbar.c
index 8e8d9e0c0d..2eb4e08fda 100644
--- a/gtk/gtktoolbar.c
+++ b/gtk/gtktoolbar.c
@@ -663,7 +663,6 @@ gtk_toolbar_init (GtkToolbar *toolbar)
priv->arrow = gtk_image_new_from_icon_name ("pan-down-symbolic", GTK_ICON_SIZE_BUTTON);
gtk_widget_set_name (priv->arrow, "gtk-toolbar-arrow");
- gtk_widget_show (priv->arrow);
gtk_container_add (GTK_CONTAINER (priv->arrow_button), priv->arrow);
gtk_widget_set_parent (priv->arrow_button, widget);
@@ -2242,7 +2241,6 @@ gtk_toolbar_set_drop_highlight_item (GtkToolbar *toolbar,
content = toolbar_content_new_tool_item (toolbar,
GTK_TOOL_ITEM (placeholder),
TRUE, index_);
- gtk_widget_show (placeholder);
}
g_assert (content);