mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-11 01:06:01 +03:00
LibGfx: Remove unused current_system_theme() function
This commit is contained in:
parent
4cd8ca07e3
commit
1150e9fe79
Notes:
sideshowbarker
2024-07-18 17:40:45 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/1150e9fe798
@ -14,12 +14,6 @@ static SystemTheme dummy_theme;
|
||||
static const SystemTheme* theme_page = &dummy_theme;
|
||||
static Core::AnonymousBuffer theme_buffer;
|
||||
|
||||
const SystemTheme& current_system_theme()
|
||||
{
|
||||
VERIFY(theme_page);
|
||||
return *theme_page;
|
||||
}
|
||||
|
||||
Core::AnonymousBuffer& current_system_theme_buffer()
|
||||
{
|
||||
VERIFY(theme_buffer.is_valid());
|
||||
|
@ -140,7 +140,6 @@ struct SystemTheme {
|
||||
char path[(int)PathRole::__Count][256]; // TODO: PATH_MAX?
|
||||
};
|
||||
|
||||
const SystemTheme& current_system_theme();
|
||||
Core::AnonymousBuffer& current_system_theme_buffer();
|
||||
void set_system_theme(Core::AnonymousBuffer);
|
||||
Core::AnonymousBuffer load_system_theme(const String& path);
|
||||
|
Loading…
Reference in New Issue
Block a user