diff options
author | Benjamin Otte <otte@redhat.com> | 2012-01-01 21:58:45 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-01-09 18:37:53 +0100 |
commit | 79a171de0a592dcacdcd2151229ec77733441f15 (patch) | |
tree | 38d08c070fa91036379c6172c299e7dc860bd6a7 /gtk/gtkstylepropertyprivate.h | |
parent | b904679a111224039a92e6f50acd97f6218a2d3a (diff) | |
download | gtk+-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.h | 10 |
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; }; |