diff options
author | Gary Kramlich <grim@reaperworld.com> | 2019-10-07 02:30:39 -0500 |
---|---|---|
committer | Gary Kramlich <grim@reaperworld.com> | 2019-10-07 02:30:39 -0500 |
commit | 7995ef6282c8472f89107cca41b27ad280acee0d (patch) | |
tree | 55c9da606f221c7a9e13015800d9b8cecc1f2174 | |
parent | 3dba727bff6a78aa963a31d63127ec966f5aba85 (diff) | |
download | pidgin-7995ef6282c8472f89107cca41b27ad280acee0d.tar.gz |
G_CONST_RETURN has been deprecated for awhile and honestly it's not necessary for us
-rw-r--r-- | libpurple/util.c | 2 | ||||
-rw-r--r-- | libpurple/util.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libpurple/util.c b/libpurple/util.c index d24cb4d7a4..de7346332e 100644 --- a/libpurple/util.c +++ b/libpurple/util.c @@ -4695,7 +4695,7 @@ purple_utf8_strip_unprintables(const gchar *str) * This function is copied from g_strerror() but changed to use * gai_strerror(). */ -G_CONST_RETURN gchar * +const gchar * purple_gai_strerror(gint errnum) { #if GLIB_CHECK_VERSION(2, 32, 0) diff --git a/libpurple/util.h b/libpurple/util.h index d7ae1957ca..f2158b32e5 100644 --- a/libpurple/util.h +++ b/libpurple/util.h @@ -1394,7 +1394,7 @@ gchar *purple_utf8_strip_unprintables(const gchar *str); * @return The UTF-8 error message. * @since 2.4.0 */ -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 |