Mercurial > pidgin
changeset 32375:d413405ab2fb
G_CONST_RETURN has been deprecated, use const instead
author | Gary Kramlich <grim@reaperworld.com> |
---|---|
date | Sun, 04 Dec 2011 22:11:15 +0000 |
parents | 7fb1283c859b |
children | 3ed4800c5e17 |
files | libpurple/util.c libpurple/util.h |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/util.c Sun Dec 04 21:12:56 2011 +0000 +++ b/libpurple/util.c Sun Dec 04 22:11:15 2011 +0000 @@ -4637,7 +4637,7 @@ * 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;
--- a/libpurple/util.h Sun Dec 04 21:12:56 2011 +0000 +++ b/libpurple/util.h Sun Dec 04 22:11:15 2011 +0000 @@ -1344,7 +1344,7 @@ * * @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