[gtk+] cssanimatedstyle: Remove unused function



commit 682abc345fe197b915af6efcbf572d303e8b05e7
Author: Benjamin Otte <otte redhat com>
Date:   Mon Dec 15 02:54:35 2014 +0100

    cssanimatedstyle: Remove unused function

 gtk/gtkcssanimatedstyle.c        |   16 ----------------
 gtk/gtkcssanimatedstyleprivate.h |    1 -
 2 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/gtk/gtkcssanimatedstyle.c b/gtk/gtkcssanimatedstyle.c
index 44e2a3f..b663c18 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 e3db40c..c61ebe8 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]