Remove const
constraint from media_upload’s content
This commit is contained in:
parent
59ae4b266f
commit
84c0eb569d
@ -390,7 +390,7 @@ matrix_api_media_thumbnail(MatrixAPI *api,
|
||||
* @callback
|
||||
* @content_type: (allow-none): the content type of the file being
|
||||
* uploaded
|
||||
* @content: the content to be uploaded
|
||||
* @content: (transfer full): the content to be uploaded
|
||||
* @error: return location for a #GError, or %NULL
|
||||
*
|
||||
* Upload some content to the content repository.
|
||||
@ -400,7 +400,7 @@ matrix_api_media_upload(MatrixAPI *api,
|
||||
MatrixAPICallback callback,
|
||||
gpointer user_data,
|
||||
const gchar *content_type,
|
||||
const GByteArray *content,
|
||||
GByteArray *content,
|
||||
GError **error)
|
||||
{
|
||||
g_return_if_fail(MATRIX_IS_API(api));
|
||||
|
@ -82,7 +82,7 @@ struct _MatrixAPIInterface {
|
||||
MatrixAPICallback callback,
|
||||
gpointer user_data,
|
||||
const gchar *content_type,
|
||||
const GByteArray *content,
|
||||
GByteArray *content,
|
||||
GError **error);
|
||||
|
||||
/* Presence */
|
||||
@ -499,7 +499,7 @@ void matrix_api_media_upload(MatrixAPI *api,
|
||||
MatrixAPICallback callback,
|
||||
gpointer user_data,
|
||||
const gchar *content_type,
|
||||
const GByteArray *content,
|
||||
GByteArray *content,
|
||||
GError **error);
|
||||
|
||||
/* Presence */
|
||||
|
Loading…
Reference in New Issue
Block a user