taglist: Add missing scope to func param
authorNicolas Dufresne <nicolas.dufresne@collabora.co.uk>
Sat, 13 Jun 2015 16:32:49 +0000 (12:32 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.co.uk>
Sat, 13 Jun 2015 16:32:49 +0000 (12:32 -0400)
This tell GI if this function is for actions (call) or is the
answer of this method being asynchronous (async). In this case
it's a call. This also silence warning from the GI scanner.

gst/gsttaglist.c

index faa7252..5b644dc 100644 (file)
@@ -468,7 +468,7 @@ gst_tag_lookup (const gchar * tag_name)
  * @type: the type this data is in
  * @nick: human-readable name
  * @blurb: a human-readable description about this tag
- * @func: (allow-none): function for merging multiple values of this tag, or %NULL
+ * @func: (allow-none) (scope call): function for merging multiple values of this tag, or %NULL
  *
  * Registers a new tag type for the use with GStreamer's type system. If a type
  * with that name is already registered, that one is used.
@@ -512,7 +512,7 @@ gst_tag_register (const gchar * name, GstTagFlag flag, GType type,
  * @type: the type this data is in
  * @nick: human-readable name or short description (string constant)
  * @blurb: a human-readable description for this tag (string constant)
- * @func: (allow-none): function for merging multiple values of this tag, or %NULL
+ * @func: (allow-none) (scope call): function for merging multiple values of this tag, or %NULL
  *
  * Registers a new tag type for the use with GStreamer's type system.
  *