mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-13 13:29:58 -05:00
proplist-util: Drop deprecated G_CONST_RETURN macro
The preference in glib is now to just use the const qualifier directly.
This commit is contained in:
parent
d1e0594e93
commit
b546beef21
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue