diff options
author | Benjamin Otte <otte@redhat.com> | 2012-03-30 17:47:26 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-04-17 08:59:15 +0200 |
commit | 1a9dfab825eb18ee101b579743a47ebb55e06a35 (patch) | |
tree | f20cbc616f04045ec1f4c89eab598760f704929b /gtk/gtkcssinheritvalue.c | |
parent | bf92f2f7ac5ac55b7ae4b59d8cd3a449d9ab5b20 (diff) | |
download | gtk+-1a9dfab825eb18ee101b579743a47ebb55e06a35.tar.gz |
cssvalue: Add _gtk_css_value_transition()
Returns a value that transitions between start and end or %NULL if the
values cannot be transitioned.
So far, all implementations but numbers and rgba return NULL.
Diffstat (limited to 'gtk/gtkcssinheritvalue.c')
-rw-r--r-- | gtk/gtkcssinheritvalue.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk/gtkcssinheritvalue.c b/gtk/gtkcssinheritvalue.c index 427f7ec09f..692ec5821f 100644 --- a/gtk/gtkcssinheritvalue.c +++ b/gtk/gtkcssinheritvalue.c @@ -37,6 +37,14 @@ gtk_css_value_inherit_equal (const GtkCssValue *value1, return TRUE; } +static GtkCssValue * +gtk_css_value_inherit_transition (GtkCssValue *start, + GtkCssValue *end, + double progress) +{ + return NULL; +} + static void gtk_css_value_inherit_print (const GtkCssValue *value, GString *string) @@ -47,6 +55,7 @@ gtk_css_value_inherit_print (const GtkCssValue *value, static const GtkCssValueClass GTK_CSS_VALUE_INHERIT = { gtk_css_value_inherit_free, gtk_css_value_inherit_equal, + gtk_css_value_inherit_transition, gtk_css_value_inherit_print }; |