summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2011-08-11 13:10:41 +0200
committerCosimo Cecchi <cosimoc@gnome.org>2011-08-11 15:38:45 +0200
commit9d269bd7f2cc4d7babc3224d23a1ef67cc65b5e1 (patch)
treeb8e4a07c01024c8f57c235e576b92aa8b6b657b7
parentc7bcef426b10c9143e5e73d18d3cdc0690e58cf6 (diff)
downloadgtk+-9d269bd7f2cc4d7babc3224d23a1ef67cc65b5e1.tar.gz
settings: use the right RC parser for the gtk-visible-focus setting
Without the parser the property the property won't be settable by themes using settings.ini
-rw-r--r--gtk/gtksettings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index ab5c5aa960..d30b30e4e0 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -1129,7 +1129,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
GTK_TYPE_POLICY_TYPE,
GTK_POLICY_ALWAYS,
GTK_PARAM_READWRITE),
- NULL);
+ gtk_rc_property_parse_enum);
g_assert (result == PROP_VISIBLE_FOCUS);
/**