summaryrefslogtreecommitdiff
path: root/gtk/gtkcssstylepropertyprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-03-28 06:20:47 +0200
committerBenjamin Otte <otte@redhat.com>2012-04-17 08:59:14 +0200
commitdcec7a5529f1a149bd3a02683a67d1c1bfd3702c (patch)
tree8c4814ae1dec9ff6c0b169acd27257190bd7fcbb /gtk/gtkcssstylepropertyprivate.h
parent81dfc2776e9a53a1b1f06df261b1e243481a9865 (diff)
downloadgtk+-dcec7a5529f1a149bd3a02683a67d1c1bfd3702c.tar.gz
cssstyleproperty: Make assign_value a vfunc
Diffstat (limited to 'gtk/gtkcssstylepropertyprivate.h')
-rw-r--r--gtk/gtkcssstylepropertyprivate.h3
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;
};