[gtk+/gtk-2-90: 83/200] Remove deprecated code: GdkPixbufAnimation



commit 668e9eaabbd17ac613c3ffc8c9f1889f01dd2f87
Author: Javier Jardón <javierjc1982 gmail com>
Date:   Sat Oct 10 16:41:21 2009 +0200

    Remove deprecated code: GdkPixbufAnimation

 gdk-pixbuf/gdk-pixbuf-animation.c |   30 ------------------------------
 gdk-pixbuf/gdk-pixbuf-animation.h |    5 -----
 gdk-pixbuf/gdk-pixbuf.symbols     |    4 ----
 3 files changed, 0 insertions(+), 39 deletions(-)
---
diff --git a/gdk-pixbuf/gdk-pixbuf-animation.c b/gdk-pixbuf/gdk-pixbuf-animation.c
index 28da439..6d5e835 100644
--- a/gdk-pixbuf/gdk-pixbuf-animation.c
+++ b/gdk-pixbuf/gdk-pixbuf-animation.c
@@ -258,36 +258,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
  * 
diff --git a/gdk-pixbuf/gdk-pixbuf-animation.h b/gdk-pixbuf/gdk-pixbuf-animation.h
index 32757ee..024a159 100644
--- a/gdk-pixbuf/gdk-pixbuf-animation.h
+++ b/gdk-pixbuf/gdk-pixbuf-animation.h
@@ -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);
diff --git a/gdk-pixbuf/gdk-pixbuf.symbols b/gdk-pixbuf/gdk-pixbuf.symbols
index ddf01c0..2e2548d 100644
--- a/gdk-pixbuf/gdk-pixbuf.symbols
+++ b/gdk-pixbuf/gdk-pixbuf.symbols
@@ -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



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