summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdk-pixbuf/gdk-pixbuf-core.h2
-rw-r--r--gdk-pixbuf/gdk-pixbuf.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-core.h b/gdk-pixbuf/gdk-pixbuf-core.h
index 607e76c66..b2fdc33fe 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 8faa6f502..5d5c06288 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)
{