[gtk+/wip/css: 88/97] styleproperties: Don't validate values anymore



commit ff0d67d4c6ca5bbf7d0c563eb654ed51ba1a6d28
Author: Benjamin Otte <otte redhat com>
Date:   Mon Jan 2 11:53:36 2012 +0100

    styleproperties: Don't validate values anymore
    
    Pspecs are on their way out, so validation is, too.

 gtk/gtkstyleproperties.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkstyleproperties.c b/gtk/gtkstyleproperties.c
index 4919699..781ac44 100644
--- a/gtk/gtkstyleproperties.c
+++ b/gtk/gtkstyleproperties.c
@@ -484,8 +484,6 @@ _gtk_style_properties_set_property_by_property (GtkStyleProperties  *props,
     }
 
   g_value_copy (value, val);
-  if (_gtk_style_property_get_value_type (GTK_STYLE_PROPERTY (style_prop)) == G_VALUE_TYPE (value))
-    g_param_value_validate (style_prop->pspec, val);
 }
 
 /**



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