From b8acc3897f5c48a5fc4ba73921c77cae2e91598c Mon Sep 17 00:00:00 2001 From: Aylur Date: Mon, 2 Sep 2024 19:40:01 +0200 Subject: fix(notifd): urgency getter --- lib/notifd/notification.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/notifd') diff --git a/lib/notifd/notification.vala b/lib/notifd/notification.vala index 0b4af06..66eaccd 100644 --- a/lib/notifd/notification.vala +++ b/lib/notifd/notification.vala @@ -33,7 +33,7 @@ public class AstalNotifd.Notification : Object { public bool transient { get { return get_bool_hint("transient"); } } public int x { get { return get_int_hint("x"); } } public int y { get { return get_int_hint("y"); } } - public Urgency urgency { get { return get_int_hint("urgency"); } } + public Urgency urgency { get { return get_hint("urgency").get_byte(); } } internal Notification( string app_name, -- cgit v1.2.3