fix: free libnotify notification

This commit is contained in:
LordMZTE 2023-03-07 18:47:28 +01:00
parent 6e3ef1f69e
commit 2db8b32890
Signed by: LordMZTE
GPG Key ID: B64802DC33A64FF6
1 changed files with 1 additions and 0 deletions

View File

@ -110,6 +110,7 @@ pub fn main() !void {
};
const notif = c.notify_notification_new(title, text, null);
defer c.g_object_unref(notif);
c.notify_notification_set_urgency(notif, @intCast(c_uint, urgency));
_ = c.notify_notification_show(notif, null);
},