Skip to content

Commit

Permalink
Fix update of GSettings enum preferences
Browse files Browse the repository at this point in the history
  • Loading branch information
stefano-k committed Jan 11, 2013
1 parent c2ef215 commit 3328432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/prefs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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. */

Expand Down

0 comments on commit 3328432

Please sign in to comment.