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
|
* @callback
|
||||||
* @content_type: (allow-none): the content type of the file being
|
* @content_type: (allow-none): the content type of the file being
|
||||||
* uploaded
|
* uploaded
|
||||||
* @content: the content to be uploaded
|
* @content: (transfer full): the content to be uploaded
|
||||||
* @error: return location for a #GError, or %NULL
|
* @error: return location for a #GError, or %NULL
|
||||||
*
|
*
|
||||||
* Upload some content to the content repository.
|
* Upload some content to the content repository.
|
||||||
@ -400,7 +400,7 @@ matrix_api_media_upload(MatrixAPI *api,
|
|||||||
MatrixAPICallback callback,
|
MatrixAPICallback callback,
|
||||||
gpointer user_data,
|
gpointer user_data,
|
||||||
const gchar *content_type,
|
const gchar *content_type,
|
||||||
const GByteArray *content,
|
GByteArray *content,
|
||||||
GError **error)
|
GError **error)
|
||||||
{
|
{
|
||||||
g_return_if_fail(MATRIX_IS_API(api));
|
g_return_if_fail(MATRIX_IS_API(api));
|
||||||
|
@ -82,7 +82,7 @@ struct _MatrixAPIInterface {
|
|||||||
MatrixAPICallback callback,
|
MatrixAPICallback callback,
|
||||||
gpointer user_data,
|
gpointer user_data,
|
||||||
const gchar *content_type,
|
const gchar *content_type,
|
||||||
const GByteArray *content,
|
GByteArray *content,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
/* Presence */
|
/* Presence */
|
||||||
@ -499,7 +499,7 @@ void matrix_api_media_upload(MatrixAPI *api,
|
|||||||
MatrixAPICallback callback,
|
MatrixAPICallback callback,
|
||||||
gpointer user_data,
|
gpointer user_data,
|
||||||
const gchar *content_type,
|
const gchar *content_type,
|
||||||
const GByteArray *content,
|
GByteArray *content,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
/* Presence */
|
/* Presence */
|
||||||
|
Loading…
Reference in New Issue
Block a user