do sgpgme_init() after prefs_gpg_init() because prefs are used in sgpgme_init()
authorPaul <paul@claws-mail.org>
Fri, 21 Aug 2015 11:05:59 +0000 (12:05 +0100)
committerPaul <paul@claws-mail.org>
Fri, 21 Aug 2015 11:05:59 +0000 (12:05 +0100)
src/plugins/pgpcore/plugin.c

index 1ba95e6..a11c211 100644 (file)
@@ -42,8 +42,8 @@ gint plugin_init(gchar **error)
                                VERSION_NUMERIC, PLUGIN_NAME, error))
                return -1;
 
-       sgpgme_init();
        prefs_gpg_init();
+       sgpgme_init();
        sgpgme_check_create_key();
        pgp_viewer_init();
        autocompletion_init(error);