summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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. */