[gdk-pixbuf] docs: fix gtk-doc warnings



commit 1ffa8ebcb1adc6be0fefb21281608a46cbe0e883
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sun Jul 8 02:42:48 2012 -0400

    docs: fix gtk-doc warnings
    
    Also add a couple of missing methods to the sections file

 docs/reference/gdk-pixbuf/gdk-pixbuf-sections.txt |    2 ++
 gdk-pixbuf/gdk-pixbuf-io.c                        |   10 +++++-----
 2 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/docs/reference/gdk-pixbuf/gdk-pixbuf-sections.txt b/docs/reference/gdk-pixbuf/gdk-pixbuf-sections.txt
index 78ed118..5b5c58c 100644
--- a/docs/reference/gdk-pixbuf/gdk-pixbuf-sections.txt
+++ b/docs/reference/gdk-pixbuf/gdk-pixbuf-sections.txt
@@ -86,6 +86,8 @@ gdk_pixbuf_save_to_callbackv
 gdk_pixbuf_save_to_buffer
 gdk_pixbuf_save_to_bufferv
 gdk_pixbuf_save_to_stream
+gdk_pixbuf_save_to_stream_async
+gdk_pixbuf_save_to_stream_finish
 </SECTION>
 
 <SECTION>
diff --git a/gdk-pixbuf/gdk-pixbuf-io.c b/gdk-pixbuf/gdk-pixbuf-io.c
index 4e82df5..80f6373 100644
--- a/gdk-pixbuf/gdk-pixbuf-io.c
+++ b/gdk-pixbuf/gdk-pixbuf-io.c
@@ -2217,7 +2217,7 @@ gdk_pixbuf_real_save_to_callback (GdkPixbuf         *pixbuf,
  * @filename: name of file to save.
  * @type: name of file format.
  * @error: (allow-none): return location for error, or %NULL
- * @Varargs: list of key-value save options
+ * @...: list of key-value save options, followed by %NULL
  *
  * Saves pixbuf to a file in format @type. By default, "jpeg", "png", "ico" 
  * and "bmp" are possible file formats to save in, but more formats may be
@@ -2472,7 +2472,7 @@ gdk_pixbuf_savev (GdkPixbuf  *pixbuf,
  * @user_data: user data to pass to the save function.
  * @type: name of file format.
  * @error: (allow-none): return location for error, or %NULL
- * @Varargs: list of key-value save options
+ * @...: list of key-value save options
  *
  * Saves pixbuf in format @type by feeding the produced data to a 
  * callback. Can be used when you want to store the image to something 
@@ -2574,7 +2574,7 @@ gdk_pixbuf_save_to_callbackv   (GdkPixbuf  *pixbuf,
  * @buffer_size: location to receive the size of the new buffer.
  * @type: name of file format.
  * @error: (allow-none): return location for error, or %NULL
- * @Varargs: list of key-value save options
+ * @...: list of key-value save options
  *
  * Saves pixbuf to a new buffer in format @type, which is currently "jpeg",
  * "png", "tiff", "ico" or "bmp".  This is a convenience function that uses
@@ -2760,7 +2760,7 @@ save_to_stream (const gchar  *buffer,
  * @type: name of file format
  * @cancellable: optional #GCancellable object, %NULL to ignore
  * @error: (allow-none): return location for error, or %NULL
- * @Varargs: list of key-value save options
+ * @...: list of key-value save options
  *
  * Saves @pixbuf to an output stream.
  *
@@ -2864,7 +2864,7 @@ save_to_stream_thread (GSimpleAsyncResult *result,
  * @cancellable: optional #GCancellable object, %NULL to ignore
  * @callback: a #GAsyncReadyCallback to call when the the pixbuf is loaded
  * @user_data: the data to pass to the callback function
- * @Varargs: list of key-value save options
+ * @...: list of key-value save options
  *
  * Saves @pixbuf to an output stream asynchronously.
  *



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