diff options
Diffstat (limited to 'adw/src/enums.cpp')
| -rw-r--r-- | adw/src/enums.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/adw/src/enums.cpp b/adw/src/enums.cpp index 9891845..9261387 100644 --- a/adw/src/enums.cpp +++ b/adw/src/enums.cpp @@ -45,6 +45,9 @@ namespace Adwaita static_assert(matches<ResponseAppearance::Suggested, ADW_RESPONSE_SUGGESTED>); static_assert(matches<ResponseAppearance::Destructive, ADW_RESPONSE_DESTRUCTIVE>); + static_assert(matches<ToastPriority::Normal, ADW_TOAST_PRIORITY_NORMAL>); + static_assert(matches<ToastPriority::High, ADW_TOAST_PRIORITY_HIGH>); + } // namespace Adwaita namespace Glib @@ -60,6 +63,7 @@ namespace Glib VALUE_SPECIALIZATION(LengthType, breakpoint_condition) VALUE_SPECIALIZATION(RatioType, breakpoint_condition) VALUE_SPECIALIZATION(ResponseAppearance, response_appearance) + VALUE_SPECIALIZATION(ToastPriority, toast_priority) #undef VALUE_SPECIALIZATION } // namespace Glib
\ No newline at end of file |
