Reorganize MatrixAPI vtable members

Just for readability and to follow conventions.
This commit is contained in:
2016-01-13 17:11:09 +01:00
parent 7d40b63896
commit 2b06e8d1ef
2 changed files with 82 additions and 6 deletions

View File

@@ -46,11 +46,11 @@ struct _MatrixAPIInterface {
/*< public >*/
/* Properties */
const gchar *(*get_token)(MatrixAPI *api);
void (*set_token)(MatrixAPI *api, const gchar *token);
const gchar *(*get_token)(MatrixAPI *api);
const gchar *(*get_refresh_token)(MatrixAPI *api);
void (*set_refresh_token)(MatrixAPI *api, const gchar *refresh_token);
const gchar *(*get_refresh_token)(MatrixAPI *api);
const gchar *(*get_user_id)(MatrixAPI *api);