[PATCH 4/7] doc: fix argument names
- From: Simon Pena <spena igalia com>
- To: grilo-list gnome org
- Subject: [PATCH 4/7] doc: fix argument names
- Date: Fri, 18 Mar 2011 17:46:19 +0200
Fixed some wrong/missing argument names
---
src/data/grl-config.c | 5 +++--
src/data/grl-config.h | 4 ++--
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/data/grl-config.c b/src/data/grl-config.c
index f800765..a022163 100644
--- a/src/data/grl-config.c
+++ b/src/data/grl-config.c
@@ -297,7 +297,8 @@ grl_config_set_api_key (GrlConfig *config, const gchar *key)
/**
* grl_config_set_api_key_blob:
* @config: the config instance
- * @key: the binary API key
+ * @blob: the binary API key blob
+ * @size: the size of the blob
*
* Set the binary API key in the configuration
*
@@ -485,7 +486,7 @@ grl_config_get_password(GrlConfig *config)
/**
* grl_config_has_param:
* @config: the config instance
- * @key: the param
+ * @param: the param
*
* Returns: TRUE if @params has a defined value within @config, FALSE
* otherwise.
diff --git a/src/data/grl-config.h b/src/data/grl-config.h
index d37d8b3..2079c93 100644
--- a/src/data/grl-config.h
+++ b/src/data/grl-config.h
@@ -112,9 +112,9 @@ void grl_config_set_api_token (GrlConfig *config, const gchar *token);
void grl_config_set_api_secret (GrlConfig *config, const gchar *secret);
-void grl_config_set_username (GrlConfig *config, const gchar *secret);
+void grl_config_set_username (GrlConfig *config, const gchar *username);
-void grl_config_set_password (GrlConfig *config, const gchar *secret);
+void grl_config_set_password (GrlConfig *config, const gchar *password);
gchar *grl_config_get_plugin (GrlConfig *config);
--
1.7.1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]