From 6f6e4b97cba49469440fc0aefafb71623a3eabb9 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Fri, 15 Mar 2019 20:56:19 +0100 Subject: Use glib log functions --- plugins/openpgp/src/stream_module.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/openpgp') diff --git a/plugins/openpgp/src/stream_module.vala b/plugins/openpgp/src/stream_module.vala index f7c24b80..447ed5fd 100644 --- a/plugins/openpgp/src/stream_module.vala +++ b/plugins/openpgp/src/stream_module.vala @@ -24,7 +24,7 @@ namespace Dino.Plugins.OpenPgp { if (own_key_id != null) { try { own_key = GPGHelper.get_private_key(own_key_id); - if (own_key == null) print("PRIV KEY NULL\n"); + if (own_key == null) warning("Can't get PGP private key"); } catch (Error e) { } if (own_key != null) { signed_status = gpg_sign("", own_key); -- cgit v1.2.3-54-g00ecf