[grilo] annotations: Replaced GObject.ParamSpec* with GObject.ParamSpec
- From: Iago Toral Quiroga <itoral src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo] annotations: Replaced GObject.ParamSpec* with GObject.ParamSpec
- Date: Fri, 10 Sep 2010 11:31:51 +0000 (UTC)
commit 3bd379757dea209295608ff1a43ae4e9cfb28c8d
Author: Simón Pena <spenap gmail com>
Date: Thu Sep 9 22:08:44 2010 +0200
annotations: Replaced GObject.ParamSpec* with GObject.ParamSpec
ParamSpecs annotations must be either 'GObject.ParamSpec' or
'GParamSpec*', the former being preferred.
Signed-off-by: Iago Toral Quiroga <itoral igalia com>
src/data/grl-data.c | 26 +++++++++++++-------------
src/grl-media-source.c | 16 ++++++++--------
src/grl-metadata-key.c | 4 ++--
src/grl-multiple.c | 4 ++--
src/grl-plugin-registry.c | 4 ++--
5 files changed, 27 insertions(+), 27 deletions(-)
---
diff --git a/src/data/grl-data.c b/src/data/grl-data.c
index 4fccf58..6a9e3e4 100644
--- a/src/data/grl-data.c
+++ b/src/data/grl-data.c
@@ -163,7 +163,7 @@ grl_data_new (void)
/**
* grl_data_get:
* @data: data to retrieve value
- * @key: (type GObject.ParamSpec*): key to look up.
+ * @key: (type GObject.ParamSpec): key to look up.
*
* Get the value associated with the key. If it does not contain any value, NULL
* will be returned.
@@ -182,7 +182,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 GObject.ParamSpec): key to change or add
* @value: the new value
*
* Sets the value associated with the key. If key already has a value and
@@ -226,7 +226,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 GObject.ParamSpec): key to change or add
* @strvalue: the new value
*
* Sets the value associated with the key. If key already has a value and
@@ -251,7 +251,7 @@ grl_data_set_string (GrlData *data,
/**
* grl_data_get_string:
* @data: data to inspect
- * @key: (type GObject.ParamSpec*): key to use
+ * @key: (type GObject.ParamSpec): key to use
*
* Returns the value associated with the key. If key has no value, or value is
* not string, or key is not in data, then NULL is returned.
@@ -273,7 +273,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 addd
+ * @key: (type GObject.ParamSpec): key to change or add
* @intvalue: the new value
*
* Sets the value associated with the key. If key already has a value and
@@ -291,7 +291,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 GObject.ParamSpec): key to use
*
* Returns the value associated with the key. If key has no value, or value is
* not a gint, or key is not in data, then 0 is returned.
@@ -313,7 +313,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 GObject.ParamSpec): key to change or add
* @floatvalue: the new value
*
* Sets the value associated with the key. If key already has a value and
@@ -331,7 +331,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 GObject.ParamSpec): key to use
*
* Returns the value associated with the key. If key has no value, or value is
* not a gfloat, or key is not in data, then 0 is returned.
@@ -353,7 +353,7 @@ grl_data_get_float (GrlData *data, GrlKeyID key)
/**
* grl_data_add:
* @data: data to change
- * @key: (type GObject.ParamSpec*): key to add
+ * @key: (type GObject.ParamSpec): key to add
*
* Adds a new key to data, with no value. If key already exists, it does
* nothing.
@@ -369,7 +369,7 @@ grl_data_add (GrlData *data, GrlKeyID key)
/**
* grl_data_remove:
* @data: data to change
- * @key: (type GObject.ParamSpec*): key to remove
+ * @key: (type GObject.ParamSpec): key to remove
*
* Removes key from data, freeing its value. If key is not in data, then
* it does nothing.
@@ -385,7 +385,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 GObject.ParamSpec): key to search
*
* Checks if key is in data.
*
@@ -405,7 +405,7 @@ grl_data_has_key (GrlData *data, GrlKeyID key)
*
* Returns a list with keys contained in data.
*
- * Returns: (transfer none) (element-type GObject.ParamSpec*): an array with the keys.
+ * Returns: (transfer none) (element-type GObject.ParamSpec): an array with the keys.
**/
GList *
grl_data_get_keys (GrlData *data)
@@ -422,7 +422,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 GObject.ParamSpec): key to search
*
* Checks if the key has a value.
*
diff --git a/src/grl-media-source.c b/src/grl-media-source.c
index 5892a13..fcfe668 100644
--- a/src/grl-media-source.c
+++ b/src/grl-media-source.c
@@ -1186,7 +1186,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*) (transfer none): the list of #GrlKeyID to request
+ * @keys: (element-type GObject.ParamSpec) (transfer none): the list of #GrlKeyID to request
* @skip: the number if elements to skip in the browse operation
* @count: the number of elements to retrieve in the browse operation
* @flags: the resolution mode
@@ -1322,7 +1322,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*) (transfer none): the list of #GrlKeyID to request
+ * @keys: (element-type GObject.ParamSpec) (transfer none): the list of #GrlKeyID to request
* @skip: the number if elements to skip in the browse operation
* @count: the number of elements to retrieve in the browse operation
* @flags: the resolution mode
@@ -1377,7 +1377,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*) (transfer none): the list of #GrlKeyID to request
+ * @keys: (element-type GObject.ParamSpec) (transfer none): the list of #GrlKeyID to request
* @skip: the number if elements to skip in the search operation
* @count: the number of elements to retrieve in the search operation
* @flags: the resolution mode
@@ -1503,7 +1503,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*) (transfer none): the list of #GrlKeyID to request
+ * @keys: (element-type GObject.ParamSpec) (transfer none): the list of #GrlKeyID to request
* @skip: the number if elements to skip in the search operation
* @count: the number of elements to retrieve in the search operation
* @flags: the resolution mode
@@ -1559,7 +1559,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*) (transfer none): the list of #GrlKeyID to request
+ * @keys: (element-type GObject.ParamSpec) (transfer none): the list of #GrlKeyID to request
* @skip: the number if elements to skip in the query operation
* @count: the number of elements to retrieve in the query operation
* @flags: the resolution mode
@@ -1691,7 +1691,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*) (transfer none):the list of #GrlKeyID to request
+ * @keys: (element-type GObject.ParamSpec) (transfer none):the list of #GrlKeyID to request
* @skip: the number if elements to skip in the query operation
* @count: the number of elements to retrieve in the query operation
* @flags: the resolution mode
@@ -1747,7 +1747,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*) (transfer none): the list of #GrlKeyID to request
+ * @keys: (element-type GObject.ParamSpec) (transfer none): the list of #GrlKeyID to request
* @flags: the resolution mode
* @callback: (scope notified): the user defined callback
* @user_data: the user data to pass in the callback
@@ -1856,7 +1856,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*) (transfer none): the list of #GrlKeyID to request
+ * @keys: (element-type GObject.ParamSpec) (transfer none): the list of #GrlKeyID to request
* @flags: the resolution mode
* @error: a #GError, or @NULL
*
diff --git a/src/grl-metadata-key.c b/src/grl-metadata-key.c
index 77431fa..56c44c0 100644
--- a/src/grl-metadata-key.c
+++ b/src/grl-metadata-key.c
@@ -285,7 +285,7 @@ GRL_METADATA_KEY_STUDIO =
/**
* grl_metadata_key_get_name:
- * @key: (type GObject.ParamSpec*): key to look up
+ * @key: (type GObject.ParamSpec): key to look up
*
* Retrieves the name associated with the key
*
@@ -299,7 +299,7 @@ grl_metadata_key_get_name (GrlKeyID key)
/**
* grl_metadata_key_get_desc:
- * @key: (type GObject.ParamSpec*): key to look up
+ * @key: (type GObject.ParamSpec): key to look up
*
* Retrieves the description associated with the key
*
diff --git a/src/grl-multiple.c b/src/grl-multiple.c
index 4cfc916..8cf54f5 100644
--- a/src/grl-multiple.c
+++ b/src/grl-multiple.c
@@ -434,7 +434,7 @@ multiple_search_cb (GrlMediaSource *source,
* grl_multiple_search:
* @sources: (element-type Grl.MediaSource*) (transfer none) (allow-none): a list of sources to search from (NULL for all searchable sources)
* @text: the text to search for
- * @keys: (element-type GObject.ParamSpec*) (transfer none): the list of #GrlKeyID to retrieve
+ * @keys: (element-type GObject.ParamSpec) (transfer none): the list of #GrlKeyID to retrieve
* @count: the maximum number of elements to retrieve
* @flags: the operation flags
* @callback: (scope notified): the user defined callback
@@ -567,7 +567,7 @@ grl_multiple_cancel (guint search_id)
* grl_multiple_search_sync:
* @sources: (element-type Grl.MediaSource*) (transfer none) (allow-none): a list of sources where to search from
* @text: the text to search for
- * @keys: (element-type GObject.ParamSpec*) (transfer none): the list of #GrlKeyID to retrieve
+ * @keys: (element-type GObject.ParamSpec) (transfer none): the list of #GrlKeyID to retrieve
* @count: the maximum number of elements to retrieve
* @flags: the operation flags
* @error: a #GError, or @NULL
diff --git a/src/grl-plugin-registry.c b/src/grl-plugin-registry.c
index e337270..0f4b88b 100644
--- a/src/grl-plugin-registry.c
+++ b/src/grl-plugin-registry.c
@@ -710,7 +710,7 @@ grl_plugin_registry_register_metadata_key (GrlPluginRegistry *registry,
*
* Look up for the metadata key with name @key_name.
*
- * Returns: (type GObject.ParamSpec*) (transfer none): The metadata key, or @NULL if not found
+ * Returns: (type GObject.ParamSpec) (transfer none): The metadata key, or @NULL if not found
*/
GrlKeyID
grl_plugin_registry_lookup_metadata_key (GrlPluginRegistry *registry,
@@ -731,7 +731,7 @@ grl_plugin_registry_lookup_metadata_key (GrlPluginRegistry *registry,
*
* Returns a list with all registered keys in system.
*
- * Returns: (element-type GObject.ParamSpec*) (transfer container): a list with all keys
+ * Returns: (element-type GObject.ParamSpec) (transfer container): a list with all keys
**/
GList *
grl_plugin_registry_get_metadata_keys (GrlPluginRegistry *registry)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]