summaryrefslogtreecommitdiff
path: root/gtk/gtkstylepropertyprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-01-01 21:58:45 +0100
committerBenjamin Otte <otte@redhat.com>2012-01-09 18:37:53 +0100
commit79a171de0a592dcacdcd2151229ec77733441f15 (patch)
tree38d08c070fa91036379c6172c299e7dc860bd6a7 /gtk/gtkstylepropertyprivate.h
parentb904679a111224039a92e6f50acd97f6218a2d3a (diff)
downloadgtk+-79a171de0a592dcacdcd2151229ec77733441f15.tar.gz
styleproperty: Make query() and assign() vfuncs
... and implement them in the 2 known subclasses.
Diffstat (limited to 'gtk/gtkstylepropertyprivate.h')
-rw-r--r--gtk/gtkstylepropertyprivate.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk/gtkstylepropertyprivate.h b/gtk/gtkstylepropertyprivate.h
index 92c3fea180..7b7b60bbec 100644
--- a/gtk/gtkstylepropertyprivate.h
+++ b/gtk/gtkstylepropertyprivate.h
@@ -71,6 +71,16 @@ struct _GtkStylePropertyClass
{
GObjectClass parent_class;
+ void (* assign) (GtkStyleProperty *property,
+ GtkStyleProperties *props,
+ GtkStateFlags state,
+ const GValue *value);
+ void (* query) (GtkStyleProperty *property,
+ GtkStyleProperties *props,
+ GtkStateFlags state,
+ GtkStylePropertyContext *context,
+ GValue *value);
+
GHashTable *properties;
};