Don't take a NautilusWindow argument in gtk_places_sidebar_new()

We will move the window-related initialization to ::map() or to a constructor.

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
This commit is contained in:
Federico Mena Quintero 2011-09-07 17:40:49 -05:00
parent 4484d750f5
commit f7312ce63c

View File

@ -3353,14 +3353,9 @@ gtk_places_sidebar_style_set (GtkWidget *widget,
} }
GtkWidget * GtkWidget *
gtk_places_sidebar_new (NautilusWindow *window) gtk_places_sidebar_new (void)
{ {
GtkPlacesSidebar *sidebar; return GTK_WIDGET (g_object_new (gtk_places_sidebar_get_type (), NULL));
sidebar = g_object_new (gtk_places_sidebar_get_type (), NULL);
gtk_places_sidebar_set_parent_window (sidebar, window);
return GTK_WIDGET (sidebar);
} }