[rhythmbox] rhythmdb: fix transfer annotations for entry lookup functions



commit 4775ac19b472c0edeb87cb2c79de2cc9663ae2f7
Author: Jonathan Matthew <jonathan d14n org>
Date:   Sun Nov 2 16:06:43 2014 +1000

    rhythmdb: fix transfer annotations for entry lookup functions

 rhythmdb/rhythmdb.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/rhythmdb/rhythmdb.c b/rhythmdb/rhythmdb.c
index a4fab03..98c8da1 100644
--- a/rhythmdb/rhythmdb.c
+++ b/rhythmdb/rhythmdb.c
@@ -3887,7 +3887,7 @@ rhythmdb_propid_from_nice_elt_name (RhythmDB *db,
  *
  * Looks up the entry with location @uri.
  *
- * Returns: the entry with location @uri, or NULL if no such entry exists.
+ * Returns: (transfer none): the entry with location @uri, or NULL if no such entry exists.
  */
 RhythmDBEntry *
 rhythmdb_entry_lookup_by_location (RhythmDB *db,
@@ -3910,7 +3910,7 @@ rhythmdb_entry_lookup_by_location (RhythmDB *db,
  *
  * Looks up the entry with location @uri.
  *
- * Returns: the entry with location @uri, or NULL if no such entry exists.
+ * Returns: (transfer none): the entry with location @uri, or NULL if no such entry exists.
  */
 RhythmDBEntry *
 rhythmdb_entry_lookup_by_location_refstring (RhythmDB *db,
@@ -3928,7 +3928,7 @@ rhythmdb_entry_lookup_by_location_refstring (RhythmDB *db,
  *
  * Looks up the entry with id @id.
  *
- * Returns: the entry with id @id, or NULL if no such entry exists.
+ * Returns: (transfer none): the entry with id @id, or NULL if no such entry exists.
  */
 RhythmDBEntry *
 rhythmdb_entry_lookup_by_id (RhythmDB *db,
@@ -3948,7 +3948,7 @@ rhythmdb_entry_lookup_by_id (RhythmDB *db,
  * Locates an entry using a string containing either an entry ID
  * or a location.
  *
- * Returns: the entry matching the string, or NULL if no such entry exists.
+ * Returns: (transfer none): the entry matching the string, or NULL if no such entry exists.
  */
 RhythmDBEntry *
 rhythmdb_entry_lookup_from_string (RhythmDB *db,


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