Fix MatrixClient definition

* Remove `*_get_room` and `*_get_user` definitions, as it is yet unclear
  if they will be needed
* Documentation fix; begin_polling references a yet non-existing signal
This commit is contained in:
Gergely Polonkai 2016-01-22 11:34:04 +01:00
parent 9f6178c0ee
commit 15ebaa3974
3 changed files with 1 additions and 11 deletions

View File

@ -9,8 +9,6 @@ matrix_client_logout
matrix_client_refresh_token matrix_client_refresh_token
matrix_client_begin_polling matrix_client_begin_polling
matrix_client_stop_polling matrix_client_stop_polling
matrix_client_get_room
matrix_client_get_user
<SUBSECTION Standard> <SUBSECTION Standard>
MATRIX_CLIENT_GET_IFACE MATRIX_CLIENT_GET_IFACE
MATRIX_CLIENT MATRIX_CLIENT

View File

@ -17,7 +17,6 @@
*/ */
#include "matrix-client.h" #include "matrix-client.h"
#include "matrix-marshalers.h"
/** /**
* SECTION:matrix-client * SECTION:matrix-client
@ -40,8 +39,6 @@
* @refresh_token: virtual function for matrix_client_refresh_token() * @refresh_token: virtual function for matrix_client_refresh_token()
* @begin_polling: virtual function for matrix_client_begin_polling() * @begin_polling: virtual function for matrix_client_begin_polling()
* @stop_polling: virtual function for matrix_client_stop_polling() * @stop_polling: virtual function for matrix_client_stop_polling()
* @get_room: virtual function for matrix_client_get_room()
* @get_user: virtual function for matrix_client_get_user()
* *
* The interface vtable for #MatrixClient * The interface vtable for #MatrixClient
*/ */
@ -135,8 +132,7 @@ matrix_client_refresh_token(MatrixClient *client)
* matrix_client_begin_polling: * matrix_client_begin_polling:
* @client: a #MatrixClient * @client: a #MatrixClient
* *
* Begin polling the event stream. For each incoming event, * Begin polling the event stream.
* MatrixClient:live-event is fired.
*/ */
void void
matrix_client_begin_polling(MatrixClient *client) matrix_client_begin_polling(MatrixClient *client)

View File

@ -75,10 +75,6 @@ void matrix_client_refresh_token(MatrixClient *client);
void matrix_client_begin_polling(MatrixClient *client); void matrix_client_begin_polling(MatrixClient *client);
void matrix_client_stop_polling(MatrixClient *client, gboolean cancel_ongoing); void matrix_client_stop_polling(MatrixClient *client, gboolean cancel_ongoing);
void matrix_client_get_room(MatrixClient *client,
const gchar *room_id_or_alias);
void matrix_client_get_user(MatrixClient *client, const gchar *user_id);
G_END_DECLS G_END_DECLS
#endif /* __MATRIX_CLIENT_H__ */ #endif /* __MATRIX_CLIENT_H__ */