From f28aaac6dae73d87ce85a6525a5491bd0cda7a52 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Wed, 7 Oct 2020 22:14:00 +0200 Subject: Fix compilation for older vala compilers --- main/src/ui/conversation_content_view/file_widget.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/src/ui/conversation_content_view') diff --git a/main/src/ui/conversation_content_view/file_widget.vala b/main/src/ui/conversation_content_view/file_widget.vala index a965db47..9b748876 100644 --- a/main/src/ui/conversation_content_view/file_widget.vala +++ b/main/src/ui/conversation_content_view/file_widget.vala @@ -170,7 +170,7 @@ public class FileDefaultWidgetController : Object { try{ AppInfo.launch_default_for_uri(file_uri, null); } catch (Error err) { - print("Tried to open " + file_uri); + warning("Failed to open %s - %s", file_uri, err.message); } } break; -- cgit v1.2.3-70-g09d2