[tracker] control/miner: Add some nullable annotations



commit 6ef1bdc73d7eb51cc20b5863ac3e30dca452fe21
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sat Aug 23 08:14:14 2014 +0200

    control/miner: Add some nullable annotations

 src/libtracker-control/tracker-miner-manager.c |    8 ++++----
 src/libtracker-miner/tracker-miner-fs.c        |    4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/libtracker-control/tracker-miner-manager.c b/src/libtracker-control/tracker-miner-manager.c
index 8928487..0a7c4ea 100644
--- a/src/libtracker-control/tracker-miner-manager.c
+++ b/src/libtracker-control/tracker-miner-manager.c
@@ -615,8 +615,8 @@ tracker_miner_manager_new_full (gboolean   auto_start,
  * Returns a list of references for all active miners. Active miners
  * are miners which are running within a process.
  *
- * Returns: (transfer full) (element-type utf8): a #GSList which must
- * be freed with g_slist_free() and all contained data with g_free().
+ * Returns: (transfer full) (element-type utf8) (nullable): a #GSList which
+ * must be freed with g_slist_free() and all contained data with g_free().
  * Otherwise %NULL is returned if there are no miners.
  *
  * Since: 0.8
@@ -841,8 +841,8 @@ initialize_miners_data (TrackerMinerManager *manager)
  * miners are miners which may or may not be running in a process at
  * the current time.
  *
- * Returns: (transfer full) (element-type utf8): a #GSList which must
- * be freed with g_slist_free() and all contained data with g_free().
+ * Returns: (transfer full) (element-type utf8) (nullable): a #GSList which
+ * must be freed with g_slist_free() and all contained data with g_free().
  * Otherwise %NULL is returned if there are no miners.
  *
  * Since: 0.8
diff --git a/src/libtracker-miner/tracker-miner-fs.c b/src/libtracker-miner/tracker-miner-fs.c
index 805ecd7..69a05ad 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -3809,7 +3809,7 @@ tracker_miner_fs_get_throttle (TrackerMinerFS *fs)
  * If @file is not being currently processed by @fs, or doesn't
  * exist in the store yet, %NULL will be returned.
  *
- * Returns: (transfer none): The URN containing the data associated to @file,
+ * Returns: (transfer none) (nullable): The URN containing the data associated to @file,
  *          or %NULL.
  *
  * Since: 0.8
@@ -3895,7 +3895,7 @@ tracker_miner_fs_query_urn (TrackerMinerFS *fs,
  * children is processed, so most usually this function should
  * return non-%NULL.
  *
- * Returns: (transfer none): The parent folder URN, or %NULL.
+ * Returns: (transfer none) (nullable): The parent folder URN, or %NULL.
  *
  * Since: 0.8
  **/


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