diff options
author | Benjamin Otte <otte@redhat.com> | 2012-01-02 12:12:29 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-01-09 18:37:55 +0100 |
commit | 91202ef497d4aff63c274cb74c2262ab9e4f3d60 (patch) | |
tree | d89e918d93a59138bba7941e49ce5a7ee63a4fb7 /gtk/gtkcsscustomproperty.c | |
parent | 3375dd2a5f94a9671033a0ec51ccbd556418693f (diff) | |
download | gtk+-91202ef497d4aff63c274cb74c2262ab9e4f3d60.tar.gz |
styleproperty: Move pspec to GtkCssCustomProperty
It's only used there.
Diffstat (limited to 'gtk/gtkcsscustomproperty.c')
-rw-r--r-- | gtk/gtkcsscustomproperty.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkcsscustomproperty.c b/gtk/gtkcsscustomproperty.c index 9d4c61f47c..de7238c36a 100644 --- a/gtk/gtkcsscustomproperty.c +++ b/gtk/gtkcsscustomproperty.c @@ -164,7 +164,7 @@ gtk_theming_engine_register_property (const gchar *name_space, "name", name, "value-type", pspec->value_type, NULL); - GTK_CSS_STYLE_PROPERTY (node)->pspec = pspec; + node->pspec = pspec; node->property_parse_func = parse_func; g_value_unset (&initial); @@ -199,7 +199,7 @@ gtk_style_properties_register_property (GtkStylePropertyParser parse_func, "name", pspec->name, "value-type", pspec->value_type, NULL); - GTK_CSS_STYLE_PROPERTY (node)->pspec = pspec; + node->pspec = pspec; node->property_parse_func = parse_func; g_value_unset (&initial); @@ -236,7 +236,7 @@ gtk_style_properties_lookup_property (const gchar *property_name, GtkCssCustomProperty *custom = GTK_CSS_CUSTOM_PROPERTY (node); if (pspec) - *pspec = GTK_CSS_STYLE_PROPERTY (node)->pspec; + *pspec = custom->pspec; if (parse_func) *parse_func = custom->property_parse_func; |