Remove const
constraint from set_account_data’s content
This commit is contained in:
parent
2be41f0463
commit
0369b387c1
@ -1997,7 +1997,7 @@ matrix_api_register_account(MatrixAPI *api,
|
|||||||
* the account data will be set globally
|
* the account data will be set globally
|
||||||
* @type: the event type of the account data to set. Custom types
|
* @type: the event type of the account data to set. Custom types
|
||||||
* should be namespaced to avoid clashes.
|
* should be namespaced to avoid clashes.
|
||||||
* @content: the content of the account data
|
* @content: (transfer full): the content of the account data
|
||||||
* @error: return location for a #GError, or %NULL
|
* @error: return location for a #GError, or %NULL
|
||||||
*
|
*
|
||||||
* Set some account data for the client. This config is only visible
|
* Set some account data for the client. This config is only visible
|
||||||
@ -2011,7 +2011,7 @@ matrix_api_set_account_data(MatrixAPI *api,
|
|||||||
const gchar *user_id,
|
const gchar *user_id,
|
||||||
const gchar *room_id,
|
const gchar *room_id,
|
||||||
const gchar *type,
|
const gchar *type,
|
||||||
const JsonNode *content,
|
JsonNode *content,
|
||||||
GError **error)
|
GError **error)
|
||||||
{
|
{
|
||||||
g_return_if_fail(MATRIX_IS_API(api));
|
g_return_if_fail(MATRIX_IS_API(api));
|
||||||
|
@ -435,7 +435,7 @@ struct _MatrixAPIInterface {
|
|||||||
const gchar *user_id,
|
const gchar *user_id,
|
||||||
const gchar *room_id,
|
const gchar *room_id,
|
||||||
const gchar *type,
|
const gchar *type,
|
||||||
const JsonNode *content,
|
JsonNode *content,
|
||||||
GError **error);
|
GError **error);
|
||||||
void (*get_room_tags)(MatrixAPI *api,
|
void (*get_room_tags)(MatrixAPI *api,
|
||||||
MatrixAPICallback callback,
|
MatrixAPICallback callback,
|
||||||
@ -856,7 +856,7 @@ void matrix_api_set_account_data(MatrixAPI *api,
|
|||||||
const gchar *user_id,
|
const gchar *user_id,
|
||||||
const gchar *room_id,
|
const gchar *room_id,
|
||||||
const gchar *type,
|
const gchar *type,
|
||||||
const JsonNode *content,
|
JsonNode *content,
|
||||||
GError **error);
|
GError **error);
|
||||||
void matrix_api_get_room_tags(MatrixAPI *api,
|
void matrix_api_get_room_tags(MatrixAPI *api,
|
||||||
MatrixAPICallback callback,
|
MatrixAPICallback callback,
|
||||||
|
Loading…
Reference in New Issue
Block a user