diff options
author | Benjamin Otte <otte@redhat.com> | 2012-10-02 11:31:36 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-10-02 14:16:36 +0200 |
commit | 558ffc24c216ceed593458a00250572d220b89a0 (patch) | |
tree | fb2ec632971a0fc786f26ae86297647ab9fa24c9 /gtk/gtkcssimagevalue.c | |
parent | 25271fe781df135b72c9e95a6551d6f4017d9c1b (diff) | |
download | gtk+-558ffc24c216ceed593458a00250572d220b89a0.tar.gz |
cssimage: Make image transition a vfunc
Diffstat (limited to 'gtk/gtkcssimagevalue.c')
-rw-r--r-- | gtk/gtkcssimagevalue.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gtk/gtkcssimagevalue.c b/gtk/gtkcssimagevalue.c index d44e72be1e..17f904c4ba 100644 --- a/gtk/gtkcssimagevalue.c +++ b/gtk/gtkcssimagevalue.c @@ -72,13 +72,14 @@ gtk_css_value_image_transition (GtkCssValue *start, guint property_id, double progress) { - GtkCssImage *fade; + GtkCssImage *transition; - fade = _gtk_css_image_cross_fade_new (_gtk_css_image_value_get_image (start), - _gtk_css_image_value_get_image (end), - progress); + transition = _gtk_css_image_transition (_gtk_css_image_value_get_image (start), + _gtk_css_image_value_get_image (end), + property_id, + progress); - return _gtk_css_image_value_new (fade); + return _gtk_css_image_value_new (transition); } static void |