[PATCH 3/7] annotations: Annotated grl-media-source callbacks



Callbacks' GErrors have been annotated with type uint
---
 src/grl-media-source.h |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/grl-media-source.h b/src/grl-media-source.h
index dc1b6d4..f190382 100644
--- a/src/grl-media-source.h
+++ b/src/grl-media-source.h
@@ -85,7 +85,7 @@ struct _GrlMediaSource {
  * @media: a data transfer object
  * @remaining: the number of remaining #GrlMedia to process
  * @user_data: user data passed to the used method
- * @error: (not-error): possible #GError generated at processing
+ * @error: (not-error) (type uint): possible #GError generated at processing
  *
  * Prototype for the callback passed to the media sources' methods
  */
@@ -101,7 +101,7 @@ typedef void (*GrlMediaSourceResultCb) (GrlMediaSource *source,
  * @source: a media source
  * @media: a data transfer object
  * @user_data: user data passed to grl_media_source_metadata()
- * @error: (not-error): possible #GError generated at processing
+ * @error: (not-error) (type uint): possible #GError generated at processing
  *
  * Prototype for the callback passed to grl_media_source_metadata()
  */
@@ -116,7 +116,7 @@ typedef void (*GrlMediaSourceMetadataCb) (GrlMediaSource *source,
  * @parent: TBD
  * @media: a data transfer object
  * @user_data: user data passed to grl_media_source_store()
- * @error: (not-error): possible #GError generated at processing
+ * @error: (not-error) (type uint): possible #GError generated at processing
  *
  * Prototype for the callback passed to grl_media_source_store()
  */
@@ -131,7 +131,7 @@ typedef void (*GrlMediaSourceStoreCb) (GrlMediaSource *source,
  * @source: a media source
  * @media: a data transfer object
  * @user_data: user data passed to grl_media_source_remove()
- * @error: (not-error): possible #GError generated at processing
+ * @error: (not-error) (type uint): possible #GError generated at processing
  *
  * Prototype for the callback passed to grl_media_source_remove()
  */
-- 
1.7.0.4



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