summaryrefslogtreecommitdiff
path: root/adw/src/enums.cpp
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2025-04-04 20:26:02 +0200
committerFelix Morgner <felix.morgner@gmail.com>2025-04-04 20:26:02 +0200
commit51babee1fc579cd99d32d1b7156ee553ed847339 (patch)
treee009f952487e556e15a65355538b65f051f5b068 /adw/src/enums.cpp
parentcfa7e877aba0dc9dcd4db9d46052d58a3c4db4b6 (diff)
downloadturns-51babee1fc579cd99d32d1b7156ee553ed847339.tar.xz
turns-51babee1fc579cd99d32d1b7156ee553ed847339.zip
adw: move ToastPriority
Diffstat (limited to 'adw/src/enums.cpp')
-rw-r--r--adw/src/enums.cpp4
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