[gdk-pixbuf] doc: Fix gtk-doc warning



commit d16ffa80db616fd6229137514faa1348cf0064cf
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Oct 21 19:51:45 2014 +0200

    doc: Fix gtk-doc warning
    
    gdk-pixbuf.c:663: Warning: GdkPixbuf: GObject-Introspection specific
    GTK-Doc tag "Rename to" has been deprecated, please use annotations on
    the identifier instead.

 gdk-pixbuf/gdk-pixbuf.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/gdk-pixbuf/gdk-pixbuf.c b/gdk-pixbuf/gdk-pixbuf.c
index b17190b..f1e7f8b 100644
--- a/gdk-pixbuf/gdk-pixbuf.c
+++ b/gdk-pixbuf/gdk-pixbuf.c
@@ -647,7 +647,7 @@ gdk_pixbuf_get_pixels (const GdkPixbuf *pixbuf)
 }
 
 /**
- * gdk_pixbuf_get_pixels_with_length:
+ * gdk_pixbuf_get_pixels_with_length: (rename-to gdk_pixbuf_get_pixels)
  * @pixbuf: A pixbuf.
  * @length: (out): The length of the binary data.
  *
@@ -660,8 +660,6 @@ gdk_pixbuf_get_pixels (const GdkPixbuf *pixbuf)
  * This function will cause an implicit copy of the pixbuf data if the
  * pixbuf was created from read-only data.
  *
- * Rename to: gdk_pixbuf_get_pixels
- *
  * Since: 2.26
  */
 guchar *


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