pidgin: 11e7ee04: G_CONST_RETURN has been deprecated, use ...
grim at pidgin.im
grim at pidgin.im
Sun Dec 4 17:15:53 EST 2011
----------------------------------------------------------------------
Revision: 11e7ee045ef2505f4215dd05ca8d6c8735e81ab6
Parent: 06fc551ad489e941a112165cfaa417af46dfb192
Author: grim at pidgin.im
Date: 12/04/11 17:11:15
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/11e7ee045ef2505f4215dd05ca8d6c8735e81ab6
Changelog:
G_CONST_RETURN has been deprecated, use const instead
Changes against parent 06fc551ad489e941a112165cfaa417af46dfb192
patched libpurple/util.c
patched libpurple/util.h
-------------- next part --------------
============================================================
--- libpurple/util.c 9c097cca626e0ac88400a951e255522cb40481be
+++ libpurple/util.c 977b931ade073dfc289b500ab941741d7e97c1b8
@@ -4637,7 +4637,7 @@ purple_utf8_strip_unprintables(const gch
* This function is copied from g_strerror() but changed to use
* gai_strerror().
*/
-G_CONST_RETURN gchar *
+const gchar *
purple_gai_strerror(gint errnum)
{
static GStaticPrivate msg_private = G_STATIC_PRIVATE_INIT;
============================================================
--- libpurple/util.h d791963c8a0f547b414cf0665d68c42ce3ef43d2
+++ libpurple/util.h 44d8b59f9e919c1bdb5be60237127d26c3642e3c
@@ -1344,7 +1344,7 @@ gchar *purple_utf8_strip_unprintables(co
*
* @return The UTF-8 error message.
*/
-G_CONST_RETURN gchar *purple_gai_strerror(gint errnum);
+const gchar *purple_gai_strerror(gint errnum);
/**
* Compares two UTF-8 strings case-insensitively. This comparison is
More information about the Commits
mailing list