summaryrefslogtreecommitdiff
path: root/gtk/gtkcssshorthandproperty.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-01-11 02:43:16 +0100
committerBenjamin Otte <otte@redhat.com>2012-01-11 15:48:54 +0100
commit5939baa55657d15c214695bbdad33f9827071c2d (patch)
treefc32b427a589829f9b33113063227adea4eefbce /gtk/gtkcssshorthandproperty.c
parent738f96252ea677e5327cdf09d2d0d09b312c2f02 (diff)
downloadgtk+-5939baa55657d15c214695bbdad33f9827071c2d.tar.gz
styleproperty: Make query function take a vfunc
This way we can use different methods to query properties and aren't bound to a GtkStyleProperties object.
Diffstat (limited to 'gtk/gtkcssshorthandproperty.c')
-rw-r--r--gtk/gtkcssshorthandproperty.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkcssshorthandproperty.c b/gtk/gtkcssshorthandproperty.c
index 2002cccb2f..c47b5305a1 100644
--- a/gtk/gtkcssshorthandproperty.c
+++ b/gtk/gtkcssshorthandproperty.c
@@ -75,13 +75,13 @@ _gtk_css_shorthand_property_assign (GtkStyleProperty *property,
static void
_gtk_css_shorthand_property_query (GtkStyleProperty *property,
- GtkStyleProperties *props,
- GtkStateFlags state,
- GValue *value)
+ GValue *value,
+ GtkStyleQueryFunc query_func,
+ gpointer query_data)
{
GtkCssShorthandProperty *shorthand = GTK_CSS_SHORTHAND_PROPERTY (property);
- shorthand->query (shorthand, value, props, state);
+ shorthand->query (shorthand, value, query_func, query_data);
}
static gboolean