summaryrefslogtreecommitdiff
path: root/gdk-pixbuf
diff options
context:
space:
mode:
authorJavier Jardón <javierjc1982@gmail.com>2009-10-10 16:41:21 +0200
committerJavier Jardón <jjardon@gnome.org>2010-05-03 01:48:45 +0200
commit668e9eaabbd17ac613c3ffc8c9f1889f01dd2f87 (patch)
tree3f5e5628ad49ddc27bf304317c72f9e36cc0c54c /gdk-pixbuf
parentfead8cd49affa9b8c08c8197156fd7e5ffb67937 (diff)
downloadgdk-pixbuf-668e9eaabbd17ac613c3ffc8c9f1889f01dd2f87.tar.gz
Remove deprecated code: GdkPixbufAnimation
Diffstat (limited to 'gdk-pixbuf')
-rw-r--r--gdk-pixbuf/gdk-pixbuf-animation.c30
-rw-r--r--gdk-pixbuf/gdk-pixbuf-animation.h5
-rw-r--r--gdk-pixbuf/gdk-pixbuf.symbols4
3 files changed, 0 insertions, 39 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-animation.c b/gdk-pixbuf/gdk-pixbuf-animation.c
index 28da439d9..6d5e83596 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 32757ee76..024a1596d 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 ddf01c041..2e2548df1 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