[gdk-pixbuf] Improve the gdk_pixbuf_loader_close() docs



commit 1e5f529b5591459a0a7abac500898036f5df2df4
Author: Xabier Rodriguez Calvar <xrcalvar igalia com>
Date:   Mon Aug 9 21:28:11 2010 -0400

    Improve the gdk_pixbuf_loader_close() docs
    
    ...by mentioning that you still need to unref. Bug 604284.

 gdk-pixbuf/gdk-pixbuf-loader.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gdk-pixbuf/gdk-pixbuf-loader.c b/gdk-pixbuf/gdk-pixbuf-loader.c
index 3d6ba6b..720ef80 100644
--- a/gdk-pixbuf/gdk-pixbuf-loader.c
+++ b/gdk-pixbuf/gdk-pixbuf-loader.c
@@ -683,6 +683,9 @@ gdk_pixbuf_loader_get_animation (GdkPixbufLoader *loader)
  * to be finished, passing %NULL for @error to ignore it is
  * reasonable.
  *
+ * Remember that this does not unref the loader, so if you plan not to
+ * use it anymore, please g_object_unref() it.
+ *
  * Returns: %TRUE if all image data written so far was successfully
             passed out via the update_area signal
  **/



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