forked from AuroraMiddleware/gtk
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:
parent
4484d750f5
commit
f7312ce63c
@ -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);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user