aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/gpgme-vala/src/gpgme_fix.c4
-rw-r--r--plugins/gpgme-vala/src/gpgme_fix.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/gpgme-vala/src/gpgme_fix.c b/plugins/gpgme-vala/src/gpgme_fix.c
index 2bc139e9..bf457a6c 100644
--- a/plugins/gpgme-vala/src/gpgme_fix.c
+++ b/plugins/gpgme-vala/src/gpgme_fix.c
@@ -1,6 +1,6 @@
#include <gpgme_fix.h>
-static GRecMutex gpgme_global_mutex = {0};
+GRecMutex gpgme_global_mutex = {0};
gpgme_key_t gpgme_key_ref_vapi (gpgme_key_t key) {
gpgme_key_ref(key);
@@ -9,4 +9,4 @@ gpgme_key_t gpgme_key_ref_vapi (gpgme_key_t key) {
gpgme_key_t gpgme_key_unref_vapi (gpgme_key_t key) {
gpgme_key_unref(key);
return key;
-} \ No newline at end of file
+}
diff --git a/plugins/gpgme-vala/src/gpgme_fix.h b/plugins/gpgme-vala/src/gpgme_fix.h
index 3daa7db0..714614fc 100644
--- a/plugins/gpgme-vala/src/gpgme_fix.h
+++ b/plugins/gpgme-vala/src/gpgme_fix.h
@@ -4,9 +4,9 @@
#include <glib.h>
#include <gpgme.h>
-static GRecMutex gpgme_global_mutex;
+extern GRecMutex gpgme_global_mutex;
gpgme_key_t gpgme_key_ref_vapi (gpgme_key_t key);
gpgme_key_t gpgme_key_unref_vapi (gpgme_key_t key);
-#endif \ No newline at end of file
+#endif