fix: free libnotify notification
This commit is contained in:
parent
6e3ef1f69e
commit
2db8b32890
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue