diff options
author | fiaxh <git@mx.ax.lt> | 2017-03-12 02:49:53 +0100 |
---|---|---|
committer | fiaxh <git@mx.ax.lt> | 2017-03-12 02:52:43 +0100 |
commit | 7e1ecb34cb1eca2b74949c7ddc2ad52fb02e3a77 (patch) | |
tree | 1a7a479efffafcf5098798fd5ce8d815bf4503a9 /plugins/gpgme-vala/src/gpgme_fix.c | |
parent | 63fffcddce49e231e82ee60aef4a23a16caa931e (diff) | |
download | dino-7e1ecb34cb1eca2b74949c7ddc2ad52fb02e3a77.tar.gz dino-7e1ecb34cb1eca2b74949c7ddc2ad52fb02e3a77.zip |
Move PGP support into plugin
Diffstat (limited to 'plugins/gpgme-vala/src/gpgme_fix.c')
-rw-r--r-- | plugins/gpgme-vala/src/gpgme_fix.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/gpgme-vala/src/gpgme_fix.c b/plugins/gpgme-vala/src/gpgme_fix.c new file mode 100644 index 00000000..2bc139e9 --- /dev/null +++ b/plugins/gpgme-vala/src/gpgme_fix.c @@ -0,0 +1,12 @@ +#include <gpgme_fix.h> + +static 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; +}
\ No newline at end of file |