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/gtkcsspositionvalue.c | |
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/gtkcsspositionvalue.c')
-rw-r--r-- | gtk/gtkcsspositionvalue.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/gtkcsspositionvalue.c b/gtk/gtkcsspositionvalue.c index e69147a995..077ab8429b 100644 --- a/gtk/gtkcsspositionvalue.c +++ b/gtk/gtkcsspositionvalue.c @@ -69,14 +69,15 @@ gtk_css_value_position_equal (const GtkCssValue *position1, static GtkCssValue * gtk_css_value_position_transition (GtkCssValue *start, GtkCssValue *end, + guint property_id, double progress) { GtkCssValue *x, *y; - x = _gtk_css_value_transition (start->x, end->x, progress); + x = _gtk_css_value_transition (start->x, end->x, property_id, progress); if (x == NULL) return NULL; - y = _gtk_css_value_transition (start->y, end->y, progress); + y = _gtk_css_value_transition (start->y, end->y, property_id, progress); if (y == NULL) { _gtk_css_value_unref (x); |