LibGfx: Remove unused current_system_theme() function

This commit is contained in:
Andreas Kling 2021-05-20 21:26:51 +02:00
parent 4cd8ca07e3
commit 1150e9fe79
Notes: sideshowbarker 2024-07-18 17:40:45 +09:00
2 changed files with 0 additions and 7 deletions

View File

@ -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());

View File

@ -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);