[gtk+/wip/css: 87/167] styleproperties: Don't validate values anymore
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/css: 87/167] styleproperties: Don't validate values anymore
- Date: Sun, 8 Jan 2012 04:50:03 +0000 (UTC)
commit 0e97e0210c4ee5da54384b1b1d6dcf10dddf269a
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]