build: require gio-unix-2.0 unconditionally

We already use it without checking (`<gio/gdesktopappinfo.h>` in
wlr/taskbar), it's a transitive dependency of GTK and it's always
available on Unix platforms.
This commit is contained in:
Aleksei Bavshin
2024-02-16 23:30:00 -08:00
parent 104accdc34
commit 72406fa3f2
3 changed files with 10 additions and 17 deletions

View File

@ -178,10 +178,10 @@ waybar::AModule* waybar::Factory::makeModule(const std::string& name,
return new waybar::modules::Sndio(id, config_[name]);
}
#endif
#ifdef HAVE_GIO_UNIX
if (ref == "bluetooth") {
return new waybar::modules::Bluetooth(id, config_[name]);
}
#ifdef HAVE_LOGIND_INHIBITOR
if (ref == "inhibitor") {
return new waybar::modules::Inhibitor(id, bar_, config_[name]);
}