[evolution-data-server] Introspection: add missing annotations in libebook
- From: Raul Gutierrez Segales <raulgs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Introspection: add missing annotations in libebook
- Date: Sat, 28 May 2011 13:34:14 +0000 (UTC)
commit 09f90043294d5002f39d2df471bc7a69d9ab2063
Author: Raul Gutierrez Segales <raul gutierrez segales collabora co uk>
Date: Sat May 28 14:33:45 2011 +0100
Introspection: add missing annotations in libebook
addressbook/libebook/e-book-client-view.c | 2 +-
addressbook/libebook/e-destination.c | 10 ++++++----
2 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/addressbook/libebook/e-book-client-view.c b/addressbook/libebook/e-book-client-view.c
index 8b99cf2..2c9c970 100644
--- a/addressbook/libebook/e-book-client-view.c
+++ b/addressbook/libebook/e-book-client-view.c
@@ -180,7 +180,7 @@ _e_book_client_view_new (EBookClient *book_client, EGdbusBookView *gdbus_bookvie
*
* Returns the #EBookClient that this book view is monitoring.
*
- * Returns: an #EBookClient.
+ * Returns: (transfer none): an #EBookClient.
**/
EBookClient *
e_book_client_view_get_client (EBookClientView *view)
diff --git a/addressbook/libebook/e-destination.c b/addressbook/libebook/e-destination.c
index b219943..5833de9 100644
--- a/addressbook/libebook/e-destination.c
+++ b/addressbook/libebook/e-destination.c
@@ -178,7 +178,7 @@ e_destination_new (void)
*
* Creates a new #EDestination identical to @dest.
*
- * Returns: A newly created #EDestination, identical to @dest.
+ * Returns: (transfer full): A newly created #EDestination, identical to @dest.
*/
EDestination*
e_destination_copy (const EDestination *dest)
@@ -646,7 +646,7 @@ e_destination_set_auto_recipient (EDestination *dest, gboolean value)
*
* Gets the contact @dest is pointing to, if any.
*
- * Returns: An #EContact, or %NULL if none was set.
+ * Returns: (transfer none): An #EContact, or %NULL if none was set.
**/
EContact *
e_destination_get_contact (const EDestination *dest)
@@ -1420,7 +1420,8 @@ e_destination_export (const EDestination *dest)
*
* Creates an #EDestination from an XML document.
*
- * Returns: An #EDestination, or %NULL if the document was not well-formed.
+ * Returns: (transfer full): An #EDestination, or %NULL if the document was not
+ * well-formed.
**/
EDestination *
e_destination_import (const gchar *str)
@@ -1492,7 +1493,8 @@ e_destination_exportv (EDestination **destv)
* Creates an array of pointers to #EDestination elements
* from an XML document.
*
- * Returns: A %NULL-terminated array of pointers to #EDestination elements.
+ * Returns: (transfer full):A %NULL-terminated array of pointers to
+ * #EDestination elements.
**/
EDestination **
e_destination_importv (const gchar *str)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]