Documentation fix

This commit is contained in:
Gergely Polonkai 2015-12-15 09:27:11 +01:00
parent 2f2ab12c08
commit 9f763865db
3 changed files with 6 additions and 6 deletions

View File

@ -114,7 +114,7 @@ matrix_api_ban_user(MatrixAPI *api,
* @callback: (scope async): the function to call when the request is
* finished
* @user_data: user data to pass to the callback function
* @room_alias: the alias (name) of the room
* @alias: the alias (name) of the room
* @is_public: if %TRUE, the room will be accessible for anyone
* @invitees: (allow-none): list of user IDs to invite to the new room
*

View File

@ -62,7 +62,7 @@ struct _MatrixAPIInterface {
void (*create_room)(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
gchar *room_alias,
gchar *alias,
gboolean is_public,
GStrv invitees);
void (*join_room)(MatrixAPI *api,

View File

@ -489,8 +489,8 @@ matrix_http_api_login_or_register(MatrixAPI *api,
/**
* matrix_http_api_login:
* @api: a #MatrixAPI implementation
* @callback: (scope async): the function to call when the request if
* finished
* @callback: (scope async): the function to call when the request is
* finished
* @user_data: user data to pass to the callback function
* @login_type: the login type to use
* @parameters: parameters to send with the login request
@ -569,8 +569,8 @@ matrix_http_api_get_base_url(MatrixHTTPAPI *api)
/**
* matrix_http_api_register_account:
* @api: a #MatrixAPI implementation
* @callback: (scope async): the function to call when the request if
* finished
* @callback: (scope async): the function to call when the request is
* finished
* @user_data: user data to pass to the callback function
* @login_type: the login type to use
* @parameters: parameters to send with the registration request