error: unknown type name ‘HdyStyleManager’ / error: ‘HDY_COLOR_SCHEME_PREFER_DARK’ undeclared
I was compiling Boxes from source when I got this error:
../src/app-window.vala:119.9-119.24: error: The name `StyleManager' does not exist in the context of `Hdy' (libhandy-1)
Hdy.StyleManager.get_default ().color_scheme = PREFER_DARK;
^^^^^^^^^^^^^^^^
So then I built and installed libhandy from source and I now get a new error:
app-window.c: In function ‘boxes_app_window_construct’:
app-window.c:601:2: error: unknown type name ‘HdyStyleManager’
../src/app-window.vala:119:46: error: ‘HDY_COLOR_SCHEME_PREFER_DARK’ undeclared (first use in this function)
119 | Hdy.StyleManager.get_default ().color_scheme = PREFER_DARK;
| ^~~~~~~~~~~~~~~~~~~~~~
../src/app-window.vala:119:46: note: each undeclared identifier is reported only once for each function it appears in
Here is some info about my system:
OS: Arch Linux x86_64
Kernel: 5.16.1-zen1-1-zen