tray, unix: make pointers g_object_ref and g_object_ref_sink static

Fixes:  https://github.com/libsdl-org/SDL/issues/12908.
(cherry picked from commit 016ba86f93)
This commit is contained in:
Ozkan Sezer authored and Sam Lantinga committed 2025-04-27 10:22:18 -07:00
1 parent 01000c73b0
commit 29a4a4a5d1
1 file changed
+2 -2
+2 -2
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 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 void (*g_object_unref)(gpointer object);
static gchar *(*g_mkdtemp)(gchar *template); static gchar *(*g_mkdtemp)(gchar *template);
gpointer (*g_object_ref_sink)(gpointer object); static gpointer (*g_object_ref_sink)(gpointer object);
gpointer (*g_object_ref)(gpointer object); static gpointer (*g_object_ref)(gpointer object);
// glib_typeof requires compiler-specific code and includes that are too complex // glib_typeof requires compiler-specific code and includes that are too complex
// to be worth copy-pasting here // to be worth copy-pasting here