diff options
author | Javier Jardón <jjardon@gnome.org> | 2011-06-09 16:52:42 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2011-06-09 16:53:28 +0100 |
commit | 4af8711c23d3908705e9bb2f5120e6163d37d0d9 (patch) | |
tree | 90f1b5638f7b2e9836a57f8800d9ab506f7f7045 | |
parent | d0dc4bd8ba75dc1884999af12064b0e4b2311be7 (diff) | |
download | gdk-pixbuf-4af8711c23d3908705e9bb2f5120e6163d37d0d9.tar.gz |
all: Use "const" instead G_CONST_RETURN
-rw-r--r-- | gdk-pixbuf/gdk-pixbuf-core.h | 2 | ||||
-rw-r--r-- | 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 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) { |