From 9fe9b784974a83aa442ff84b3efb37864b8bc4c5 Mon Sep 17 00:00:00 2001 From: Carlos Soriano Date: Sat, 29 Aug 2015 21:10:37 +0200 Subject: [PATCH] gtkplacesview: dont invalidate headers if not necessary We were invalidating the headers after adding the placeholder row, but GtkListBox already update the header of that row in that case. https://bugzilla.gnome.org/show_bug.cgi?id=754150 --- gtk/gtkplacesview.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gtk/gtkplacesview.c b/gtk/gtkplacesview.c index 9c34ffb42d..a508fceded 100644 --- a/gtk/gtkplacesview.c +++ b/gtk/gtkplacesview.c @@ -880,9 +880,6 @@ update_network_state (GtkPlacesView *view) g_object_set_data (G_OBJECT (priv->network_placeholder), "is-placeholder", GINT_TO_POINTER (TRUE)); gtk_container_add (GTK_CONTAINER (priv->listbox), priv->network_placeholder); - - gtk_widget_show_all (GTK_WIDGET (priv->network_placeholder)); - gtk_list_box_invalidate_headers (GTK_LIST_BOX (priv->listbox)); } if (gtk_places_view_get_fetching_networks (view))