[gtk+/wip/css: 87/143] styleproperties: Don't validate values anymore



commit 73b9b5bc9f1efd93087f673b359c1c255a44b276
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]