summaryrefslogtreecommitdiff
path: root/gck
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2012-12-22 13:18:59 +0100
committerStef Walter <stefw@gnome.org>2012-12-22 13:18:59 +0100
commit40a38a3bd94f54e098756f8947819b48da81009f (patch)
tree375395c4ac4fac6b41fc7446289047b96a54d4ef /gck
parent3870cec6d6c01d84151aa933c614d09610a8037b (diff)
Fix annotation warnings
Add annotations for gck_slot_get_mechanism()
Diffstat (limited to 'gck')
-rw-r--r--gck/gck-slot.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gck/gck-slot.c b/gck/gck-slot.c
index 7dd3c2a..5b3580a 100644
--- a/gck/gck-slot.c
+++ b/gck/gck-slot.c
@@ -404,7 +404,8 @@ gck_mechanism_info_free (GckMechanismInfo *mech_info)
/**
* gck_mechanisms_check:
- * @mechanisms: A list of mechanisms, perhaps retrieved from gck_slot_get_mechanisms().
+ * @mechanisms: (element-type ulong): A list of mechanisms, perhaps
+ * retrieved from gck_slot_get_mechanisms().
* @...: A list of mechanism types followed by GCK_INVALID.
*
* Check whether all the mechanism types are in the list.
@@ -744,8 +745,8 @@ gck_slot_get_token_info (GckSlot *self)
*
* Get the available mechanisms for this slot.
*
- * Returns: (transfer full): a list of the mechanisms for this slot, which should
- * be freed with g_array_free ()
+ * Returns: (transfer full) (element-type ulong): a list of the mechanisms
+ * for this slot, which should be freed with g_array_free ()
**/
GArray *
gck_slot_get_mechanisms (GckSlot *self)