]> Pileus Git - ~andy/gtk/commitdiff
Remove deprecated code: GdkPixbufAnimation
authorJavier Jardón <javierjc1982@gmail.com>
Sat, 10 Oct 2009 14:41:21 +0000 (16:41 +0200)
committerJavier Jardón <jjardon@gnome.org>
Sun, 2 May 2010 23:48:45 +0000 (01:48 +0200)
gdk-pixbuf/gdk-pixbuf-animation.c
gdk-pixbuf/gdk-pixbuf-animation.h
gdk-pixbuf/gdk-pixbuf.symbols

index 28da439d9960ea9238973e86fa2e606c07c4ff3b..6d5e8359635c22b9dc58c8995b87962d789eed2d 100644 (file)
@@ -257,36 +257,6 @@ gdk_pixbuf_animation_new_from_file (const char *filename,
 
 #endif
 
-/**
- * gdk_pixbuf_animation_ref:
- * @animation: An animation.
- *
- * Adds a reference to an animation. 
- *
- * Return value: The same as the @animation argument.
- *
- * Deprecated: 2.0: Use g_object_ref().
- **/
-GdkPixbufAnimation *
-gdk_pixbuf_animation_ref (GdkPixbufAnimation *animation)
-{
-        return (GdkPixbufAnimation*) g_object_ref (animation);
-}
-
-/**
- * gdk_pixbuf_animation_unref:
- * @animation: An animation.
- * 
- * Removes a reference from an animation. 
- *
- * Deprecated: 2.0: Use g_object_unref().
- **/
-void
-gdk_pixbuf_animation_unref (GdkPixbufAnimation *animation)
-{
-        g_object_unref (animation);
-}
-
 /**
  * gdk_pixbuf_animation_is_static_image:
  * @animation: a #GdkPixbufAnimation
index 32757ee764da6e8ea934d1d5fcc0aa4b99ca3496..024a1596d7c75f2a899c48083c35454296dc5778 100644 (file)
@@ -58,11 +58,6 @@ GType               gdk_pixbuf_animation_get_type        (void) G_GNUC_CONST;
 GdkPixbufAnimation *gdk_pixbuf_animation_new_from_file   (const char         *filename,
                                                           GError            **error);
 
-#ifndef GDK_PIXBUF_DISABLE_DEPRECATED
-GdkPixbufAnimation *gdk_pixbuf_animation_ref             (GdkPixbufAnimation *animation);
-void                gdk_pixbuf_animation_unref           (GdkPixbufAnimation *animation);
-#endif
-
 int                 gdk_pixbuf_animation_get_width       (GdkPixbufAnimation *animation);
 int                 gdk_pixbuf_animation_get_height      (GdkPixbufAnimation *animation);
 gboolean            gdk_pixbuf_animation_is_static_image  (GdkPixbufAnimation *animation);
index ddf01c04114695f7c8407fd59a9c787e82afe19a..2e2548df1e452c2a484233507fdbe0fcb50df2b7 100644 (file)
@@ -118,10 +118,6 @@ gdk_pixbuf_animation_new_from_file PRIVATE
 #ifdef G_OS_WIN32
 gdk_pixbuf_animation_new_from_file_utf8
 #endif
-#ifndef GDK_PIXBUF_DISABLE_DEPRECATED
-gdk_pixbuf_animation_ref
-gdk_pixbuf_animation_unref
-#endif
 gdk_pixbuf_non_anim_new
 gdk_pixbuf_non_anim_get_type G_GNUC_CONST
 #endif