From 15ebaa3974b4452370744ca75eb059366fc61930 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Fri, 22 Jan 2016 11:34:04 +0100 Subject: [PATCH] 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 --- docs/reference/matrix-glib/matrix-glib-sections.txt | 2 -- src/matrix-client.c | 6 +----- src/matrix-client.h | 4 ---- 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/docs/reference/matrix-glib/matrix-glib-sections.txt b/docs/reference/matrix-glib/matrix-glib-sections.txt index 8885dd6..492dfd9 100644 --- a/docs/reference/matrix-glib/matrix-glib-sections.txt +++ b/docs/reference/matrix-glib/matrix-glib-sections.txt @@ -9,8 +9,6 @@ matrix_client_logout matrix_client_refresh_token matrix_client_begin_polling matrix_client_stop_polling -matrix_client_get_room -matrix_client_get_user MATRIX_CLIENT_GET_IFACE MATRIX_CLIENT diff --git a/src/matrix-client.c b/src/matrix-client.c index 50a8537..949d07b 100644 --- a/src/matrix-client.c +++ b/src/matrix-client.c @@ -17,7 +17,6 @@ */ #include "matrix-client.h" -#include "matrix-marshalers.h" /** * SECTION:matrix-client @@ -40,8 +39,6 @@ * @refresh_token: virtual function for matrix_client_refresh_token() * @begin_polling: virtual function for matrix_client_begin_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 */ @@ -135,8 +132,7 @@ matrix_client_refresh_token(MatrixClient *client) * matrix_client_begin_polling: * @client: a #MatrixClient * - * Begin polling the event stream. For each incoming event, - * MatrixClient:live-event is fired. + * Begin polling the event stream. */ void matrix_client_begin_polling(MatrixClient *client) diff --git a/src/matrix-client.h b/src/matrix-client.h index 6b42cec..54ea272 100644 --- a/src/matrix-client.h +++ b/src/matrix-client.h @@ -75,10 +75,6 @@ void matrix_client_refresh_token(MatrixClient *client); void matrix_client_begin_polling(MatrixClient *client); 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 #endif /* __MATRIX_CLIENT_H__ */