[libgdata] [introspection] Add (out) annotations to GDate parameters



commit bd975321486b9366e4c0ff80ec3419a8818f2147
Author: Philip Withnall <philip tecnocode co uk>
Date:   Tue Aug 3 22:34:30 2010 +0100

    [introspection] Add (out) annotations to GDate parameters

 gdata/gcontact/gdata-gcontact-event.c            |    2 +-
 gdata/services/contacts/gdata-contacts-contact.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdata/gcontact/gdata-gcontact-event.c b/gdata/gcontact/gdata-gcontact-event.c
index 62c9305..1dcb034 100644
--- a/gdata/gcontact/gdata-gcontact-event.c
+++ b/gdata/gcontact/gdata-gcontact-event.c
@@ -331,7 +331,7 @@ gdata_gcontact_event_new (const GDate *date, const gchar *relation_type, const g
 /**
  * gdata_gcontact_event_get_date:
  * @self: a #GDataGContactEvent
- * @date: return location for the date of the event
+ * @date: (out caller-allocates): return location for the date of the event
  *
  * Gets the #GDataGContactEvent:date property.
  *
diff --git a/gdata/services/contacts/gdata-contacts-contact.c b/gdata/services/contacts/gdata-contacts-contact.c
index 358287b..3efe88d 100644
--- a/gdata/services/contacts/gdata-contacts-contact.c
+++ b/gdata/services/contacts/gdata-contacts-contact.c
@@ -1152,7 +1152,7 @@ gdata_contacts_contact_set_nickname (GDataContactsContact *self, const gchar *ni
 /**
  * gdata_contacts_contact_get_birthday:
  * @self: a #GDataContactsContact
- * @birthday: return location for the birthday, or %NULL
+ * @birthday: (allow-none) (out caller-allocates): return location for the birthday, or %NULL
  *
  * Gets the #GDataContactsContact:birthday and #GDataContactsContact:birthday-has-year properties. If @birthday is non-%NULL,
  * #GDataContactsContact:birthday is returned in it. The function returns the value of #GDataContactsContact:birthday-has-year,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]