diff options
-rw-r--r-- | gtk/gtkcssimagevalue.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gtk/gtkcssimagevalue.c b/gtk/gtkcssimagevalue.c index 0beb3fe9c7..e67e9ea51a 100644 --- a/gtk/gtkcssimagevalue.c +++ b/gtk/gtkcssimagevalue.c @@ -19,7 +19,7 @@ #include "gtkcssimagevalueprivate.h" -#include "gtkstylepropertyprivate.h" +#include "gtkcssimagecrossfadeprivate.h" struct _GtkCssValue { GTK_CSS_VALUE_BASE @@ -45,7 +45,13 @@ gtk_css_value_image_transition (GtkCssValue *start, GtkCssValue *end, double progress) { - return NULL; + GtkCssImage *fade; + + fade = _gtk_css_image_cross_fade_new (_gtk_css_image_value_get_image (start), + _gtk_css_image_value_get_image (end), + progress); + + return _gtk_css_image_value_new (fade); } static void |