mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-13 07:14:36 +02:00
Updated documentation for SDL_HINT_SHUTDOWN_DBUS_ON_QUIT
(cherry picked from commit 3deefa6b43)
This commit is contained in:
@@ -187,9 +187,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