[gtk+/wip/cssvalue: 64/165] stylepropertyimpl: Make shadows unqueryable
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/cssvalue: 64/165] stylepropertyimpl: Make shadows unqueryable
- Date: Fri, 13 Apr 2012 23:08:10 +0000 (UTC)
commit 793cc03c88a3d275f1c2d37fbff432eec5aa452b
Author: Benjamin Otte <otte redhat com>
Date: Wed Mar 28 01:07:46 2012 +0200
stylepropertyimpl: Make shadows unqueryable
Normal APIs couldn't use GtkShadow anyway as the type was private.
gtk/gtkcssstylepropertyimpl.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gtk/gtkcssstylepropertyimpl.c b/gtk/gtkcssstylepropertyimpl.c
index 510b4a0..4f97622 100644
--- a/gtk/gtkcssstylepropertyimpl.c
+++ b/gtk/gtkcssstylepropertyimpl.c
@@ -1307,32 +1307,32 @@ _gtk_css_style_property_init_properties (void)
PANGO_WEIGHT_NORMAL));
gtk_css_style_property_register ("text-shadow",
- GTK_TYPE_SHADOW,
+ G_TYPE_NONE,
GTK_STYLE_PROPERTY_INHERIT,
shadow_value_parse,
shadow_value_print,
shadow_value_compute,
- query_simple,
+ NULL,
NULL,
_gtk_css_value_new_take_shadow (NULL));
gtk_css_style_property_register ("icon-shadow",
- GTK_TYPE_SHADOW,
+ G_TYPE_NONE,
GTK_STYLE_PROPERTY_INHERIT,
shadow_value_parse,
shadow_value_print,
shadow_value_compute,
- query_simple,
+ NULL,
NULL,
_gtk_css_value_new_take_shadow (NULL));
gtk_css_style_property_register ("box-shadow",
- GTK_TYPE_SHADOW,
+ G_TYPE_NONE,
0,
shadow_value_parse,
shadow_value_print,
shadow_value_compute,
- query_simple,
+ NULL,
NULL,
_gtk_css_value_new_take_shadow (NULL));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]