From 1c156e8c9f554bed4fa41558380847057c08a64b Mon Sep 17 00:00:00 2001 From: LAGonauta Date: Mon, 9 Oct 2023 10:54:55 -0400 Subject: [PATCH] Fix GPGME --- plugins/openpgp/vapi/gpgme.vapi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/openpgp/vapi/gpgme.vapi b/plugins/openpgp/vapi/gpgme.vapi index 2fc27c65..4f09b705 100644 --- a/plugins/openpgp/vapi/gpgme.vapi +++ b/plugins/openpgp/vapi/gpgme.vapi @@ -665,6 +665,9 @@ namespace GPG { [CCode (cname = "gpgme_strerror")] public unowned string strerror(GPGError.Error err); + [CCode (cname = "gpgme_set_global_flag")] + public int set_global_flag(string name, string value); + private void throw_if_error(GPGError.Error error) throws GLib.Error { if (error.code != GPGError.ErrorCode.NO_ERROR) { throw new GLib.Error(-1, error.code, "%s", error.to_string());