mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-10-31 16:02:43 +01:00 
			
		
		
		
	Merge pull request #140 from Robinhuett/headers
refactor: replace all gtkmm.h includes
This commit is contained in:
		| @@ -2,6 +2,9 @@ | |||||||
|  |  | ||||||
| #include <json/json.h> | #include <json/json.h> | ||||||
| #include "IModule.hpp" | #include "IModule.hpp" | ||||||
|  | #include <glibmm/markup.h> | ||||||
|  | #include <gtkmm/eventbox.h> | ||||||
|  | #include <gtkmm/label.h> | ||||||
|  |  | ||||||
| namespace waybar { | namespace waybar { | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,8 @@ | |||||||
| #pragma once | #pragma once | ||||||
|  |  | ||||||
| #include <gtkmm.h> | #include <glibmm/dispatcher.h> | ||||||
|  | #include <gtkmm/box.h> | ||||||
|  | #include <gtkmm/widget.h> | ||||||
|  |  | ||||||
| namespace waybar { | namespace waybar { | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,7 +1,10 @@ | |||||||
| #pragma once | #pragma once | ||||||
|  |  | ||||||
| #include <json/json.h> | #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 "wlr-layer-shell-unstable-v1-client-protocol.h" | ||||||
| #include "xdg-output-unstable-v1-client-protocol.h" | #include "xdg-output-unstable-v1-client-protocol.h" | ||||||
| #include "IModule.hpp" | #include "IModule.hpp" | ||||||
|   | |||||||
| @@ -1,6 +1,7 @@ | |||||||
| #pragma once | #pragma once | ||||||
|  |  | ||||||
| #include <gtkmm.h> | #include <glibmm/refptr.h> | ||||||
|  | #include <giomm.h> | ||||||
| #include <json/json.h> | #include <json/json.h> | ||||||
| #include <tuple> | #include <tuple> | ||||||
| #include <dbus-status-notifier-watcher.h> | #include <dbus-status-notifier-watcher.h> | ||||||
|   | |||||||
| @@ -1,7 +1,11 @@ | |||||||
| #pragma once | #pragma once | ||||||
|  |  | ||||||
| #include <dbus-status-notifier-item.h> | #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 <json/json.h> | ||||||
| #include <libdbusmenu-gtk/dbusmenu-gtk.h> | #include <libdbusmenu-gtk/dbusmenu-gtk.h> | ||||||
| #ifdef FILESYSTEM_EXPERIMENTAL | #ifdef FILESYSTEM_EXPERIMENTAL | ||||||
|   | |||||||
| @@ -1,6 +1,7 @@ | |||||||
| #pragma once | #pragma once | ||||||
|  |  | ||||||
| #include <gtkmm.h> | #include <giomm.h> | ||||||
|  | #include <glibmm/refptr.h> | ||||||
| #include <dbus-status-notifier-watcher.h> | #include <dbus-status-notifier-watcher.h> | ||||||
|  |  | ||||||
| namespace waybar::modules::SNI { | namespace waybar::modules::SNI { | ||||||
|   | |||||||
| @@ -7,6 +7,7 @@ | |||||||
| #include "util/json.hpp" | #include "util/json.hpp" | ||||||
| #include "IModule.hpp" | #include "IModule.hpp" | ||||||
| #include "modules/sway/ipc/client.hpp" | #include "modules/sway/ipc/client.hpp" | ||||||
|  | #include <gtkmm/button.h> | ||||||
|  |  | ||||||
| namespace waybar::modules::sway { | namespace waybar::modules::sway { | ||||||
|  |  | ||||||
|   | |||||||
| @@ -5,7 +5,6 @@ | |||||||
| #include <functional> | #include <functional> | ||||||
| #include <condition_variable> | #include <condition_variable> | ||||||
| #include <thread> | #include <thread> | ||||||
| #include <gtkmm.h> |  | ||||||
|  |  | ||||||
| namespace waybar::chrono { | namespace waybar::chrono { | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,7 @@ | |||||||
| #pragma once | #pragma once | ||||||
|  |  | ||||||
| #include <sys/wait.h> | #include <sys/wait.h> | ||||||
|  | #include <giomm.h> | ||||||
|  |  | ||||||
| namespace waybar::util::command { | namespace waybar::util::command { | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Alex
					Alex