From 6f15dc7cc1be8b98bbc1f5edd963ff89076295ee Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Wed, 5 Sep 2012 12:36:04 +0200 Subject: start migration to gsettings --- src/caja-property-browser.c | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'src/caja-property-browser.c') diff --git a/src/caja-property-browser.c b/src/caja-property-browser.c index 5c5830d3..c74177d3 100644 --- a/src/caja-property-browser.c +++ b/src/caja-property-browser.c @@ -155,7 +155,6 @@ static void caja_property_browser_drag_data_get (GtkWidget GtkSelectionData *selection_data, guint info, guint32 time); -static void caja_property_browser_theme_changed (gpointer user_data); static void emit_emblems_changed_signal (void); static void emblems_changed_callback (GObject *signaller, CajaPropertyBrowser *property_browser); @@ -390,11 +389,6 @@ caja_property_browser_init (GtkObject *object) /* the actual contents are created when necessary */ property_browser->details->content_frame = NULL; - /* add a callback for when the theme changes */ - eel_preferences_add_callback (CAJA_PREFERENCES_THEME, - caja_property_browser_theme_changed, - property_browser); - g_signal_connect (property_browser, "delete_event", G_CALLBACK (caja_property_browser_delete_event_callback), NULL); g_signal_connect (property_browser, "hide", @@ -454,10 +448,6 @@ caja_property_browser_destroy (GtkObject *object) g_free (property_browser->details); - eel_preferences_remove_callback (CAJA_PREFERENCES_THEME, - caja_property_browser_theme_changed, - property_browser); - EEL_CALL_PARENT (GTK_OBJECT_CLASS, destroy, (object)); } @@ -2072,17 +2062,6 @@ make_properties_from_xml_node (CajaPropertyBrowser *property_browser, } } -/* handle theme changes by updating the browser contents */ - -static void -caja_property_browser_theme_changed (gpointer user_data) -{ - CajaPropertyBrowser *property_browser; - - property_browser = CAJA_PROPERTY_BROWSER(user_data); - caja_property_browser_update_contents (property_browser); -} - /* make_category generates widgets corresponding all of the objects in the passed in directory */ static void make_category(CajaPropertyBrowser *property_browser, const char* path, const char* mode, xmlNodePtr node, const char *description) -- cgit v1.2.1