G_CONST_RETURN has been deprecated for awhile and honestly it's not necessary for us release-2.x.y

Mon, 07 Oct 2019 02:30:39 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Mon, 07 Oct 2019 02:30:39 -0500
branch
release-2.x.y
changeset 39933
e3c4fde8a94a
parent 39735
a8e08676e356
child 39934
9d4485060df8

G_CONST_RETURN has been deprecated for awhile and honestly it's not necessary for us

libpurple/util.c file | annotate | diff | comparison | revisions
libpurple/util.h file | annotate | diff | comparison | revisions
--- a/libpurple/util.c	Fri Aug 02 23:56:19 2019 +0000
+++ b/libpurple/util.c	Mon Oct 07 02:30:39 2019 -0500
@@ -4695,7 +4695,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)
 {
 #if GLIB_CHECK_VERSION(2, 32, 0)
--- a/libpurple/util.h	Fri Aug 02 23:56:19 2019 +0000
+++ b/libpurple/util.h	Mon Oct 07 02:30:39 2019 -0500
@@ -1394,7 +1394,7 @@
  * @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

mercurial