LibGUI: Rename GEventLoop::exit() and GApplication::exit() to quit().

These functions don't exit immediately, but rather on the next iteration
of the event loop.

Since exit() is already used by the standard library, let's call it quit()
instead. That way, saying exit() means the same thing here as anywhere else.
This commit is contained in:
Andreas Kling 2019-02-17 09:58:35 +01:00
parent fa13e1977e
commit 4b15dd2bca
Notes: sideshowbarker 2024-07-19 15:41:02 +09:00
9 changed files with 13 additions and 13 deletions

View file

@ -46,7 +46,7 @@ void GWindow::close()
// FIXME: If we exit the event loop, we're never gonna deal with the delete_later request!
// This will become relevant once we support nested event loops.
if (should_exit_app_on_close())
GEventLoop::main().exit(0);
GEventLoop::main().quit(0);
delete_later();
}