[gtk+] Finish making the GtkSettings object identical on all backends so that it doesn't assert on non-X11



commit f7f9e16939112b3c06444c92c833625ecd2d8028
Author: John Ralls <jralls ceridwen us>
Date:   Mon Mar 7 12:28:20 2011 -0800

    Finish making the GtkSettings object identical on all backends so that it doesn't assert on non-X11 backends

 gtk/gtksettings.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index c25db4b..b1f210e 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -477,7 +477,6 @@ gtk_settings_class_init (GtkSettingsClass *class)
                                              NULL);
   g_assert (result == PROP_MODULES);
 
-#ifdef GDK_WINDOWING_X11
   result = settings_install_property_parser (class,
                                              g_param_spec_int ("gtk-xft-antialias",
                                                                P_("Xft Antialias"),
@@ -547,7 +546,6 @@ gtk_settings_class_init (GtkSettingsClass *class)
 
   g_assert (result == PROP_CURSOR_THEME_SIZE);
 
-#endif  /* GDK_WINDOWING_X11 */
   result = settings_install_property_parser (class,
                                              g_param_spec_boolean ("gtk-alternative-button-order",
                                                                    P_("Alternative button order"),



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