From 96fbbdd8bbe617d2b458f74af45407483b395e37 Mon Sep 17 00:00:00 2001 From: LAGonauta Date: Thu, 10 Jun 2021 20:03:30 -0300 Subject: [PATCH] Use correct generic type for ArrayList Nullable crashes Dino --- .../windows-notification/src/win_notification_provider.vala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/windows-notification/src/win_notification_provider.vala b/plugins/windows-notification/src/win_notification_provider.vala index 722bac1c..68651a55 100644 --- a/plugins/windows-notification/src/win_notification_provider.vala +++ b/plugins/windows-notification/src/win_notification_provider.vala @@ -14,7 +14,7 @@ namespace Dino.Plugins.WindowsNotification { private StreamInteractor stream_interactor; private Dino.Application app; - private Gee.List marked_for_removal; + private Gee.List marked_for_removal; // we must keep a reference to the notification itself or else their actions are disabled private HashMap notifications; @@ -26,8 +26,8 @@ namespace Dino.Plugins.WindowsNotification { this.notifier = notifier; this.stream_interactor = app.stream_interactor; this.app = app; - this.marked_for_removal = new Gee.ArrayList(); - this.content_notifications = new Gee.ArrayList(); + this.marked_for_removal = new Gee.ArrayList(); + this.content_notifications = new Gee.ArrayList(); this.conversation_notifications = new HashMap>(Conversation.hash_func, Conversation.equals_func); this.call_notifications = new HashMap(Call.hash_func, Call.equals_func); this.notifications = new HashMap();