[gtk+] settings: use the right RC parser for the gtk-visible-focus setting



commit 9d269bd7f2cc4d7babc3224d23a1ef67cc65b5e1
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu Aug 11 13:10:41 2011 +0200

    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

 gtk/gtksettings.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index ab5c5aa..d30b30e 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);
 
   /**



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]