summaryrefslogtreecommitdiff
path: root/gck
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2015-03-05 09:17:41 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2015-03-05 09:18:00 +0100
commit05ab60fb80ec9e1eafb6859f050de32269cdddc2 (patch)
tree7b7259b88e0e441511ddf5e4855b0ab450f3f6a8 /gck
parentfb147611190bd2f18471f7d099c01faa15e691cc (diff)
downloadgcr-05ab60fb80ec9e1eafb6859f050de32269cdddc2.tar.gz
Add (skip) annotation to gck_object_cache_get_attributes
This works around a bug in vala 0.27.1/git master where it would call this method in the implementation of Pkcs11Certificate::set_property in seahorse. This causes an infinite loop as Pkcs11Certificate is an implementation of the GckObjectCacheInterface, so calling gck_object_cache_get_attributes() for ::set_property which in turn calls g_object_set(self, "attributes", value, NULL); is going to loop. This can be reverted once vala is fixed. https://bugzilla.gnome.org/show_bug.cgi?id=745629
Diffstat (limited to 'gck')
-rw-r--r--gck/gck-object-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gck/gck-object-cache.c b/gck/gck-object-cache.c
index 2325bfa..8da15cb 100644
--- a/gck/gck-object-cache.c
+++ b/gck/gck-object-cache.c
@@ -83,7 +83,7 @@ gck_object_cache_default_init (GckObjectCacheIface *iface)
}
/**
- * gck_object_cache_get_attributes:
+ * gck_object_cache_get_attributes: (skip):
* @object: an object with an attribute cache
*
* Gets the attributes cached on this object.