diff options
author | Benjamin Otte <otte@redhat.com> | 2012-03-28 06:20:47 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-04-17 08:59:14 +0200 |
commit | dcec7a5529f1a149bd3a02683a67d1c1bfd3702c (patch) | |
tree | 8c4814ae1dec9ff6c0b169acd27257190bd7fcbb /gtk/gtkcssstylepropertyprivate.h | |
parent | 81dfc2776e9a53a1b1f06df261b1e243481a9865 (diff) | |
download | gtk+-dcec7a5529f1a149bd3a02683a67d1c1bfd3702c.tar.gz |
cssstyleproperty: Make assign_value a vfunc
Diffstat (limited to 'gtk/gtkcssstylepropertyprivate.h')
-rw-r--r-- | gtk/gtkcssstylepropertyprivate.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkcssstylepropertyprivate.h b/gtk/gtkcssstylepropertyprivate.h index f16ece4167..b17d2fa27a 100644 --- a/gtk/gtkcssstylepropertyprivate.h +++ b/gtk/gtkcssstylepropertyprivate.h @@ -46,6 +46,8 @@ typedef GtkCssValue * (* GtkCssStylePropertyComputeFunc)(GtkCssStyleProperty typedef void (* GtkCssStylePropertyQueryFunc) (GtkCssStyleProperty *property, const GtkCssValue *cssvalue, GValue *value); +typedef GtkCssValue * (* GtkCssStylePropertyAssignFunc) (GtkCssStyleProperty *property, + const GValue *value); typedef gboolean (* GtkCssStylePropertyEqualFunc) (GtkCssStyleProperty *property, GtkCssValue *value1, GtkCssValue *value2); @@ -61,6 +63,7 @@ struct _GtkCssStyleProperty GtkCssStylePropertyPrintFunc print_value; GtkCssStylePropertyComputeFunc compute_value; GtkCssStylePropertyQueryFunc query_value; + GtkCssStylePropertyAssignFunc assign_value; GtkCssStylePropertyEqualFunc equal_func; }; |