From 4821e52cf2ce967e024d37a9f329008a8ed46658 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 2 Jan 2012 00:28:56 +0100 Subject: styleproperty: Move pspec to GtkCssStyleProperty shorthands don't use pspecs anymore. --- gtk/gtkstyleproperty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk/gtkstyleproperty.c') 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; -- cgit v1.2.1