[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'
This commit is contained in:
Martin Pitt 2011-08-11 11:05:31 +02:00
parent 77a10feafa
commit 0e54825120
2 changed files with 2 additions and 2 deletions

View File

@ -104,7 +104,7 @@ struct _GActionGroupInterface
gboolean enabled); gboolean enabled);
void (* action_state_changed) (GActionGroup *action_group, void (* action_state_changed) (GActionGroup *action_group,
const gchar *action_name, const gchar *action_name,
GVariant *value); GVariant *state);
}; };
GType g_action_group_get_type (void) G_GNUC_CONST; GType g_action_group_get_type (void) G_GNUC_CONST;

View File

@ -365,7 +365,7 @@ g_tls_password_get_description (GTlsPassword *password)
/** /**
* g_tls_password_set_description: * g_tls_password_set_description:
* @password: a #GTlsPassword object * @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. * Set a description string about what the password will be used for.
* *