aboutsummaryrefslogtreecommitdiff
path: root/gpgme-vala/vapi/gpgme.vapi
diff options
context:
space:
mode:
Diffstat (limited to 'gpgme-vala/vapi/gpgme.vapi')
-rw-r--r--gpgme-vala/vapi/gpgme.vapi2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpgme-vala/vapi/gpgme.vapi b/gpgme-vala/vapi/gpgme.vapi
index 8c942f4b..48d11b8c 100644
--- a/gpgme-vala/vapi/gpgme.vapi
+++ b/gpgme-vala/vapi/gpgme.vapi
@@ -267,7 +267,7 @@ namespace GPG {
public static Context create() throws GLib.Error {
Context ctx;
- @new(out ctx);
+ throw_if_error(@new(out ctx));
return ctx;
}