diff options
Diffstat (limited to 'adw/src/enums.cpp')
| -rw-r--r-- | adw/src/enums.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/adw/src/enums.cpp b/adw/src/enums.cpp index 02dd74a..9da6bc1 100644 --- a/adw/src/enums.cpp +++ b/adw/src/enums.cpp @@ -2,6 +2,7 @@ #include <adwaitamm/stylemanager.hpp> +#include <adwaita.h> #include <glib-object.h> #include <type_traits> @@ -32,6 +33,10 @@ namespace Adwaita static_assert(matches<ColorScheme::PreferDark, ADW_COLOR_SCHEME_PREFER_DARK>); static_assert(matches<ColorScheme::ForceDark, ADW_COLOR_SCHEME_FORCE_DARK>); + static_assert(matches<ResponseAppearance::Default, ADW_RESPONSE_DEFAULT>); + static_assert(matches<ResponseAppearance::Suggested, ADW_RESPONSE_SUGGESTED>); + static_assert(matches<ResponseAppearance::Destructive, ADW_RESPONSE_DESTRUCTIVE>); + } // namespace Adwaita namespace Glib @@ -44,6 +49,7 @@ namespace Glib VALUE_SPECIALIZATION(AccentColor, accent_color) VALUE_SPECIALIZATION(ColorScheme, color_scheme) + VALUE_SPECIALIZATION(ResponseAppearance, response_appearance) #undef VALUE_SPECIALIZATION } // namespace Glib
\ No newline at end of file |
