[tracker/tracker-0.10] libtracker-miner: Add (transfer x) annotation to some methods
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.10] libtracker-miner: Add (transfer x) annotation to some methods
- Date: Thu, 7 Apr 2011 13:45:52 +0000 (UTC)
commit f972a2e78da8913408805a7643c71c5d45401129
Author: Ivan Frade <ivan frade nokia com>
Date: Thu Mar 24 14:58:54 2011 +0200
libtracker-miner: Add (transfer x) annotation to some methods
g-ir-scanner was warning the lack of those annotations
src/libtracker-miner/tracker-miner-manager.c | 4 ++--
src/libtracker-miner/tracker-miner-object.c | 4 ++--
src/libtracker-miner/tracker-miner-web.c | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-manager.c b/src/libtracker-miner/tracker-miner-manager.c
index b6b89f2..bc4cdf4 100644
--- a/src/libtracker-miner/tracker-miner-manager.c
+++ b/src/libtracker-miner/tracker-miner-manager.c
@@ -617,7 +617,7 @@ 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: a #GSList which must be freed with g_slist_free() and all
+ * Returns: (transfer full): 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.
*
@@ -795,7 +795,7 @@ initialize_miners_data (TrackerMinerManager *manager)
* miners are miners which may or may not be running in a process at
* the current time.
*
- * Returns: a #GSList which must be freed with g_slist_free() and all
+ * Returns: (transfer full): 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.
*
diff --git a/src/libtracker-miner/tracker-miner-object.c b/src/libtracker-miner/tracker-miner-object.c
index 9331fc2..c6f60bb 100644
--- a/src/libtracker-miner/tracker-miner-object.c
+++ b/src/libtracker-miner/tracker-miner-object.c
@@ -870,7 +870,7 @@ tracker_miner_resume (TrackerMiner *miner,
*
* Gets the #TrackerSparqlConnection initialized by @miner
*
- * Returns: a #TrackerSparqlConnection.
+ * Returns: (transfer none): a #TrackerSparqlConnection.
*
* Since: 0.10
**/
@@ -886,7 +886,7 @@ tracker_miner_get_connection (TrackerMiner *miner)
*
* Gets the #GDBusConnection initialized by @miner
*
- * Returns: a #GDBusConnection.
+ * Returns: (transfer none): a #GDBusConnection.
*
* Since: 0.10
**/
diff --git a/src/libtracker-miner/tracker-miner-web.c b/src/libtracker-miner/tracker-miner-web.c
index c61d230..5617973 100644
--- a/src/libtracker-miner/tracker-miner-web.c
+++ b/src/libtracker-miner/tracker-miner-web.c
@@ -514,7 +514,7 @@ tracker_miner_web_authenticate (TrackerMinerWeb *miner,
* of authentication. See <classname>TrackerMinerWebClass</classname>
* for more information.
*
- * Returns: a %GHashTable with the data. On failure @error will be set
+ * Returns: (transfer full): a %GHashTable with the data. On failure @error will be set
* and %NULL will be returned.
*
* Since: 0.8
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]