atk_streamable_content_get_uri returns a const gchar* not a *gchar
authorJavier Jardón <jjardon@gnome.org>
Mon, 29 Nov 2010 20:06:52 +0000 (21:06 +0100)
committerJavier Jardón <jjardon@gnome.org>
Mon, 29 Nov 2010 20:06:52 +0000 (21:06 +0100)
atk/atkstreamablecontent.c
atk/atkstreamablecontent.h

index 7510245..d9ea07f 100755 (executable)
@@ -137,7 +137,7 @@ atk_streamable_content_get_stream (AtkStreamableContent *streamable,
  *
  * Since: 1.12
  **/
-gchar*
+const gchar*
 atk_streamable_content_get_uri (AtkStreamableContent *streamable,
                                const gchar          *mime_type)
 {
index b3bd98d..e5271a2 100755 (executable)
@@ -97,8 +97,8 @@ G_CONST_RETURN gchar*  atk_streamable_content_get_mime_type    (AtkStreamableCon
 GIOChannel*             atk_streamable_content_get_stream       (AtkStreamableContent     *streamable,
                                                                  const gchar              *mime_type);
 
-gchar*                  atk_streamable_content_get_uri          (AtkStreamableContent     *streamable,
-                                                                 const gchar              *mime_type);
+G_CONST_RETURN gchar*  atk_streamable_content_get_uri          (AtkStreamableContent     *streamable,
+                                                                const gchar              *mime_type);
 
 G_END_DECLS