summaryrefslogtreecommitdiff
path: root/gdk-pixbuf
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2002-11-29 20:36:26 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2002-11-29 20:36:26 +0000
commitf0b823e943e1aaf855f3f797c01a1bd274b18d1f (patch)
treea75a20ac04e4ec7c42365e7b55dad50bbe5893e6 /gdk-pixbuf
parent6b5a1c9c743f5e6fd95f004e47014b49d7bce6e5 (diff)
downloadgtk+-f0b823e943e1aaf855f3f797c01a1bd274b18d1f.tar.gz
Add deprecation docs.
* gdk-pixbuf-animation.c: * gdk-pixbuf.c: Add deprecation docs.
Diffstat (limited to 'gdk-pixbuf')
-rw-r--r--gdk-pixbuf/ChangeLog5
-rw-r--r--gdk-pixbuf/gdk-pixbuf-animation.c10
-rw-r--r--gdk-pixbuf/gdk-pixbuf.c8
3 files changed, 16 insertions, 7 deletions
diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog
index d7aee5fd67..63298c4472 100644
--- a/gdk-pixbuf/ChangeLog
+++ b/gdk-pixbuf/ChangeLog
@@ -1,3 +1,8 @@
+2002-11-29 Matthias Clasen <maclas@gmx.de>
+
+ * gdk-pixbuf-animation.c:
+ * gdk-pixbuf.c: Add deprecation docs.
+
2002-11-28 Matthias Clasen <maclas@gmx.de>
* gdk-pixbuf/gdk-pixbuf-io.c:
diff --git a/gdk-pixbuf/gdk-pixbuf-animation.c b/gdk-pixbuf/gdk-pixbuf-animation.c
index 913751a69b..cd26bf78b9 100644
--- a/gdk-pixbuf/gdk-pixbuf-animation.c
+++ b/gdk-pixbuf/gdk-pixbuf-animation.c
@@ -236,11 +236,11 @@ gdk_pixbuf_animation_new_from_file (const char *filename,
* gdk_pixbuf_animation_ref:
* @animation: An animation.
*
- * Adds a reference to an animation. Deprecated; use
- * g_object_ref(). The reference must be released afterwards using
- * g_object_unref().
+ * Adds a reference to an animation.
*
* Return value: The same as the @animation argument.
+ *
+ * Deprecated: Use g_object_ref().
**/
GdkPixbufAnimation *
gdk_pixbuf_animation_ref (GdkPixbufAnimation *animation)
@@ -252,7 +252,9 @@ gdk_pixbuf_animation_ref (GdkPixbufAnimation *animation)
* gdk_pixbuf_animation_unref:
* @animation: An animation.
*
- * Removes a reference from an animation. Deprecated; use g_object_unref().
+ * Removes a reference from an animation.
+ *
+ * Deprecated: Use g_object_unref().
**/
void
gdk_pixbuf_animation_unref (GdkPixbufAnimation *animation)
diff --git a/gdk-pixbuf/gdk-pixbuf.c b/gdk-pixbuf/gdk-pixbuf.c
index b97dd19a4a..5a73cb743b 100644
--- a/gdk-pixbuf/gdk-pixbuf.c
+++ b/gdk-pixbuf/gdk-pixbuf.c
@@ -89,9 +89,11 @@ gdk_pixbuf_finalize (GObject *object)
* gdk_pixbuf_ref:
* @pixbuf: A pixbuf.
*
- * Adds a reference to a pixbuf. Deprecated; use g_object_ref().
+ * Adds a reference to a pixbuf.
*
* Return value: The same as the @pixbuf argument.
+ *
+ * Deprecated: Use g_object_ref().
**/
GdkPixbuf *
gdk_pixbuf_ref (GdkPixbuf *pixbuf)
@@ -103,9 +105,9 @@ gdk_pixbuf_ref (GdkPixbuf *pixbuf)
* gdk_pixbuf_unref:
* @pixbuf: A pixbuf.
*
- * Removes a reference from a pixbuf. Deprecated; use
- * g_object_unref().
+ * Removes a reference from a pixbuf.
*
+ * Deprecated: Use g_object_unref().
**/
void
gdk_pixbuf_unref (GdkPixbuf *pixbuf)