[eog] Make forgotten GSettings keys use the key macros



commit 6cb2ce2c72ce91f4f56d9110d7326e5ede86d7f9
Author: Felix Riemann <friemann gnome org>
Date:   Sat Jun 12 18:48:54 2010 +0200

    Make forgotten GSettings keys use the key macros

 src/eog-window.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/eog-window.c b/src/eog-window.c
index 0dd6ab4..6289584 100644
--- a/src/eog-window.c
+++ b/src/eog-window.c
@@ -424,10 +424,11 @@ eog_window_collection_mode_changed_cb (GSettings *settings,
 
 	priv = EOG_WINDOW (user_data)->priv;
 
-	position = g_settings_get_int (settings, "image_collection_position");
+	position = g_settings_get_int (settings,
+				       EOG_CONF_UI_IMAGE_COLLECTION_POSITION);
 
 	resizable = g_settings_get_boolean (settings,
-					    "image_collection_resizable");
+					    EOG_CONF_UI_IMAGE_COLLECTION_RESIZABLE);
 
 	if (priv->collection_position == position &&
 	    priv->collection_resizable == resizable)



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