aboutsummaryrefslogtreecommitdiff
path: root/plugins/openpgp/src
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2019-03-15 20:56:19 +0100
committerfiaxh <git@lightrise.org>2019-03-15 22:01:34 +0100
commit6f6e4b97cba49469440fc0aefafb71623a3eabb9 (patch)
treee5a11627d5d34a9eac9ad50ee0822a05fe7b91bf /plugins/openpgp/src
parenta49326979140750cc22cf483182274638568e43d (diff)
downloaddino-6f6e4b97cba49469440fc0aefafb71623a3eabb9.tar.gz
dino-6f6e4b97cba49469440fc0aefafb71623a3eabb9.zip
Use glib log functions
Diffstat (limited to 'plugins/openpgp/src')
-rw-r--r--plugins/openpgp/src/stream_module.vala2
1 files changed, 1 insertions, 1 deletions
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);