cssanimatedstyle: Remove unused function

This commit is contained in:
Benjamin Otte 2014-12-15 02:54:35 +01:00
parent 980923c761
commit 682abc345f
2 changed files with 0 additions and 17 deletions

View File

@ -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;
}

View File

@ -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