diff options
author | Benjamin Otte <otte@redhat.com> | 2012-08-30 15:51:29 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-09-03 12:54:14 +0200 |
commit | e3fc081c5dbb5ab04c8b0d3bd9aa52fe16aba640 (patch) | |
tree | 6b90497d19255d9e66bab89f480a9bc3c22d8736 /gtk/gtkcssvalueprivate.h | |
parent | fd7668bfb54674bda04cc74c2a6ad571939943e9 (diff) | |
download | gtk+-e3fc081c5dbb5ab04c8b0d3bd9aa52fe16aba640.tar.gz |
cssvalue: Pass property ID to transition function
This is to allow animating arrays properly. I'm not really thrilled
about this solution (we leak propertys into the values again...), but
it's the best I can come up with - I prefer it to having N different
array types...
Diffstat (limited to 'gtk/gtkcssvalueprivate.h')
-rw-r--r-- | gtk/gtkcssvalueprivate.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkcssvalueprivate.h b/gtk/gtkcssvalueprivate.h index 629cc754b2..a7f9b9628f 100644 --- a/gtk/gtkcssvalueprivate.h +++ b/gtk/gtkcssvalueprivate.h @@ -50,6 +50,7 @@ struct _GtkCssValueClass { const GtkCssValue *value2); GtkCssValue * (* transition) (GtkCssValue *start, GtkCssValue *end, + guint property_id, double progress); void (* print) (const GtkCssValue *value, GString *string); @@ -74,6 +75,7 @@ gboolean _gtk_css_value_equal0 (const GtkCssValue const GtkCssValue *value2); GtkCssValue *_gtk_css_value_transition (GtkCssValue *start, GtkCssValue *end, + guint property_id, double progress); char * _gtk_css_value_to_string (const GtkCssValue *value); |