[gtk+] styleproperties: Don't validate values anymore
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] styleproperties: Don't validate values anymore
- Date: Mon, 9 Jan 2012 17:49:45 +0000 (UTC)
commit 799110b011877e89f13bd3b46ea90229e94a8cdf
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]