summaryrefslogtreecommitdiff
path: root/gtk/gtkstyleproperty.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-01-02 00:28:56 +0100
committerBenjamin Otte <otte@redhat.com>2012-01-09 18:37:53 +0100
commit4821e52cf2ce967e024d37a9f329008a8ed46658 (patch)
tree576618425a7f3d35aa5534eedfe934faab7cf6e3 /gtk/gtkstyleproperty.c
parent5ae00c375541fb5ca1105a9f6025e248511cd155 (diff)
downloadgtk+-4821e52cf2ce967e024d37a9f329008a8ed46658.tar.gz
styleproperty: Move pspec to GtkCssStyleProperty
shorthands don't use pspecs anymore.
Diffstat (limited to 'gtk/gtkstyleproperty.c')
-rw-r--r--gtk/gtkstyleproperty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkstyleproperty.c b/gtk/gtkstyleproperty.c
index b444cf104a..de852ea3e3 100644
--- a/gtk/gtkstyleproperty.c
+++ b/gtk/gtkstyleproperty.c
@@ -954,7 +954,7 @@ _gtk_style_property_register (GParamSpec *pspec,
"value-type", pspec->value_type,
NULL);
g_assert (node->value_type == pspec->value_type);
- node->pspec = pspec;
+ GTK_CSS_STYLE_PROPERTY (node)->pspec = pspec;
node->property_parse_func = property_parse_func;
node->parse_func = parse_func;
node->print_func = print_func;