diff options
author | Timm Bäder <mail@baedert.org> | 2017-01-19 10:02:04 +0100 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2017-01-20 21:37:04 +0100 |
commit | ea897c6df44c37f573b7ed8e81ad87a9fd5b1009 (patch) | |
tree | 02726659b57530b21a5e1f8625ddd6f381bb8824 /gtk/gtkplacesview.c | |
parent | 13b001b77ca3907b4ff1246208755478421a7b32 (diff) | |
download | gtk+-ea897c6df44c37f573b7ed8e81ad87a9fd5b1009.tar.gz |
Remove gtk_widget_show_all
Diffstat (limited to 'gtk/gtkplacesview.c')
-rw-r--r-- | gtk/gtkplacesview.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gtk/gtkplacesview.c b/gtk/gtkplacesview.c index 2275809fba..fe2aade66a 100644 --- a/gtk/gtkplacesview.c +++ b/gtk/gtkplacesview.c @@ -613,8 +613,6 @@ populate_servers (GtkPlacesView *view) G_CALLBACK (on_remove_server_button_clicked), data); - gtk_widget_show_all (row); - g_free (name); } @@ -886,14 +884,14 @@ update_network_state (GtkPlacesView *view) * otherwise just show the spinner in the header */ if (!has_networks (view)) { - gtk_widget_show_all (priv->network_placeholder); + gtk_widget_show (priv->network_placeholder); gtk_label_set_text (GTK_LABEL (priv->network_placeholder_label), _("Searching for network locations")); } } else if (!has_networks (view)) { - gtk_widget_show_all (priv->network_placeholder); + gtk_widget_show (priv->network_placeholder); gtk_label_set_text (GTK_LABEL (priv->network_placeholder_label), _("No network locations found")); } @@ -2037,7 +2035,6 @@ listbox_header_func (GtkListBoxRow *row, } gtk_container_add (GTK_CONTAINER (header), separator); - gtk_widget_show_all (header); gtk_list_box_row_set_header (row, header); |