aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpgme-vala
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/gpgme-vala')
-rw-r--r--plugins/gpgme-vala/vapi/gpgme_public.vapi3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/gpgme-vala/vapi/gpgme_public.vapi b/plugins/gpgme-vala/vapi/gpgme_public.vapi
index 942839ac..bcf12569 100644
--- a/plugins/gpgme-vala/vapi/gpgme_public.vapi
+++ b/plugins/gpgme-vala/vapi/gpgme_public.vapi
@@ -27,7 +27,8 @@ public class Key {
[CCode(array_null_terminated = true)]
public UserID[] uids;
public KeylistMode keylist_mode;
- public string fpr;
+ // public string fpr; // requires gpgme >= 1.7.0
+ public string fpr { get { return subkeys[0].fpr; } }
}
[CCode (cname = "struct _gpgme_user_id")]