Revert "Add SDL_IsTraySupported"

This reverts commit 47d8bdd1c3.

There are runtime reasons why creating a tray can fail, so the correct approach is not to assume that just because a platform supports a tray that trays are available. Instead, you should create a tray at application startup, for the lifetime of the application, and handle failures at that point.

Closes https://github.com/libsdl-org/SDL/pull/13632
This commit is contained in:
Sam Lantinga
2025-08-04 10:39:34 -07:00
parent bba6555bf1
commit 9a71e3fd50
8 changed files with 0 additions and 65 deletions

View File

@@ -1278,4 +1278,3 @@
#define SDL_PutAudioStreamPlanarData SDL_PutAudioStreamPlanarData_REAL
#define SDL_GetEventDescription SDL_GetEventDescription_REAL
#define SDL_PutAudioStreamDataNoCopy SDL_PutAudioStreamDataNoCopy_REAL
#define SDL_IsTraySupported SDL_IsTraySupported_REAL