refactor: Replace all occurencec of gtkmm.h and only use the necessary headers

This commit is contained in:
Robinhuett 2019-01-08 21:05:44 +01:00
parent afa1cc8287
commit 29a2ee1744
9 changed files with 21 additions and 6 deletions

View File

@ -2,6 +2,9 @@
#include <json/json.h>
#include "IModule.hpp"
#include <glibmm/markup.h>
#include <gtkmm/eventbox.h>
#include <gtkmm/label.h>
namespace waybar {

View File

@ -1,6 +1,8 @@
#pragma once
#include <gtkmm.h>
#include <glibmm/dispatcher.h>
#include <gtkmm/box.h>
#include <gtkmm/widget.h>
namespace waybar {

View File

@ -1,7 +1,10 @@
#pragma once
#include <json/json.h>
#include <gtkmm.h>
#include <glibmm/refptr.h>
#include <gtkmm/main.h>
#include <gtkmm/cssprovider.h>
#include <gtkmm/window.h>
#include "wlr-layer-shell-unstable-v1-client-protocol.h"
#include "xdg-output-unstable-v1-client-protocol.h"
#include "IModule.hpp"

View File

@ -1,6 +1,7 @@
#pragma once
#include <gtkmm.h>
#include <glibmm/refptr.h>
#include <giomm.h>
#include <json/json.h>
#include <tuple>
#include <dbus-status-notifier-watcher.h>

View File

@ -1,7 +1,11 @@
#pragma once
#include <dbus-status-notifier-item.h>
#include <gtkmm.h>
#include <glibmm/refptr.h>
#include <gtkmm/eventbox.h>
#include <gtkmm/image.h>
#include <gtkmm/icontheme.h>
#include <gtkmm/menu.h>
#include <json/json.h>
#include <libdbusmenu-gtk/dbusmenu-gtk.h>
#ifdef FILESYSTEM_EXPERIMENTAL

View File

@ -1,6 +1,7 @@
#pragma once
#include <gtkmm.h>
#include <giomm.h>
#include <glibmm/refptr.h>
#include <dbus-status-notifier-watcher.h>
namespace waybar::modules::SNI {

View File

@ -7,6 +7,7 @@
#include "util/json.hpp"
#include "IModule.hpp"
#include "modules/sway/ipc/client.hpp"
#include <gtkmm/button.h>
namespace waybar::modules::sway {

View File

@ -5,7 +5,6 @@
#include <functional>
#include <condition_variable>
#include <thread>
#include <gtkmm.h>
namespace waybar::chrono {

View File

@ -1,6 +1,7 @@
#pragma once
#include <sys/wait.h>
#include <giomm.h>
namespace waybar::util::command {