Parcourir la source

tray, unix: make pointers g_object_ref and g_object_ref_sink static

Fixes:  https://github.com/libsdl-org/SDL/issues/12908.
Ozkan Sezer il y a 4 mois
Parent
commit
016ba86f93
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/tray/unix/SDL_tray.c

+ 2 - 2
src/tray/unix/SDL_tray.c

@@ -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