tray, unix: make pointers g_object_ref and g_object_ref_sink static

Fixes:  https://github.com/libsdl-org/SDL/issues/12908.
This commit is contained in:
Ozkan Sezer 2025-04-27 11:55:10 +03:00 committed by Ryan C. Gordon
parent 6f5892e543
commit 016ba86f93
1 changed files with 2 additions and 2 deletions

View File

@ -58,8 +58,8 @@ typedef enum
static gulong (*g_signal_connect_data)(gpointer instance, const gchar *detailed_signal, GCallback c_handler, gpointer data, GClosureNotify destroy_data, GConnectFlags connect_flags);
static void (*g_object_unref)(gpointer object);
static gchar *(*g_mkdtemp)(gchar *template);
gpointer (*g_object_ref_sink)(gpointer object);
gpointer (*g_object_ref)(gpointer object);
static gpointer (*g_object_ref_sink)(gpointer object);
static gpointer (*g_object_ref)(gpointer object);
// glib_typeof requires compiler-specific code and includes that are too complex
// to be worth copy-pasting here