mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibGUI: Move widget registrations to the corresponding cpp file
This gets a lot of unecessary includes out of Widget.cpp. Doing this didn't work before, but improvements in the C library and using dynamic libraries have likely un-broken it :^). Also, move the registration global object to an anonymous namespace. No reason it has to be an extern symbol.
This commit is contained in:
parent
0bf44ac9d8
commit
39908fd569
Notes:
sideshowbarker
2024-07-19 00:11:19 +09:00
Author: https://github.com/ADKaster
Commit: 39908fd569
Pull-request: https://github.com/SerenityOS/serenity/pull/4760
27 changed files with 59 additions and 56 deletions
|
@ -30,6 +30,8 @@
|
|||
#include <LibGUI/ProgressBar.h>
|
||||
#include <LibGfx/Palette.h>
|
||||
|
||||
REGISTER_WIDGET(GUI, ProgressBar)
|
||||
|
||||
namespace GUI {
|
||||
|
||||
ProgressBar::ProgressBar()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue