From 0e548251201db63eb0c80091877f44df14f4a0fe Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Thu, 11 Aug 2011 11:05:31 +0200 Subject: [PATCH] [gi] Fix parameter name typos in Gio docstrings Found by GIR compiler when building gobject-introspection: gir/gio-2.0.c:33525: Warning: Gio: g_tls_password_set_description: unknown parameter 'flags' in documentation comment, should be one of 'password', 'description' gir/gio-2.0.c:14568: Warning: Gio: g_action_group_action_state_changed: unknown parameter 'state' in documentation comment, should be one of 'action_group', 'action_name', 'value' --- gio/gactiongroup.h | 2 +- gio/gtlspassword.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gio/gactiongroup.h b/gio/gactiongroup.h index cbab0611a..94602af07 100644 --- a/gio/gactiongroup.h +++ b/gio/gactiongroup.h @@ -104,7 +104,7 @@ struct _GActionGroupInterface gboolean enabled); void (* action_state_changed) (GActionGroup *action_group, const gchar *action_name, - GVariant *value); + GVariant *state); }; GType g_action_group_get_type (void) G_GNUC_CONST; diff --git a/gio/gtlspassword.c b/gio/gtlspassword.c index aa1c35ce1..d5821642d 100644 --- a/gio/gtlspassword.c +++ b/gio/gtlspassword.c @@ -365,7 +365,7 @@ g_tls_password_get_description (GTlsPassword *password) /** * g_tls_password_set_description: * @password: a #GTlsPassword object - * @flags: The description of the password + * @description: The description of the password * * Set a description string about what the password will be used for. *