[PATCH 6/6] core: updated GI annotations to the new GrlKeyID type
- From: Guillaume Emont <guijemont igalia com>
- To: grilo-list gnome org
- Cc: Guillaume Emont <guijemont igalia com>
- Subject: [PATCH 6/6] core: updated GI annotations to the new GrlKeyID type
- Date: Wed, 11 May 2011 20:31:11 +0200
---
src/data/grl-data.c | 38 +++++++++++++++++++-------------------
src/data/grl-related-keys.c | 28 ++++++++++++++--------------
src/grl-media-source.c | 16 ++++++++--------
src/grl-metadata-source.c | 32 ++++++++++++++++----------------
src/grl-metadata-source.h | 2 +-
src/grl-multiple.c | 4 ++--
src/grl-plugin-registry.c | 2 +-
7 files changed, 61 insertions(+), 61 deletions(-)
diff --git a/src/data/grl-data.c b/src/data/grl-data.c
index dcd78a0..bcc8987 100644
--- a/src/data/grl-data.c
+++ b/src/data/grl-data.c
@@ -200,7 +200,7 @@ grl_data_new (void)
/**
* grl_data_get:
* @data: data to retrieve value
- * @key: (type GObject.ParamSpec): key to look up.
+ * @key: (type GrlKeyID): key to look up.
*
* Get the first value from @data associated with @key.
*
@@ -231,7 +231,7 @@ grl_data_get (GrlData *data, GrlKeyID key)
/**
* grl_data_set:
* @data: data to modify
- * @key: (type GObject.ParamSpec): key to change or add
+ * @key: (type GrlKeyID): key to change or add
* @value: the new value
*
* Sets the first value associated with @key in @data. If key already has a
@@ -274,7 +274,7 @@ grl_data_set (GrlData *data, GrlKeyID key, const GValue *value)
/**
* grl_data_set_string:
* @data: data to modify
- * @key: (type GObject.ParamSpec): key to change or add
+ * @key: (type GrlKeyID): key to change or add
* @strvalue: the new value
*
* Sets the first string value associated with @key in @data. If @key already
@@ -300,7 +300,7 @@ grl_data_set_string (GrlData *data,
/**
* grl_data_get_string:
* @data: data to inspect
- * @key: (type GObject.ParamSpec): key to use
+ * @key: (type GrlKeyID): key to use
*
* Returns the first string value associated with @key from @data. If @key has
* no first value, or value is not string, or @key is not in @data, then %NULL
@@ -326,7 +326,7 @@ grl_data_get_string (GrlData *data, GrlKeyID key)
/**
* grl_data_set_int:
* @data: data to change
- * @key: (type GObject.ParamSpec): key to change or add
+ * @key: (type GrlKeyID): key to change or add
* @intvalue: the new value
*
* Sets the first int value associated with @key in @data. If @key already has a
@@ -346,7 +346,7 @@ grl_data_set_int (GrlData *data, GrlKeyID key, gint intvalue)
/**
* grl_data_get_int:
* @data: data to inspect
- * @key: (type GObject.ParamSpec): key to use
+ * @key: (type GrlKeyID): key to use
*
* Returns the first int value associated with @key from @data. If @key has no
* first value, or value is not a gint, or @key is not in data, then 0 is
@@ -371,7 +371,7 @@ grl_data_get_int (GrlData *data, GrlKeyID key)
/**
* grl_data_set_float:
* @data: data to change
- * @key: (type GObject.ParamSpec): key to change or add
+ * @key: (type GrlKeyID): key to change or add
* @floatvalue: the new value
*
* Sets the first float value associated with @key in @data. If @key already has
@@ -391,7 +391,7 @@ grl_data_set_float (GrlData *data, GrlKeyID key, float floatvalue)
/**
* grl_data_get_float:
* @data: data to inspect
- * @key: (type GObject.ParamSpec): key to use
+ * @key: (type GrlKeyID): key to use
*
* Returns the first float value associated with @key from @data. If @key has no
* first value, or value is not a gfloat, or @key is not in data, then 0 is
@@ -416,7 +416,7 @@ grl_data_get_float (GrlData *data, GrlKeyID key)
/**
* grl_data_set_binary:
* @data: data to change
- * @key: (type GObject.ParamSpec): key to change or add
+ * @key: (type GrlKeyID): key to change or add
* @buf: buffer holding the data
* @size: size of the buffer
*
@@ -446,7 +446,7 @@ grl_data_set_binary (GrlData *data, GrlKeyID key, const guint8 *buf, gsize size)
/**
* grl_data_get_binary:
* @data: data to inspect
- * @key: (type GObject.ParamSpec): key to use
+ * @key: (type GrlKeyID): key to use
* @size: (out): location to store the buffer size
*
* Returns the first binary value associated with @key from @data. If @key has
@@ -477,7 +477,7 @@ grl_data_get_binary(GrlData *data, GrlKeyID key, gsize *size)
/**
* grl_data_add:
* @data: data to change
- * @key: (type GObject.ParamSpec): key to add
+ * @key: (type GrlKeyID): key to add
*
* Adds a new @key to @data, with no value. If key already exists, it does
* nothing.
@@ -495,7 +495,7 @@ grl_data_add (GrlData *data, GrlKeyID key)
/**
* grl_data_remove:
* @data: data to change
- * @key: (type GObject.ParamSpec): key to remove
+ * @key: (type GrlKeyID): key to remove
*
* Removes the first value for @key from @data. If there are other keys related
* to @key their values will also be removed from @data.
@@ -511,7 +511,7 @@ grl_data_remove (GrlData *data, GrlKeyID key)
/**
* grl_data_has_key:
* @data: data to inspect
- * @key: (type GObject.ParamSpec): key to search
+ * @key: (type GrlKeyID): key to search
*
* Checks if @key is in @data.
*
@@ -548,7 +548,7 @@ grl_data_has_key (GrlData *data, GrlKeyID key)
*
* Returns a list with keys contained in @data.
*
- * Returns: (transfer container) (element-type GObject.ParamSpec): an array with the
+ * Returns: (transfer container) (element-type GrlKeyID): an array with the
* keys. The content of the list should not be modified or freed. Use
* g_list_free() when done using the list.
*
@@ -587,7 +587,7 @@ grl_data_get_keys (GrlData *data)
/**
* grl_data_key_is_known:
* @data: data to inspect
- * @key: (type GObject.ParamSpec): key to search
+ * @key: (type GrlKeyID): key to search
*
* Checks if the @key has a first value in @data.
*
@@ -656,7 +656,7 @@ grl_data_add_related_keys (GrlData *data,
/**
* grl_data_add_string:
* @data: data to append
- * @key: (type GObject.ParamSpec): key to append
+ * @key: (type GrlKeyID): key to append
* @strvalue: the new value
*
* Appends a new string value for @key in @data.
@@ -680,7 +680,7 @@ grl_data_add_string (GrlData *data,
/**
* grl_data_add_int:
* @data: data to append
- * @key: (type GObject.ParamSpec): key to append
+ * @key: (type GrlKeyID): key to append
* @intvalue: the new value
*
* Appends a new int value for @key in @data.
@@ -702,7 +702,7 @@ grl_data_add_int (GrlData *data,
/**
* grl_data_add_float:
* @data: data to append
- * @key: (type GObject.ParamSpec): key to append
+ * @key: (type GrlKeyID): key to append
* @floatvalue: the new value
*
* Appends a new float value for @key in @data.
@@ -724,7 +724,7 @@ grl_data_add_float (GrlData *data,
/**
* grl_data_add_binary:
* @data: data to append
- * @key: (type GObject.ParamSpec): key to append
+ * @key: (type GrlKeyID): key to append
* @buf: the buffer containing the new value
* @size: size of buffer
*
diff --git a/src/data/grl-related-keys.c b/src/data/grl-related-keys.c
index 40f2edd..afd0057 100644
--- a/src/data/grl-related-keys.c
+++ b/src/data/grl-related-keys.c
@@ -196,7 +196,7 @@ grl_related_keys_new_with_keys (GrlKeyID key,
/**
* grl_related_keys_get:
* @relkeys: set of related keys to retrieve value
- * @key: (type GObject.ParamSpec): key to look up.
+ * @key: (type GrlKeyID): key to look up.
*
* Get the value associated with @key from @relkeys. If it does not contain any
* value, %NULL will be returned.
@@ -219,7 +219,7 @@ grl_related_keys_get (GrlRelatedKeys *relkeys,
/**
* grl_related_keys_set:
* @relkeys: set of related keys to modify
- * @key: (type GObject.ParamSpec): key to change or add
+ * @key: (type GrlKeyID): key to change or add
* @value: the new value
*
* Sets the value associated with @key into @relkeys. Old value is freed and
@@ -270,7 +270,7 @@ grl_related_keys_set (GrlRelatedKeys *relkeys,
/**
* grl_related_keys_set_string:
* @relkeys: set of related keys to modify
- * @key: (type GObject.ParamSpec): key to change or add
+ * @key: (type GrlKeyID): key to change or add
* @strvalue: the new value
*
* Sets the value associated with @key into @relkeys. @key must have been
@@ -296,7 +296,7 @@ grl_related_keys_set_string (GrlRelatedKeys *relkeys,
/**
* grl_related_keys_get_string:
* @relkeys: set of related keys to inspect
- * @key: (type GObject.ParamSpec): key to use
+ * @key: (type GrlKeyID): key to use
*
* Returns the value associated with @key from @relkeys. If @key has no value,
* or value is not string, or @key is not in @relkeys, then %NULL is returned.
@@ -322,7 +322,7 @@ grl_related_keys_get_string (GrlRelatedKeys *relkeys,
/**
* grl_related_keys_set_int:
* @relkeys: set of related keys to change
- * @key: (type GObject.ParamSpec): key to change or add
+ * @key: (type GrlKeyID): key to change or add
* @intvalue: the new value
*
* Sets the value associated with @key into @relkeys. @key must have been
@@ -344,7 +344,7 @@ grl_related_keys_set_int (GrlRelatedKeys *relkeys,
/**
* grl_related_keys_get_int:
* @relkeys: set of related keys to inspect
- * @key: (type GObject.ParamSpec): key to use
+ * @key: (type GrlKeyID): key to use
*
* Returns the value associated with @key from @relkeys. If @key has no value,
* or value is not a gint, or @key is not in @relkeys, then 0 is returned.
@@ -369,7 +369,7 @@ grl_related_keys_get_int (GrlRelatedKeys *relkeys,
/**
* grl_related_keys_set_float:
* @relkeys: set of related keys to change
- * @key: (type GObject.ParamSpec): key to change or add
+ * @key: (type GrlKeyID): key to change or add
* @floatvalue: the new value
*
* Sets the value associated with @key into @relkeys. @key must have been
@@ -391,7 +391,7 @@ grl_related_keys_set_float (GrlRelatedKeys *relkeys,
/**
* grl_related_keys_get_float:
* @relkeys: set of related keys to inspect
- * @key: (type GObject.ParamSpec): key to use
+ * @key: (type GrlKeyID): key to use
*
* Returns the value associated with @key from @relkeys. If @key has no value,
* or value is not a gfloat, or @key is not in @relkeys, then 0 is returned.
@@ -416,7 +416,7 @@ grl_related_keys_get_float (GrlRelatedKeys *relkeys,
/**
* grl_related_keys_set_binary:
* @relkeys: set of related keys to change
- * @key: (type GObject.ParamSpec): key to change or add
+ * @key: (type GrlKeyID): key to change or add
* @buf: buffer holding the relkeys
* @size: size of the buffer
*
@@ -451,7 +451,7 @@ grl_related_keys_set_binary (GrlRelatedKeys *relkeys,
/**
* grl_related_keys_get_binary:
* @relkeys: set of related keys to inspect
- * @key: (type GObject.ParamSpec): key to use
+ * @key: (type GrlKeyID): key to use
* @size: (out): location to store the buffer size
*
* Returns the value associated with @key from @relkeys. If @key has no value,
@@ -485,7 +485,7 @@ grl_related_keys_get_binary (GrlRelatedKeys *relkeys,
/**
* grl_related_keys_add:
* @relkeys: set of related keys to change
- * @key: (type GObject.ParamSpec): key to add
+ * @key: (type GrlKeyID): key to add
*
* Adds a new @key to @relkeys, with no value. If @key already exists, it does
* nothing.
@@ -504,7 +504,7 @@ grl_related_keys_add (GrlRelatedKeys *relkeys,
/**
* grl_related_keys_has_key:
* @relkeys: set of related keys to inspect
- * @key: (type GObject.ParamSpec): key to search
+ * @key: (type GrlKeyID): key to search
*
* Checks if @key is in @relkeys.
*
@@ -529,7 +529,7 @@ grl_related_keys_has_key (GrlRelatedKeys *relkeys,
*
* Returns a list with keys contained in @relkeys.
*
- * Returns: (transfer container) (element-type GObject.ParamSpec): a list with
+ * Returns: (transfer container) (element-type GrlKeyID): a list with
* the keys. The content of the list should not be modified or freed. Use
* g_list_free() when done using the list.
*
@@ -546,7 +546,7 @@ grl_related_keys_get_keys (GrlRelatedKeys *relkeys)
/**
* grl_related_keys_key_is_known:
* @relkeys: set of related keys to inspect
- * @key: (type GObject.ParamSpec): key to search
+ * @key: (type GrlKeyID): key to search
*
* Checks if @key has a value in @relkeys.
*
diff --git a/src/grl-media-source.c b/src/grl-media-source.c
index 51f1d3e..04610b7 100644
--- a/src/grl-media-source.c
+++ b/src/grl-media-source.c
@@ -1334,7 +1334,7 @@ metadata_full_resolution_ctl_cb (GrlMediaSource *source,
* grl_media_source_browse:
* @source: a media source
* @container: (allow-none): a container of data transfer objects
- * @keys: (element-type GObject.ParamSpec): the #GList of
+ * @keys: (element-type GrlKeyID): the #GList of
* #GrlKeyID<!-- -->s to request
* @skip: the number if elements to skip in the browse operation
* @count: the number of elements to retrieve in the browse operation
@@ -1473,7 +1473,7 @@ grl_media_source_browse (GrlMediaSource *source,
* grl_media_source_browse_sync:
* @source: a media source
* @container: (allow-none): a container of data transfer objects
- * @keys: (element-type GObject.ParamSpec): the #GList of
+ * @keys: (element-type GrlKeyID): the #GList of
* #GrlKeyID<!-- -->s to request
* @skip: the number if elements to skip in the browse operation
* @count: the number of elements to retrieve in the browse operation
@@ -1534,7 +1534,7 @@ grl_media_source_browse_sync (GrlMediaSource *source,
* grl_media_source_search:
* @source: a media source
* @text: the text to search
- * @keys: (element-type GObject.ParamSpec): the #GList of
+ * @keys: (element-type GrlKeyID): the #GList of
* #GrlKeyID<!-- -->s to request
* @skip: the number if elements to skip in the search operation
* @count: the number of elements to retrieve in the search operation
@@ -1667,7 +1667,7 @@ grl_media_source_search (GrlMediaSource *source,
* grl_media_source_search_sync:
* @source: a media source
* @text: the text to search
- * @keys: (element-type GObject.ParamSpec): the #GList of
+ * @keys: (element-type GrlKeyID): the #GList of
* #GrlKeyID<!-- -->s to request
* @skip: the number if elements to skip in the search operation
* @count: the number of elements to retrieve in the search operation
@@ -1733,7 +1733,7 @@ grl_media_source_search_sync (GrlMediaSource *source,
* grl_media_source_query:
* @source: a media source
* @query: the query to process
- * @keys: (element-type GObject.ParamSpec): the #GList of
+ * @keys: (element-type GrlKeyID): the #GList of
* #GrlKeyID<!-- -->s to request
* @skip: the number if elements to skip in the query operation
* @count: the number of elements to retrieve in the query operation
@@ -1868,7 +1868,7 @@ grl_media_source_query (GrlMediaSource *source,
* grl_media_source_query_sync:
* @source: a media source
* @query: the query to process
- * @keys: (element-type GObject.ParamSpec): the #GList of
+ * @keys: (element-type GrlKeyID): the #GList of
* #GrlKeyID<!-- -->s to request
* @skip: the number if elements to skip in the query operation
* @count: the number of elements to retrieve in the query operation
@@ -1929,7 +1929,7 @@ grl_media_source_query_sync (GrlMediaSource *source,
* grl_media_source_metadata:
* @source: a media source
* @media: (allow-none): a data transfer object
- * @keys: (element-type GObject.ParamSpec): the #GList of
+ * @keys: (element-type GrlKeyID): the #GList of
* #GrlKeyID<!-- -->s to request
* @flags: the resolution mode
* @callback: (scope notified): the user defined callback
@@ -2043,7 +2043,7 @@ grl_media_source_metadata (GrlMediaSource *source,
* grl_media_source_metadata_sync:
* @source: a media source
* @media: (allow-none): a data transfer object
- * @keys: (element-type GObject.ParamSpec): the #GList of
+ * @keys: (element-type GrlKeyID): the #GList of
* #GrlKeyID<!-- -->s to request
* @flags: the resolution mode
* @error: a #GError, or @NULL
diff --git a/src/grl-metadata-source.c b/src/grl-metadata-source.c
index cc50850..8a29f3b 100644
--- a/src/grl-metadata-source.c
+++ b/src/grl-metadata-source.c
@@ -715,7 +715,7 @@ get_additional_source_for_key (GrlMetadataSource *source,
* Get a list of #GrlKeyID, which describe a metadata types that this
* source can fetch and store.
*
- * Returns: (element-type GObject.ParamSpec) (transfer none): a #GList with the keys
+ * Returns: (element-type GrlKeyID) (transfer none): a #GList with the keys
*
* Since: 0.1.1
*/
@@ -738,7 +738,7 @@ grl_metadata_source_supported_keys (GrlMetadataSource *source)
* are marked as slow because of the amount of traffic/processing needed
* to fetch them.
*
- * Returns: (element-type GObject.ParamSpec) (transfer none): a #GList with the keys
+ * Returns: (element-type GrlKeyID) (transfer none): a #GList with the keys
*
* Since: 0.1.1
*/
@@ -756,12 +756,12 @@ grl_metadata_source_slow_keys (GrlMetadataSource *source)
/**
* grl_metadata_source_key_depends:
* @source: a metadata source
- * @key_id: (type GObject.ParamSpec): the requested metadata key
+ * @key_id: (type GrlKeyID): the requested metadata key
*
* Get the list of #GrlKeyID which are needed a priori, in order to fetch
* and store the requested @key_id
*
- * Returns: (element-type GObject.ParamSpec) (transfer none):
+ * Returns: (element-type GrlKeyID) (transfer none):
* a #GList with the keys, or @NULL if it can not resolve @key_id
*
* Since: 0.1.1
@@ -789,7 +789,7 @@ grl_metadata_source_key_depends (GrlMetadataSource *source, GrlKeyID key_id)
* are marked as writable, meaning the source allows the client
* to provide new values for these keys that will be stored permanently.
*
- * Returns: (element-type GObject.ParamSpec) (transfer none):
+ * Returns: (element-type GrlKeyID) (transfer none):
* a #GList with the keys
*
* Since: 0.1.4
@@ -900,7 +900,7 @@ grl_metadata_source_may_resolve (GrlMetadataSource *source,
/**
* grl_metadata_source_resolve:
* @source: a metadata source
- * @keys: (element-type GObject.ParamSpec) (allow-none): the #GList
+ * @keys: (element-type GrlKeyID) (allow-none): the #GList
* of #GrlKeyID to retrieve
* @media: Transfer object where all the metadata is stored.
* @flags: bitwise mask of #GrlMetadataResolutionFlags with the resolution
@@ -980,7 +980,7 @@ grl_metadata_source_resolve (GrlMetadataSource *source,
/**
* grl_metadata_source_resolve_sync:
* @source: a metadata source
- * @keys: (element-type GObject.ParamSpec) (allow-none): the #GList
+ * @keys: (element-type GrlKeyID) (allow-none): the #GList
* of #GrlKeyID to retrieve
* @media: Transfer object where all the metadata is stored
* @flags: bitwise mask of #GrlMetadataResolutionFlags with the resolution
@@ -1032,7 +1032,7 @@ grl_metadata_source_resolve_sync (GrlMetadataSource *source,
/**
* grl_metadata_source_filter_supported:
* @source: a metadata source
- * @keys: (element-type GObject.ParamSpec) (transfer container) (allow-none) (inout):
+ * @keys: (element-type GrlKeyID) (transfer container) (allow-none) (inout):
* the list of keys to filter out
* @return_filtered: if %TRUE the return value shall be a new list with
* the unsupported keys
@@ -1040,7 +1040,7 @@ grl_metadata_source_resolve_sync (GrlMetadataSource *source,
* Compares the received @keys list with the supported key list by the
* metadata @source, and deletes those keys which are not supported.
*
- * Returns: (element-type GObject.ParamSpec) (transfer container):
+ * Returns: (element-type GrlKeyID) (transfer container):
* if @return_filtered is %TRUE will return the list of removed keys;
* otherwise %NULL
*
@@ -1063,7 +1063,7 @@ grl_metadata_source_filter_supported (GrlMetadataSource *source,
/**
* grl_metadata_source_filter_slow:
* @source: a metadata source
- * @keys: (element-type GObject.ParamSpec) (transfer container) (allow-none) (inout):
+ * @keys: (element-type GrlKeyID) (transfer container) (allow-none) (inout):
* the list of keys to filter out
* @return_filtered: if %TRUE the return value shall be a new list with
* the slow keys
@@ -1072,7 +1072,7 @@ grl_metadata_source_filter_supported (GrlMetadataSource *source,
* keys from @keys. If @return_filtered is %TRUE the removed slow keys are
* returned in a new list.
*
- * Returns: (element-type GObject.ParamSpec) (transfer container): if
+ * Returns: (element-type GrlKeyID) (transfer container): if
* @return_filtered is %TRUE will return the list of slow keys; otherwise
* %NULL
*
@@ -1106,7 +1106,7 @@ grl_metadata_source_filter_slow (GrlMetadataSource *source,
/**
* grl_metadata_source_filter_writable:
* @source: a metadata source
- * @keys: (element-type GObject.ParamSpec) (transfer container) (allow-none) (inout):
+ * @keys: (element-type GrlKeyID) (transfer container) (allow-none) (inout):
* the list of keys to filter out
* @return_filtered: if %TRUE the return value shall be a new list with
* the non-writable keys
@@ -1118,7 +1118,7 @@ grl_metadata_source_filter_slow (GrlMetadataSource *source,
* @source. If @return_filtered is %TRUE then the removed keys are returned in a
* new list.
*
- * Returns: (element-type GObject.ParamSpec) (transfer container):
+ * Returns: (element-type GrlKeyID) (transfer container):
* if @return_filtered is %TRUE will return the list of non-writtable keys;
* otherwise %NULL
*
@@ -1308,7 +1308,7 @@ grl_metadata_source_get_description (GrlMetadataSource *source)
* grl_metadata_source_set_metadata:
* @source: a metadata source
* @media: the #GrlMedia object that we want to operate on.
- * @keys: (element-type GObject.ParamSpec) (allow-none): a list
+ * @keys: (element-type GrlKeyID) (allow-none): a list
* of #GrlKeyID whose values we want to change.
* @flags: Flags to configure specific behaviors of the operation.
* @callback: (scope notified): the callback to execute when the operation is finished.
@@ -1377,7 +1377,7 @@ grl_metadata_source_set_metadata (GrlMetadataSource *source,
* grl_metadata_source_set_metadata_sync:
* @source: a metadata source
* @media: the #GrlMedia object that we want to operate on
- * @keys: (element-type GObject.ParamSpec) (allow-none): a list of
+ * @keys: (element-type GrlKeyID) (allow-none): a list of
* #GrlKeyID whose values we want to change
* @flags: Flags to configure specific behaviors of the operation.
* @error: a #GError, or @NULL
@@ -1389,7 +1389,7 @@ grl_metadata_source_set_metadata (GrlMetadataSource *source,
*
* This function is synchronous.
*
- * Returns: (element-type GObject.ParamSpec) (transfer container):
+ * Returns: (element-type GrlKeyID) (transfer container):
* a #GList of keys that could not be updated, or @NULL
*
* Since: 0.1.6
diff --git a/src/grl-metadata-source.h b/src/grl-metadata-source.h
index 5638813..a0640c9 100644
--- a/src/grl-metadata-source.h
+++ b/src/grl-metadata-source.h
@@ -128,7 +128,7 @@ typedef void (*GrlMetadataSourceResolveCb) (GrlMetadataSource *source,
* GrlMetadataSourceSetMetadataCb:
* @source: a metadata source
* @media: (transfer full): a #GrlMedia transfer object
- * @failed_keys: (element-type GObject.ParamSpec) (transfer container): #GList of
+ * @failed_keys: (element-type GrlKeyID) (transfer container): #GList of
* keys that could not be updated, if any
* @user_data: user data passed to grl_metadata_source_set_metadata()
* @error: (type uint): possible #GError generated when updating the metadata
diff --git a/src/grl-multiple.c b/src/grl-multiple.c
index c711646..bfe93c2 100644
--- a/src/grl-multiple.c
+++ b/src/grl-multiple.c
@@ -478,7 +478,7 @@ media_from_uri_cb (GrlMediaSource *source,
* a #GList of #GrlMediaSource<!-- -->s to search from (%NULL for all
* searchable sources)
* @text: the text to search for
- * @keys: (element-type GObject.ParamSpec): the #GList of
+ * @keys: (element-type GrlKeyID): the #GList of
* #GrlKeyID to retrieve
* @count: the maximum number of elements to retrieve
* @flags: the operation flags
@@ -617,7 +617,7 @@ grl_multiple_cancel (guint search_id)
* a #GList of #GrlMediaSource<!-- -->s where to search from (%NULL for all
* available sources with search capability)
* @text: the text to search for
- * @keys: (element-type GObject.ParamSpec): the #GList of
+ * @keys: (element-type GrlKeyID): the #GList of
* #GrlKeyID to retrieve
* @count: the maximum number of elements to retrieve
* @flags: the operation flags
diff --git a/src/grl-plugin-registry.c b/src/grl-plugin-registry.c
index cdebebf..82e0781 100644
--- a/src/grl-plugin-registry.c
+++ b/src/grl-plugin-registry.c
@@ -1330,7 +1330,7 @@ grl_plugin_registry_metadata_key_validate (GrlPluginRegistry *registry,
*
* @key is included in that list.
*
- * Returns: (element-type GObject.ParamSpec) (transfer none): a #GList of
+ * Returns: (element-type GrlKeyID) (transfer none): a #GList of
* related keys, or @NULL if key is invalid.
*
* Since: 0.1.10
--
1.7.1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]