mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-03 04:24:41 +00:00
Updated documentation for SDL_HINT_SHUTDOWN_DBUS_ON_QUIT
This commit is contained in:
@@ -184,9 +184,10 @@ void SDL_DBus_Quit(void)
|
||||
dbus.connection_unref(dbus.session_conn);
|
||||
}
|
||||
|
||||
SDL_bool q = SDL_GetHintBoolean(SDL_HINT_SHUTDOWN_DBUS_ON_QUIT, SDL_FALSE);
|
||||
if (q == SDL_TRUE && dbus.shutdown) {
|
||||
dbus.shutdown();
|
||||
if (SDL_GetHintBoolean(SDL_HINT_SHUTDOWN_DBUS_ON_QUIT, SDL_FALSE)) {
|
||||
if (dbus.shutdown) {
|
||||
dbus.shutdown();
|
||||
}
|
||||
}
|
||||
|
||||
SDL_zero(dbus);
|
||||
|
||||
Reference in New Issue
Block a user