diff options
author | Timm Bäder <mail@baedert.org> | 2017-01-19 10:31:03 +0100 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2017-01-20 21:37:07 +0100 |
commit | f4341ee9f790ab4f57bf553e08eea37e5b4ba675 (patch) | |
tree | 01e9b0e322097cf45e92b8f04d721db0a53a848e /gtk/gtkstacksidebar.c | |
parent | ea897c6df44c37f573b7ed8e81ad87a9fd5b1009 (diff) | |
download | gtk+-f4341ee9f790ab4f57bf553e08eea37e5b4ba675.tar.gz |
widget: Remove show-all property
Doesn't make sense anymore now that gtk_widget_show_all is gone.
Diffstat (limited to 'gtk/gtkstacksidebar.c')
-rw-r--r-- | gtk/gtkstacksidebar.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gtk/gtkstacksidebar.c b/gtk/gtkstacksidebar.c index ec50fc4090..5a4a3014a2 100644 --- a/gtk/gtkstacksidebar.c +++ b/gtk/gtkstacksidebar.c @@ -196,8 +196,6 @@ gtk_stack_sidebar_init (GtkStackSidebar *sidebar) priv = gtk_stack_sidebar_get_instance_private (sidebar); sw = gtk_scrolled_window_new (NULL, NULL); - gtk_widget_show (sw); - gtk_widget_set_no_show_all (sw, TRUE); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); @@ -205,7 +203,6 @@ gtk_stack_sidebar_init (GtkStackSidebar *sidebar) gtk_container_add (GTK_CONTAINER (sidebar), sw); priv->list = GTK_LIST_BOX (gtk_list_box_new ()); - gtk_widget_show (GTK_WIDGET (priv->list)); gtk_container_add (GTK_CONTAINER (sw), GTK_WIDGET (priv->list)); |