From 2dfdb754f34dc05b45c2c61866ac7b1b4559a348 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Sat, 16 Jan 2016 15:24:11 +0100 Subject: [PATCH] Fix add_room_tag prototype and vfunc --- src/matrix-api.c | 2 +- src/matrix-api.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/matrix-api.c b/src/matrix-api.c index 85254b1..1fd0189 100644 --- a/src/matrix-api.c +++ b/src/matrix-api.c @@ -2092,7 +2092,7 @@ matrix_api_delete_room_tag(MatrixAPI *api, * @user_id: the ID of the user to add the tag for * @room_id: the ID of the room to add the tag for * @tag: the tag to add - * @content: extra data for the tag, e.g. ordering + * @content: (transfer full): extra data for the tag, e.g. ordering * @error: return location for a #GError, or %NULL * * Add a tag to the room. diff --git a/src/matrix-api.h b/src/matrix-api.h index d367eac..22bd1c2 100644 --- a/src/matrix-api.h +++ b/src/matrix-api.h @@ -456,7 +456,7 @@ struct _MatrixAPIInterface { const gchar *user_id, const gchar *room_id, const gchar *tag, - const JsonNode *content, + JsonNode *content, GError **error); /* VoIP */