summaryrefslogtreecommitdiff
path: root/gtk/gtkcssshorthandpropertyprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-03-26 07:08:24 +0200
committerBenjamin Otte <otte@redhat.com>2012-04-17 08:59:11 +0200
commit5ac9ba714ae480b8abfa918448ec07e5bf330da0 (patch)
tree1d250787adc88618406398d5f5f7d24df3cb51d8 /gtk/gtkcssshorthandpropertyprivate.h
parent58e4fdf911377c303858d0eebbd2594505dd3a21 (diff)
downloadgtk+-5ac9ba714ae480b8abfa918448ec07e5bf330da0.tar.gz
styleproperty: Make _gtk_style_property_query() take a GValue
... and don't make it return a GtkCssValue. We want to use this for compat with the old GValue APIs after all...
Diffstat (limited to 'gtk/gtkcssshorthandpropertyprivate.h')
-rw-r--r--gtk/gtkcssshorthandpropertyprivate.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkcssshorthandpropertyprivate.h b/gtk/gtkcssshorthandpropertyprivate.h
index 9a79a3d6c8..4592949a56 100644
--- a/gtk/gtkcssshorthandpropertyprivate.h
+++ b/gtk/gtkcssshorthandpropertyprivate.h
@@ -46,7 +46,8 @@ typedef void (* GtkCssShorthandPropertyAssignFunc) (GtkCssS
GtkStyleProperties *props,
GtkStateFlags state,
const GValue *value);
-typedef GtkCssValue * (* GtkCssShorthandPropertyQueryFunc) (GtkCssShorthandProperty *shorthand,
+typedef void (* GtkCssShorthandPropertyQueryFunc) (GtkCssShorthandProperty *shorthand,
+ GValue *value,
GtkStyleQueryFunc query_func,
gpointer query_data);