mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-05 09:26:25 +00:00
tray: fixed multi-threading issues with GTk implementation
GTK+ documentation states that all GDK and GTK+ calls should be made from the main thread. Fixes https://github.com/libsdl-org/SDL/issues/11984
This commit is contained in:
@@ -1232,6 +1232,7 @@ SDL3_0.0.0 {
|
||||
SDL_GetThreadState;
|
||||
SDL_AudioStreamDevicePaused;
|
||||
SDL_ClickTrayEntry;
|
||||
SDL_UpdateTrays;
|
||||
# extra symbols go here (don't modify this line)
|
||||
local: *;
|
||||
};
|
||||
|
@@ -1257,3 +1257,4 @@
|
||||
#define SDL_GetThreadState SDL_GetThreadState_REAL
|
||||
#define SDL_AudioStreamDevicePaused SDL_AudioStreamDevicePaused_REAL
|
||||
#define SDL_ClickTrayEntry SDL_ClickTrayEntry_REAL
|
||||
#define SDL_UpdateTrays SDL_UpdateTrays_REAL
|
||||
|
@@ -1265,3 +1265,4 @@ SDL_DYNAPI_PROC(SDL_Tray*,SDL_GetTrayMenuParentTray,(SDL_TrayMenu *a),(a),return
|
||||
SDL_DYNAPI_PROC(SDL_ThreadState,SDL_GetThreadState,(SDL_Thread *a),(a),return)
|
||||
SDL_DYNAPI_PROC(bool,SDL_AudioStreamDevicePaused,(SDL_AudioStream *a),(a),return)
|
||||
SDL_DYNAPI_PROC(void,SDL_ClickTrayEntry,(SDL_TrayEntry *a),(a),)
|
||||
SDL_DYNAPI_PROC(void,SDL_UpdateTrays,(void),(),)
|
||||
|
Reference in New Issue
Block a user