From 198bce4a841e6b37ea3781523278d7757d210d56 Mon Sep 17 00:00:00 2001 From: LAGonauta Date: Sun, 25 Oct 2020 11:46:11 -0300 Subject: [PATCH] Allow null image_path --- plugins/windows-notification/src/wintoast.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/windows-notification/src/wintoast.vala b/plugins/windows-notification/src/wintoast.vala index 35e77f3d..050d8d73 100644 --- a/plugins/windows-notification/src/wintoast.vala +++ b/plugins/windows-notification/src/wintoast.vala @@ -40,7 +40,7 @@ namespace Dino.Plugins.WindowsNotification { } } - public bool show_message(string sender, string message, string image_path, int conv_id, void* class_obj, NotificationCallback callback) { + public bool show_message(string sender, string message, string? image_path, int conv_id, void* class_obj, NotificationCallback callback) { if (valid && library_show_message != null) { return library_show_message(sender, message, image_path, conv_id, class_obj, callback) == 0; }