summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-01-11 22:56:52 +0100
committerStefano Karapetsas <[email protected]>2013-01-11 22:56:52 +0100
commit3328432d7f8e963a37065308fa8a681c1b741741 (patch)
tree5ffa251948d8779a29cab7a57f2910c78c018cac /src/core
parentc2ef215448099a7a3cc83c2d8a5780b42227e484 (diff)
downloadmarco-3328432d7f8e963a37065308fa8a681c1b741741.tar.bz2
marco-3328432d7f8e963a37065308fa8a681c1b741741.tar.xz
Fix update of GSettings enum preferences
Diffstat (limited to 'src/core')
-rw-r--r--src/core/prefs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/prefs.c b/src/core/prefs.c
index a2cd3d76..2581acc2 100644
--- a/src/core/prefs.c
+++ b/src/core/prefs.c
@@ -595,7 +595,7 @@ handle_preference_update_enum (const gchar *key, GSettings *settings)
old_value = * ((gint *) cursor->target);
/* Now look it up... */
- *cursor->target = g_settings_get_int (settings, key);
+ *cursor->target = g_settings_get_enum (settings, key);
/* Did it change? If so, tell the listeners about it. */