daemon.c: In function ‘_store_notification’:
daemon.c:912:9: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
912 | g_hash_table_insert(daemon->notification_hash, g_memdup(&id, sizeof(guint)), nt);
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:82,
from /usr/include/glib-2.0/glib/gi18n.h:21,
from daemon.c:31:
/usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here
257 | gpointer g_memdup (gconstpointer mem,
| ^~~~~~~~
daemon.c: In function ‘_notify_daemon_pixbuf_from_data_hint’:
daemon.c:953:9: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
953 | data = (guchar *) g_memdup (g_variant_get_data (data_variant), (guint) data_size);
| ^~~~
In file included from /usr/include/glib-2.0/glib.h:82,
from /usr/include/glib-2.0/glib/gi18n.h:21,
from daemon.c:31:
/usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here
257 | gpointer g_memdup (gconstpointer mem,
| ^~~~~~~~