diff options
author | Benjamin Otte <otte@redhat.com> | 2011-05-26 00:09:26 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2011-06-02 02:03:50 +0200 |
commit | 35488f58461d53a92992cfeff686e5a2c972500d (patch) | |
tree | b6722fe82a80c2b0e5a30493d2583954e3a88f1e /gtk/gtkcssprovider.c | |
parent | 3e7f74c456996bb760031d3b66d5fd6c8665d2a9 (diff) | |
download | gtk+-35488f58461d53a92992cfeff686e5a2c972500d.tar.gz |
css: Rename struct variable
I want to add parse_func as something different soon.
Diffstat (limited to 'gtk/gtkcssprovider.c')
-rw-r--r-- | gtk/gtkcssprovider.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c index 5cb8d8b58f..1b3c12e062 100644 --- a/gtk/gtkcssprovider.c +++ b/gtk/gtkcssprovider.c @@ -2094,7 +2094,7 @@ parse_declaration (GtkCssScanner *scanner, g_param_value_set_default (property->pspec, val); gtk_css_ruleset_add (ruleset, property, val); } - else if (property->parse_func) + else if (property->property_parse_func) { GError *error = NULL; char *value_str; @@ -2106,9 +2106,11 @@ parse_declaration (GtkCssScanner *scanner, g_slice_free (GValue, val); return; } - - if ((*property->parse_func) (value_str, val, &error)) - gtk_css_ruleset_add (ruleset, property, val); + + if ((*property->property_parse_func) (value_str, val, &error)) + { + gtk_css_ruleset_add (ruleset, property, val); + } else { gtk_css_provider_take_error (scanner->provider, scanner, error); |