[gcr] Add (skip) annotation to gck_object_cache_get_attributes
- From: Christophe Fergeau <teuf src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcr] Add (skip) annotation to gck_object_cache_get_attributes
- Date: Thu, 5 Mar 2015 09:31:25 +0000 (UTC)
commit 05ab60fb80ec9e1eafb6859f050de32269cdddc2
Author: Christophe Fergeau <cfergeau redhat com>
Date: Thu Mar 5 09:17:41 2015 +0100
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
gck/gck-object-cache.c | 2 +-
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]