changeset 25730:e4261bc6788d

Fixed a compile warning.
author Mike Ruprecht <maiku@soc.pidgin.im>
date Wed, 20 Aug 2008 22:49:35 +0000
parents e22bcca9f2b2
children ba609f368dc8
files libpurple/media.c libpurple/media.h
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/media.c	Mon Aug 18 06:31:08 2008 +0000
+++ b/libpurple/media.c	Wed Aug 20 22:49:35 2008 +0000
@@ -636,10 +636,10 @@
 	return gc;
 }
 
-const char *
+char *
 purple_media_get_screenname(PurpleMedia *media)
 {
-	const char *ret;
+	char *ret;
 	g_object_get(G_OBJECT(media), "screenname", &ret, NULL);
 	return ret;
 }
--- a/libpurple/media.h	Mon Aug 18 06:31:08 2008 +0000
+++ b/libpurple/media.h	Wed Aug 20 22:49:35 2008 +0000
@@ -226,7 +226,7 @@
  *
  * @return The retrieved screenname.
  */
-const char *purple_media_get_screenname(PurpleMedia *media);
+char *purple_media_get_screenname(PurpleMedia *media);
 
 /**
  * Set the media session to the ready state.