[atk] atk_streamable_content_get_uri returns a const gchar* not a *gchar



commit 50e0decdf79483d9a1e6d583039ad44748e7d0bb
Author: Javier Jardón <jjardon gnome org>
Date:   Mon Nov 29 21:06:52 2010 +0100

    atk_streamable_content_get_uri returns a const gchar* not a *gchar

 atk/atkstreamablecontent.c |    2 +-
 atk/atkstreamablecontent.h |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/atk/atkstreamablecontent.c b/atk/atkstreamablecontent.c
index 7510245..d9ea07f 100755
--- a/atk/atkstreamablecontent.c
+++ b/atk/atkstreamablecontent.c
@@ -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)
 {
diff --git a/atk/atkstreamablecontent.h b/atk/atkstreamablecontent.h
index b3bd98d..e5271a2 100755
--- a/atk/atkstreamablecontent.h
+++ b/atk/atkstreamablecontent.h
@@ -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
 



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