summaryrefslogtreecommitdiff
path: root/gtk/gtkstyleproperties.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-01-02 11:53:36 +0100
committerBenjamin Otte <otte@redhat.com>2012-01-09 18:37:55 +0100
commit799110b011877e89f13bd3b46ea90229e94a8cdf (patch)
tree98121db545635d334f5b933a8b77febf2e426648 /gtk/gtkstyleproperties.c
parent65f6925dd1de20f7ca2090cbbdc148389a2fb33a (diff)
downloadgtk+-799110b011877e89f13bd3b46ea90229e94a8cdf.tar.gz
styleproperties: Don't validate values anymore
Pspecs are on their way out, so validation is, too.
Diffstat (limited to 'gtk/gtkstyleproperties.c')
-rw-r--r--gtk/gtkstyleproperties.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtkstyleproperties.c b/gtk/gtkstyleproperties.c
index 4919699fac..781ac44c04 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);
}
/**