aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/conversation_content_view
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2020-10-07 22:14:00 +0200
committerfiaxh <git@lightrise.org>2020-10-07 22:16:41 +0200
commitf28aaac6dae73d87ce85a6525a5491bd0cda7a52 (patch)
treed10755fc5255ee46f7609de74692f938e05e770c /main/src/ui/conversation_content_view
parentd42918b0ab1d132ef1deee44ea6270c47b22d1ba (diff)
downloaddino-f28aaac6dae73d87ce85a6525a5491bd0cda7a52.tar.gz
dino-f28aaac6dae73d87ce85a6525a5491bd0cda7a52.zip
Fix compilation for older vala compilers
Diffstat (limited to 'main/src/ui/conversation_content_view')
-rw-r--r--main/src/ui/conversation_content_view/file_widget.vala2
1 files changed, 1 insertions, 1 deletions
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;