[eog] [GSettings] Remove now obsolete gconf_client_add_dir call



commit 1207e0f363e06f977eb6f9fb82519f9d421845ad
Author: Felix Riemann <friemann gnome org>
Date:   Sun Jun 6 16:16:19 2010 +0200

    [GSettings] Remove now obsolete gconf_client_add_dir call

 src/eog-config-keys.h |    1 -
 src/eog-window.c      |    4 ----
 2 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/eog-config-keys.h b/src/eog-config-keys.h
index a4f43ff..775bac7 100644
--- a/src/eog-config-keys.h
+++ b/src/eog-config-keys.h
@@ -26,7 +26,6 @@
 #ifndef __EOG_CONFIG_KEYS_H__
 #define __EOG_CONFIG_KEYS_H__
 
-#define EOG_CONF_DIR				"/apps/eog"
 #define EOG_CONF_DOMAIN				"org.gnome.eog"
 #define EOG_CONF_FULLSCREEN			EOG_CONF_DOMAIN".full_screen"
 #define EOG_CONF_PLUGINS			EOG_CONF_DOMAIN".plugins"
diff --git a/src/eog-window.c b/src/eog-window.c
index 248a715..b3ae5b6 100644
--- a/src/eog-window.c
+++ b/src/eog-window.c
@@ -4456,9 +4456,6 @@ eog_window_init (EogWindow *window)
 
 	priv->client = gconf_client_get_default ();
 
-	gconf_client_add_dir (window->priv->client, EOG_CONF_DIR,
-			      GCONF_CLIENT_PRELOAD_RECURSIVE, NULL);
-
 	g_signal_connect (priv->view_settings,
 			  "changed::" EOG_CONF_VIEW_EXTRAPOLATE,
 			  (GCallback) eog_window_interp_in_type_changed_cb,
@@ -4637,7 +4634,6 @@ eog_window_dispose (GObject *object)
 			gconf_client_notify_remove (priv->client,
 						 priv->client_notifications[i]);
 		}
-		gconf_client_remove_dir (priv->client, EOG_CONF_DIR, NULL);
 		g_object_unref (priv->client);
 		priv->client = NULL;
 	}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]