[tracker/tracker-1.0] control/miner: Add some nullable annotations
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-1.0] control/miner: Add some nullable annotations
- Date: Tue, 2 Sep 2014 14:22:14 +0000 (UTC)
commit 75aaa8bb292932eddefbabae4837e3ccb6c9ac93
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 b9d38bd..c0ac9dc 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
@@ -797,8 +797,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 b208731..d5527a2 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -3544,7 +3544,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
@@ -3630,7 +3630,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]