[patch] Fix gtk-2-10 build



Hi,

gtk/gtksettings.c was wrongly merged with trunk. Attached patch fixes
the build.

Greetings, 

Claudio
-- 
Claudio Saavedra <csaavedra alumnos utalca cl>
Index: gtk/gtksettings.c
===================================================================
--- gtk/gtksettings.c	(revision 17371)
+++ gtk/gtksettings.c	(working copy)
@@ -614,8 +614,10 @@ gtk_settings_get_property (GObject     *
   GType value_type = G_VALUE_TYPE (value);
   GType fundamental_type = G_TYPE_FUNDAMENTAL (value_type);
 
-  if (property_id == PROP_COLOR_HASH)
+  /* handle internal properties */
+  switch (property_id)
     {
+    case PROP_COLOR_HASH:
       g_value_set_boxed (value, get_color_hash (settings));
       return;
     case PROP_COLOR_SCHEME:


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