mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 10:48:41 +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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user