From 809c52d62dba783c636e7e53bce4420da9005ea0 Mon Sep 17 00:00:00 2001 From: Maxim Slipenko Date: Sat, 7 Dec 2024 13:10:21 +0300 Subject: [PATCH] fix: update to phosh 0.43 API changes See: https://gitlab.gnome.org/World/Phosh/phosh/-/commit/7bca4e8c8831b59487b66f07f8334c0e67a1a9e4 --- meson.build | 2 +- rg552-fancontrol-quick-setting.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index e2a5f02..ef238c1 100644 --- a/meson.build +++ b/meson.build @@ -17,7 +17,7 @@ gtk_dep = dependency('gtk+-3.0', version: '>=3.22') libhandy_dep = dependency('libhandy-1', version: '>=1.1.90', fallback: ['libhandy', 'libhandy_dep'], default_options: ['introspection=disabled']) libnm_dep = dependency('libnm', version: '>=1.14') phosh_plugins_dep = dependency('phosh-plugins', required: true, method: 'pkg-config') -libphosh_dep = dependency('libphosh-0', required: true, method: 'pkg-config') +libphosh_dep = dependency('libphosh-0.43', required: true, method: 'pkg-config') plugin_deps = [ gobject_dep, diff --git a/rg552-fancontrol-quick-setting.c b/rg552-fancontrol-quick-setting.c index 9115171..d526a87 100644 --- a/rg552-fancontrol-quick-setting.c +++ b/rg552-fancontrol-quick-setting.c @@ -8,6 +8,7 @@ #include "rg552-fancontrol-quick-setting.h" #include "quick-setting.h" +#include "status-icon.h" #include "config.h" #include