summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Raghavan <arun@asymptotic.io>2020-07-23 19:36:06 -0400
committerArun Raghavan <arun@arunraghavan.net>2020-11-23 19:02:33 +0000
commitb546beef21d1918b7c08f2d1838ef6f32d7ead73 (patch)
tree62de66fbb1a5f537075561abab67a5e1b626039c
parentd1e0594e939e3309435c966d994b0207b10f5175 (diff)
downloadpulseaudio-b546beef21d1918b7c08f2d1838ef6f32d7ead73.tar.gz
proplist-util: Drop deprecated G_CONST_RETURN macro
The preference in glib is now to just use the const qualifier directly.
-rw-r--r--src/pulsecore/proplist-util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pulsecore/proplist-util.c b/src/pulsecore/proplist-util.c
index f966579b4..16ea9e006 100644
--- a/src/pulsecore/proplist-util.c
+++ b/src/pulsecore/proplist-util.c
@@ -45,14 +45,14 @@ extern char **environ;
#if defined(HAVE_GLIB) && defined(PA_GCC_WEAKREF)
#include <glib.h>
-static G_CONST_RETURN gchar* _g_get_application_name(void) PA_GCC_WEAKREF(g_get_application_name);
+static const gchar* _g_get_application_name(void) PA_GCC_WEAKREF(g_get_application_name);
#endif
#if defined(HAVE_GTK) && defined(PA_GCC_WEAKREF)
#pragma GCC diagnostic ignored "-Wstrict-prototypes"
#include <gtk/gtk.h>
#include <gdk/gdkx.h>
-static G_CONST_RETURN gchar* _gtk_window_get_default_icon_name(void) PA_GCC_WEAKREF(gtk_window_get_default_icon_name);
+static const gchar* _gtk_window_get_default_icon_name(void) PA_GCC_WEAKREF(gtk_window_get_default_icon_name);
static Display *_gdk_display PA_GCC_WEAKREF(gdk_display);
#endif