aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpgme-vala/vapi/gpgme.vapi
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/gpgme-vala/vapi/gpgme.vapi')
-rw-r--r--plugins/gpgme-vala/vapi/gpgme.vapi2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gpgme-vala/vapi/gpgme.vapi b/plugins/gpgme-vala/vapi/gpgme.vapi
index 48d11b8c..0b14185c 100644
--- a/plugins/gpgme-vala/vapi/gpgme.vapi
+++ b/plugins/gpgme-vala/vapi/gpgme.vapi
@@ -506,7 +506,7 @@ namespace GPG {
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, error.to_string());
+ throw new GLib.Error(-1, error.code, "%s", error.to_string());
}
}
}