diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2025-04-04 20:26:02 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2025-04-04 20:26:02 +0200 |
| commit | 28e8900afd96d6aa0035ea8a01c1a7e4fdeb1ced (patch) | |
| tree | 90ae680b2f6c57a9be24f0ddab5baeb2911e0df2 /src/enums.cpp | |
| parent | 17d4b2f4cd0b1f2f7a3fe0948995206a9c64bd00 (diff) | |
| download | libadwaitamm-28e8900afd96d6aa0035ea8a01c1a7e4fdeb1ced.tar.xz libadwaitamm-28e8900afd96d6aa0035ea8a01c1a7e4fdeb1ced.zip | |
adw: move ToastPriority
Diffstat (limited to 'src/enums.cpp')
| -rw-r--r-- | src/enums.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/enums.cpp b/src/enums.cpp index 9891845..9261387 100644 --- a/src/enums.cpp +++ b/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 |
