mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-03 01:38:52 +00:00
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:
parent
fa13e1977e
commit
4b15dd2bca
Notes:
sideshowbarker
2024-07-19 15:41:02 +09:00
Author: https://github.com/awesomekling
Commit: 4b15dd2bca
9 changed files with 13 additions and 13 deletions
|
@ -26,9 +26,9 @@ int GApplication::exec()
|
|||
return m_event_loop->exec();
|
||||
}
|
||||
|
||||
void GApplication::exit(int exit_code)
|
||||
void GApplication::quit(int exit_code)
|
||||
{
|
||||
m_event_loop->exit(exit_code);
|
||||
m_event_loop->quit(exit_code);
|
||||
}
|
||||
|
||||
void GApplication::set_menubar(OwnPtr<GMenuBar>&& menubar)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue