From e2d801b5f74b60c38a75310066c48468c8a4bc93 Mon Sep 17 00:00:00 2001 From: hrxi Date: Sun, 4 Jun 2023 09:24:16 +0200 Subject: Merge `gpgme-vala` into `openpgp` plugin There's no reason for it to be a statically linked library anymore, it can be directly compiled into the plugin. --- plugins/openpgp/src/gpgme_fix.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 plugins/openpgp/src/gpgme_fix.c (limited to 'plugins/openpgp/src/gpgme_fix.c') diff --git a/plugins/openpgp/src/gpgme_fix.c b/plugins/openpgp/src/gpgme_fix.c new file mode 100644 index 00000000..bf457a6c --- /dev/null +++ b/plugins/openpgp/src/gpgme_fix.c @@ -0,0 +1,12 @@ +#include + +GRecMutex gpgme_global_mutex = {0}; + +gpgme_key_t gpgme_key_ref_vapi (gpgme_key_t key) { + gpgme_key_ref(key); + return key; +} +gpgme_key_t gpgme_key_unref_vapi (gpgme_key_t key) { + gpgme_key_unref(key); + return key; +} -- cgit v1.2.3-54-g00ecf