[gtk+/places-sidebar] Remove useless style_set override
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/places-sidebar] Remove useless style_set override
- Date: Mon, 21 Jan 2013 23:21:18 +0000 (UTC)
commit 742a2f11a95a1e9ce56fe1a628743c7e8add8a57
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Jan 21 18:04:14 2013 -0500
Remove useless style_set override
gtk/gtkplacessidebar.c | 13 -------------
1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c
index dc5a0ed..468a9cd 100644
--- a/gtk/gtkplacessidebar.c
+++ b/gtk/gtkplacessidebar.c
@@ -250,8 +250,6 @@ static void open_selected_bookmark (GtkPlacesSidebar
GtkTreeModel *model,
GtkTreeIter *iter,
GtkPlacesOpenFlags open_flags);
-static void gtk_places_sidebar_style_set (GtkWidget *widget,
- GtkStyle *previous_style);
static gboolean eject_or_unmount_bookmark (GtkPlacesSidebar *sidebar,
GtkTreePath *path);
static gboolean eject_or_unmount_selection (GtkPlacesSidebar *sidebar);
@@ -3531,7 +3529,6 @@ gtk_places_sidebar_class_init (GtkPlacesSidebarClass *class)
gobject_class->dispose = gtk_places_sidebar_dispose;
- GTK_WIDGET_CLASS (class)->style_set = gtk_places_sidebar_style_set;
GTK_WIDGET_CLASS (class)->focus = gtk_places_sidebar_focus;
/**
@@ -3700,17 +3697,7 @@ gtk_places_sidebar_class_init (GtkPlacesSidebarClass *class)
G_TYPE_POINTER, /* FIXME: (GList *) is there something friendlier to language bindings? */
G_TYPE_STRING,
G_TYPE_INT);
-}
-static void
-gtk_places_sidebar_style_set (GtkWidget *widget,
- GtkStyle *previous_style)
-{
- GtkPlacesSidebar *sidebar;
-
- sidebar = GTK_PLACES_SIDEBAR (widget);
-
- update_places (sidebar);
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]