[gtk+/places-sidebar] Don't take a NautilusWindow argument in gtk_places_sidebar_new()
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/places-sidebar] Don't take a NautilusWindow argument in gtk_places_sidebar_new()
- Date: Wed, 7 Sep 2011 22:57:54 +0000 (UTC)
commit 2c2a31e35b0d27ff34c4b755f8a49daf5df9980d
Author: Federico Mena Quintero <federico gnome org>
Date: Wed Sep 7 17:40:49 2011 -0500
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>
gtk/gtkplacessidebar.c | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c
index 25bf42d..f7897fe 100644
--- a/gtk/gtkplacessidebar.c
+++ b/gtk/gtkplacessidebar.c
@@ -3353,14 +3353,9 @@ gtk_places_sidebar_style_set (GtkWidget *widget,
}
GtkWidget *
-gtk_places_sidebar_new (NautilusWindow *window)
+gtk_places_sidebar_new (void)
{
- GtkPlacesSidebar *sidebar;
-
- sidebar = g_object_new (gtk_places_sidebar_get_type (), NULL);
- gtk_places_sidebar_set_parent_window (sidebar, window);
-
- return GTK_WIDGET (sidebar);
+ return GTK_WIDGET (g_object_new (gtk_places_sidebar_get_type (), NULL));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]