From 9f763865db3d741ebc64188b8cfed24c305b368b Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Tue, 15 Dec 2015 09:27:11 +0100 Subject: [PATCH] Documentation fix --- src/matrix-api.c | 2 +- src/matrix-api.h | 2 +- src/matrix-http-api.c | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/matrix-api.c b/src/matrix-api.c index bfea692..4b77fa6 100644 --- a/src/matrix-api.c +++ b/src/matrix-api.c @@ -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 * diff --git a/src/matrix-api.h b/src/matrix-api.h index deb84ca..c0b0387 100644 --- a/src/matrix-api.h +++ b/src/matrix-api.h @@ -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, diff --git a/src/matrix-http-api.c b/src/matrix-http-api.c index 6393323..ea8007b 100644 --- a/src/matrix-http-api.c +++ b/src/matrix-http-api.c @@ -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