Fix every inclusion of gpgme_fix.h
getting their own mutex
This commit is contained in:
parent
c2efb214af
commit
dd0038f5e2
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue