[gdk-pixbuf] lib: Annotate var-arg gdk_pixbuf_save*()



commit 112eab418137df2d2f5f97e75fb48f17e7f771e7
Author: Torsten Schönfeld <kaffeetisch gmx de>
Date:   Sun Jan 29 21:11:14 2012 +0100

    lib: Annotate var-arg gdk_pixbuf_save*()
    
    Annotate var-args gdk_pixbuf_save*() functions as aliases for save*v()
    so that the functions shadow the var-arg variants.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=670372

 gdk-pixbuf/gdk-pixbuf-io.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gdk-pixbuf/gdk-pixbuf-io.c b/gdk-pixbuf/gdk-pixbuf-io.c
index 7c50b87..21af5b4 100644
--- a/gdk-pixbuf/gdk-pixbuf-io.c
+++ b/gdk-pixbuf/gdk-pixbuf-io.c
@@ -2463,7 +2463,7 @@ gdk_pixbuf_save (GdkPixbuf  *pixbuf,
 #endif
 
 /**
- * gdk_pixbuf_savev:
+ * gdk_pixbuf_savev: (rename-to gdk_pixbuf_save)
  * @pixbuf: a #GdkPixbuf.
  * @filename: name of file to save.
  * @type: name of file format.
@@ -2624,7 +2624,7 @@ gdk_pixbuf_save_to_callback    (GdkPixbuf  *pixbuf,
 }
 
 /**
- * gdk_pixbuf_save_to_callbackv:
+ * gdk_pixbuf_save_to_callbackv: (rename-to gdk_pixbuf_save_to_callback)
  * @pixbuf: a #GdkPixbuf.
  * @save_func: (scope call): a function that is called to save each block of data that
  *   the save routine generates.
@@ -2760,7 +2760,7 @@ save_to_buffer_callback (const gchar *data,
 }
 
 /**
- * gdk_pixbuf_save_to_bufferv:
+ * gdk_pixbuf_save_to_bufferv: (rename-to gdk_pixbuf_save_to_buffer)
  * @pixbuf: a #GdkPixbuf.
  * @buffer: (array length=buffer_size) (out) (element-type guint8):
  *   location to receive a pointer to the new buffer.


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