[gdk-pixbuf] all: Use "const" instead G_CONST_RETURN



commit 4af8711c23d3908705e9bb2f5120e6163d37d0d9
Author: Javier Jardón <jjardon gnome org>
Date:   Thu Jun 9 16:52:42 2011 +0100

    all: Use "const" instead G_CONST_RETURN

 gdk-pixbuf/gdk-pixbuf-core.h |    2 +-
 gdk-pixbuf/gdk-pixbuf.c      |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk-pixbuf/gdk-pixbuf-core.h b/gdk-pixbuf/gdk-pixbuf-core.h
index 607e76c..b2fdc33 100644
--- a/gdk-pixbuf/gdk-pixbuf-core.h
+++ b/gdk-pixbuf/gdk-pixbuf-core.h
@@ -452,7 +452,7 @@ void gdk_pixbuf_saturate_and_pixelate (const GdkPixbuf *src,
 /* Transform an image to agree with its embedded orientation option / tag */
 GdkPixbuf *gdk_pixbuf_apply_embedded_orientation (GdkPixbuf *src);
 
-G_CONST_RETURN gchar * gdk_pixbuf_get_option (GdkPixbuf   *pixbuf,
+const gchar * gdk_pixbuf_get_option (GdkPixbuf   *pixbuf,
                                               const gchar *key);
 
 
diff --git a/gdk-pixbuf/gdk-pixbuf.c b/gdk-pixbuf/gdk-pixbuf.c
index 8faa6f5..5d5c062 100644
--- a/gdk-pixbuf/gdk-pixbuf.c
+++ b/gdk-pixbuf/gdk-pixbuf.c
@@ -690,7 +690,7 @@ gdk_pixbuf_fill (GdkPixbuf *pixbuf,
  * Return value: the value associated with @key. This is a nul-terminated 
  * string that should not be freed or %NULL if @key was not found.
  **/
-G_CONST_RETURN gchar *
+const gchar *
 gdk_pixbuf_get_option (GdkPixbuf   *pixbuf,
                        const gchar *key)
 {



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