[gcr] Fix return annotation of gcr_parser_get_parsed_block



commit 9a40d87e242193eaebc44b5e4f2251a6db8ebf06
Author: Hashem Nasarat <hashem riseup net>
Date:   Tue Sep 3 06:29:05 2013 -0400

    Fix return annotation of gcr_parser_get_parsed_block
    
    The return of g_bytes_get_data() is transfer none, so it must be the
    same for this function.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=705225

 gcr/gcr-parser.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gcr/gcr-parser.c b/gcr/gcr-parser.c
index 594e66a..1a93f54 100644
--- a/gcr/gcr-parser.c
+++ b/gcr/gcr-parser.c
@@ -2767,7 +2767,7 @@ gcr_parser_get_parsed_block (GcrParser *self,
  *
  * Get the raw data block for the parsed item.
  *
- * Returns: (transfer full) (array length=n_data) (allow-none): the raw data of
+ * Returns: (transfer none) (array length=n_data) (allow-none): the raw data of
  *          the parsed item, or %NULL
  */
 const guchar *



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