diff options
author | Stefano Karapetsas <[email protected]> | 2013-01-11 22:56:52 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-01-11 22:56:52 +0100 |
commit | 3328432d7f8e963a37065308fa8a681c1b741741 (patch) | |
tree | 5ffa251948d8779a29cab7a57f2910c78c018cac | |
parent | c2ef215448099a7a3cc83c2d8a5780b42227e484 (diff) | |
download | marco-3328432d7f8e963a37065308fa8a681c1b741741.tar.bz2 marco-3328432d7f8e963a37065308fa8a681c1b741741.tar.xz |
Fix update of GSettings enum preferences
-rw-r--r-- | src/core/prefs.c | 2 |
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. */ |