maiku.vv: 9c6f09d1: Fixed a compile warning.

maiku at soc.pidgin.im maiku at soc.pidgin.im
Wed Aug 20 21:50:44 EDT 2008


-----------------------------------------------------------------
Revision: 9c6f09d14c59fb8b3dbe131aa6b023db077afd49
Ancestor: f70eab3c5bc9cf46e1a4244f7e0e47f66707fe4a
Author: maiku at soc.pidgin.im
Date: 2008-08-20T22:49:35
Branch: im.pidgin.maiku.vv
URL: http://d.pidgin.im/viewmtn/revision/info/9c6f09d14c59fb8b3dbe131aa6b023db077afd49

Modified files:
        libpurple/media.c libpurple/media.h

ChangeLog: 

Fixed a compile warning.

-------------- next part --------------
============================================================
--- libpurple/media.c	c83fe6ee9b83f348e7dfd32c5a449076ef7c7b92
+++ libpurple/media.c	52acd7efe75a802a0df6da69f2dfd1e8114b42ab
@@ -636,10 +636,10 @@ purple_media_get_connection(PurpleMedia 
 	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;
 }
============================================================
--- libpurple/media.h	1d5e73fca5994713b56019953ad291b02617ebfc
+++ libpurple/media.h	39c1bbdb7c9009c38332e79a872f5942ac8716d9
@@ -226,7 +226,7 @@ PurpleConnection *purple_media_get_conne
  *
  * @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.


More information about the Commits mailing list