fix: lint

pull/1872/head^2
Alex 2023-07-04 22:35:27 +02:00
parent 18d6dfea88
commit 6c196b8f8d
2 changed files with 10 additions and 9 deletions

View File

@ -1,11 +1,13 @@
#pragma once #pragma once
#include <string>
#include <mutex>
#include <gtkmm/icontheme.h> #include <gtkmm/icontheme.h>
#include <mutex>
#include <string>
class DefaultGtkIconThemeWrapper { class DefaultGtkIconThemeWrapper {
private: private:
static std::mutex default_theme_mutex; static std::mutex default_theme_mutex;
public: public:
static bool has_icon(const std::string&); static bool has_icon(const std::string&);
static Glib::RefPtr<Gdk::Pixbuf> load_icon(const char*, int, Gtk::IconLookupFlags); static Glib::RefPtr<Gdk::Pixbuf> load_icon(const char*, int, Gtk::IconLookupFlags);

View File

@ -20,9 +20,8 @@
#include "glibmm/fileutils.h" #include "glibmm/fileutils.h"
#include "glibmm/refptr.h" #include "glibmm/refptr.h"
#include "util/format.hpp" #include "util/format.hpp"
#include "util/string.hpp"
#include "util/rewrite_string.hpp" #include "util/rewrite_string.hpp"
#include "util/string.hpp"
namespace waybar::modules::wlr { namespace waybar::modules::wlr {