[gnome-autoar/wip/lantw/autoar-0.2: 10/11] AutoarCompressor: Add missing element-type annotations for GList



commit dcf6b3e88e445918ea88b58b67dcc5bac3485aa4
Author: Ting-Wei Lan <lantw src gnome org>
Date:   Mon Feb 6 01:31:39 2017 +0800

    AutoarCompressor: Add missing element-type annotations for GList
    
    This issue is reported by 'g-ir-scanner --warn-all'.

 gnome-autoar/autoar-compressor.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnome-autoar/autoar-compressor.c b/gnome-autoar/autoar-compressor.c
index c1f9678..fe7e6ec 100644
--- a/gnome-autoar/autoar-compressor.c
+++ b/gnome-autoar/autoar-compressor.c
@@ -244,7 +244,7 @@ autoar_compressor_set_property (GObject      *object,
  *
  * Gets the list of source files.
  *
- * Returns: (transfer none): a #GList with the source files
+ * Returns: (element-type GFile) (transfer none): a #GList with the source files
  **/
 GList*
 autoar_compressor_get_source_files (AutoarCompressor *self)
@@ -1263,7 +1263,7 @@ autoar_compressor_init (AutoarCompressor *self)
 
 /**
  * autoar_compressor_new:
- * @source_files: a #GList of source #GFiles to be archived
+ * @source_files: (element-type GFile): a #GList of source #GFiles to be archived
  * @output_file: output directory of the new archive, or the file name of the
  * new archive if you set #AutoarCompressor:output-is-dest on the returned object
  * @format: the compression format


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