[rhythmbox/gobject-introspection] add transfer batch and queue to GI build, add missing annotations



commit 050d40cda9589e64770e303c6c22ac555cc3a8e8
Author: Jonathan Matthew <jonathan d14n org>
Date:   Wed Aug 4 14:13:00 2010 +1000

    add transfer batch and queue to GI build, add missing annotations

 bindings/gi/Makefile.am         |    4 ++++
 shell/rb-track-transfer-batch.c |    2 +-
 shell/rb-track-transfer-queue.c |    2 +-
 3 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/bindings/gi/Makefile.am b/bindings/gi/Makefile.am
index 7964490..f3cf3fd 100644
--- a/bindings/gi/Makefile.am
+++ b/bindings/gi/Makefile.am
@@ -48,6 +48,10 @@ rb_introspection_sources = \
 		shell/rb-play-order.c \
 		shell/rb-plugin.h \
 		shell/rb-plugin.c \
+		shell/rb-track-transfer-batch.c \
+		shell/rb-track-transfer-batch.h \
+		shell/rb-track-transfer-queue.c \
+		shell/rb-track-transfer-queue.h \
 		sources/rb-source.h \
 		sources/rb-source.c \
 		sources/rb-streaming-source.h \
diff --git a/shell/rb-track-transfer-batch.c b/shell/rb-track-transfer-batch.c
index 05020d0..c6cceeb 100644
--- a/shell/rb-track-transfer-batch.c
+++ b/shell/rb-track-transfer-batch.c
@@ -108,7 +108,7 @@ G_DEFINE_TYPE (RBTrackTransferBatch, rb_track_transfer_batch, G_TYPE_OBJECT)
 /**
  * rb_track_transfer_batch_new:
  * @media_types: array containing media type strings describing allowable output formats
- * @media_type_list: GList containing media type strings.
+ * @media_type_list: (element-type utf8): GList containing media type strings.
  * @source: the #RBSource from which the entries are to be transferred
  * @destination: the #RBSource to which the entries are to be transferred
  *
diff --git a/shell/rb-track-transfer-queue.c b/shell/rb-track-transfer-queue.c
index c1a290a..297a6fb 100644
--- a/shell/rb-track-transfer-queue.c
+++ b/shell/rb-track-transfer-queue.c
@@ -547,7 +547,7 @@ find_batches (RBTrackTransferBatch *batch, struct FindBatchData *data)
  * found in the queue, so waiting for the @RBTrackTransferBatch::complete signal
  * on the last one is sufficient to wait for them all to finish.
  *
- * Return value: #GList of #RBTrackTransferBatch objects, not referenced
+ * Return value: (element-type RBTrackTransferBatch) (transfer container): #GList of #RBTrackTransferBatch objects, not referenced
  */
 GList *
 rb_track_transfer_queue_find_batch_by_source (RBTrackTransferQueue *queue, RBSource *source)



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