From 682abc345fe197b915af6efcbf572d303e8b05e7 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 15 Dec 2014 02:54:35 +0100 Subject: [PATCH] cssanimatedstyle: Remove unused function --- gtk/gtkcssanimatedstyle.c | 16 ---------------- gtk/gtkcssanimatedstyleprivate.h | 1 - 2 files changed, 17 deletions(-) diff --git a/gtk/gtkcssanimatedstyle.c b/gtk/gtkcssanimatedstyle.c index 44e2a3f8df..b663c18baf 100644 --- a/gtk/gtkcssanimatedstyle.c +++ b/gtk/gtkcssanimatedstyle.c @@ -479,19 +479,3 @@ gtk_css_animated_style_is_static (GtkCssAnimatedStyle *style) return TRUE; } - -void -gtk_css_animated_style_cancel_animations (GtkCssAnimatedStyle *style) -{ - gtk_internal_return_if_fail (GTK_IS_CSS_ANIMATED_STYLE (style)); - - if (style->animated_values) - { - g_ptr_array_unref (style->animated_values); - style->animated_values = NULL; - } - - g_slist_free_full (style->animations, g_object_unref); - style->animations = NULL; -} - diff --git a/gtk/gtkcssanimatedstyleprivate.h b/gtk/gtkcssanimatedstyleprivate.h index e3db40c332..c61ebe8026 100644 --- a/gtk/gtkcssanimatedstyleprivate.h +++ b/gtk/gtkcssanimatedstyleprivate.h @@ -68,7 +68,6 @@ GtkCssValue * gtk_css_animated_style_get_intrinsic_value (GtkCssAnimat GtkBitmask * gtk_css_animated_style_advance (GtkCssAnimatedStyle *style, gint64 timestamp); -void gtk_css_animated_style_cancel_animations(GtkCssAnimatedStyle *style); gboolean gtk_css_animated_style_is_static (GtkCssAnimatedStyle *style); G_END_DECLS