[evolution-data-server/wip/tintou/edata-book-annotations: 2/2] [EDataBook] Enforce EBookBackend type



commit 7613c01795160f553e19aec21e5a02e107143d7f
Author: Corentin Noël <corentin elementary io>
Date:   Fri Feb 8 10:35:15 2019 +0100

    [EDataBook] Enforce EBookBackend type

 src/addressbook/libedata-book/e-data-book-cursor.c | 2 +-
 src/addressbook/libedata-book/e-data-book-view.c   | 4 ++--
 src/addressbook/libedata-book/e-data-book.c        | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/addressbook/libedata-book/e-data-book-cursor.c 
b/src/addressbook/libedata-book/e-data-book-cursor.c
index 132e62dd1..9b230c420 100644
--- a/src/addressbook/libedata-book/e-data-book-cursor.c
+++ b/src/addressbook/libedata-book/e-data-book-cursor.c
@@ -689,7 +689,7 @@ data_book_cursor_handle_dispose (EDBusAddressBookCursor *dbus_object,
  *
  * Gets the backend which created and owns @cursor.
  *
- * Returns: (transfer none): The #EBookBackend owning @cursor.
+ * Returns: (transfer none) (type EBookBackend): The #EBookBackend owning @cursor.
  *
  * Since: 3.12
  */
diff --git a/src/addressbook/libedata-book/e-data-book-view.c 
b/src/addressbook/libedata-book/e-data-book-view.c
index 5ade56d77..ddaa5bdb5 100644
--- a/src/addressbook/libedata-book/e-data-book-view.c
+++ b/src/addressbook/libedata-book/e-data-book-view.c
@@ -653,7 +653,7 @@ e_data_book_view_init (EDataBookView *view)
 
 /**
  * e_data_book_view_new:
- * @backend: an #EBookBackend
+ * @backend: (type EBookBackend): an #EBookBackend
  * @sexp: an #EBookBackendSExp
  * @connection: a #GDBusConnection
  * @object_path: an object path for the view
@@ -691,7 +691,7 @@ e_data_book_view_new (EBookBackend *backend,
  *
  * Gets the backend that @view is querying.
  *
- * Returns: The associated #EBookBackend.
+ * Returns: (type EBookBackend) (transfer none): The associated #EBookBackend.
  **/
 EBookBackend *
 e_data_book_view_get_backend (EDataBookView *view)
diff --git a/src/addressbook/libedata-book/e-data-book.c b/src/addressbook/libedata-book/e-data-book.c
index 9bc2288e7..ac381ff7a 100644
--- a/src/addressbook/libedata-book/e-data-book.c
+++ b/src/addressbook/libedata-book/e-data-book.c
@@ -2251,7 +2251,7 @@ e_data_book_init (EDataBook *data_book)
 
 /**
  * e_data_book_new:
- * @backend: an #EBookBackend
+ * @backend: (type EBookBackend): an #EBookBackend
  * @connection: a #GDBusConnection
  * @object_path: object path for the D-Bus interface
  * @error: return location for a #GError, or %NULL
@@ -2291,7 +2291,7 @@ e_data_book_new (EBookBackend *backend,
  * The returned #EBookBackend is referenced for thread-safety and should
  * be unreferenced with g_object_unref() when finished with it.
  *
- * Returns: an #EBookBackend
+ * Returns: (transfer full) (type EBookBackend): an #EBookBackend
  *
  * Since: 3.10
  **/


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