[libsocialweb] introspection: annotations for capabilities
- From: Alban Crequy <albanc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsocialweb] introspection: annotations for capabilities
- Date: Thu, 31 Mar 2011 15:35:01 +0000 (UTC)
commit d7e10c73ffe7bad37c3ca313f301a0e1965fe6e9
Author: Alban Crequy <alban crequy collabora co uk>
Date: Mon Mar 28 15:55:43 2011 +0100
introspection: annotations for capabilities
libsocialweb-client/sw-client-service.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/libsocialweb-client/sw-client-service.c b/libsocialweb-client/sw-client-service.c
index a6cdba1..367911d 100644
--- a/libsocialweb-client/sw-client-service.c
+++ b/libsocialweb-client/sw-client-service.c
@@ -431,7 +431,7 @@ _get_capabilities_cb (DBusGProxy *proxy,
/**
* SwClientServiceGetCapabilitiesCallback:
* @service:
- * @caps:
+ * @caps: (transfer none) (array zero-terminated=1) (element-type char*):
* @error:
* @userdata: (closure):
*/
@@ -1028,6 +1028,12 @@ sw_client_service_get_display_name (SwClientService *service)
return priv->display_name;
}
+/**
+ * sw_client_service_has_cap:
+ * @caps: (transfer none) (array zero-terminated=1) (element-type char*):
+ * @cap:
+ * Returns:
+ */
gboolean
sw_client_service_has_cap (const char **caps, const char *cap)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]