mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-04 02:08:53 +00:00
LibCore+LibGUI: Remove GEventLoop and use CEventLoop everywhere
GEventLoop was just a dummy subclass of CEventLoop anyway. The only thing it actually did was make sure a GWindowServerConnectionw was instantiated. We now take care of that in GApplication instead. CEventLoop is now non-virtual and a little less confusing. :^)
This commit is contained in:
parent
edac8704de
commit
34d0e96aec
Notes:
sideshowbarker
2024-07-19 12:00:10 +09:00
Author: https://github.com/awesomekling
Commit: 34d0e96aec
12 changed files with 23 additions and 42 deletions
|
@ -21,7 +21,8 @@ GApplication::GApplication(int argc, char** argv)
|
|||
(void)argv;
|
||||
ASSERT(!s_the);
|
||||
s_the = this;
|
||||
m_event_loop = make<GEventLoop>();
|
||||
m_event_loop = make<CEventLoop>();
|
||||
GWindowServerConnection::the();
|
||||
}
|
||||
|
||||
GApplication::~GApplication()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue