diff --git a/Userland/Libraries/LibCore/ConfigFile.cpp b/Userland/Libraries/LibCore/ConfigFile.cpp index b8474ca37f..d604c05e25 100644 --- a/Userland/Libraries/LibCore/ConfigFile.cpp +++ b/Userland/Libraries/LibCore/ConfigFile.cpp @@ -176,11 +176,6 @@ void ConfigFile::write_bool_entry(String const& group, String const& key, bool v write_entry(group, key, value ? "true" : "false"); } -void ConfigFile::write_color_entry(String const& group, String const& key, Color value) -{ - write_entry(group, key, String::formatted("{},{},{},{}", value.red(), value.green(), value.blue(), value.alpha())); -} - ErrorOr ConfigFile::sync() { if (!m_dirty) diff --git a/Userland/Libraries/LibCore/ConfigFile.h b/Userland/Libraries/LibCore/ConfigFile.h index efb577376e..364d9e86cc 100644 --- a/Userland/Libraries/LibCore/ConfigFile.h +++ b/Userland/Libraries/LibCore/ConfigFile.h @@ -15,7 +15,6 @@ #include #include #include -#include namespace Core { @@ -48,7 +47,6 @@ public: void write_entry(String const& group, String const& key, String const& value); void write_num_entry(String const& group, String const& key, int value); void write_bool_entry(String const& group, String const& key, bool value); - void write_color_entry(String const& group, String const& key, Color value); void dump() const; diff --git a/Userland/Services/WindowServer/ScreenBackend.h b/Userland/Services/WindowServer/ScreenBackend.h index 4e76095066..36dae86249 100644 --- a/Userland/Services/WindowServer/ScreenBackend.h +++ b/Userland/Services/WindowServer/ScreenBackend.h @@ -9,6 +9,7 @@ #include "ScreenLayout.h" #include #include +#include #include namespace WindowServer {