From 6c196b8f8deed2199e94955dc8e70d58ac9a796a Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 4 Jul 2023 22:35:27 +0200 Subject: [PATCH] fix: lint --- include/util/gtk_icon.hpp | 16 +++++++++------- src/modules/wlr/taskbar.cpp | 3 +-- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/include/util/gtk_icon.hpp b/include/util/gtk_icon.hpp index 67261c1..44555f6 100644 --- a/include/util/gtk_icon.hpp +++ b/include/util/gtk_icon.hpp @@ -1,12 +1,14 @@ #pragma once -#include -#include #include +#include +#include + class DefaultGtkIconThemeWrapper { - private: - static std::mutex default_theme_mutex; - public: - static bool has_icon(const std::string&); - static Glib::RefPtr load_icon(const char*, int, Gtk::IconLookupFlags); + private: + static std::mutex default_theme_mutex; + + public: + static bool has_icon(const std::string&); + static Glib::RefPtr load_icon(const char*, int, Gtk::IconLookupFlags); }; diff --git a/src/modules/wlr/taskbar.cpp b/src/modules/wlr/taskbar.cpp index 3a071b9..9e09d7a 100644 --- a/src/modules/wlr/taskbar.cpp +++ b/src/modules/wlr/taskbar.cpp @@ -20,9 +20,8 @@ #include "glibmm/fileutils.h" #include "glibmm/refptr.h" #include "util/format.hpp" -#include "util/string.hpp" - #include "util/rewrite_string.hpp" +#include "util/string.hpp" namespace waybar::modules::wlr {