diff --git a/plugins/windows-notification/src/win_notification_provider.vala b/plugins/windows-notification/src/win_notification_provider.vala index bec7f59a..5a8aa15a 100644 --- a/plugins/windows-notification/src/win_notification_provider.vala +++ b/plugins/windows-notification/src/win_notification_provider.vala @@ -270,7 +270,7 @@ namespace Dino.Plugins.WindowsNotification { return AtomicUint.add(ref notification_counter, 1); } - private void run_on_ui(DelegateToUi func) { + private void run_on_ui(owned DelegateToUi func) { Idle.add(() => { func(); return false; }, GLib.Priority.HIGH); } }