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



commit 3660fef7f1286a85039811a845f24842faa86a53
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]