Add MATRIX_API_RESIZE_METHOD_DEFAULT to MatrixAPIResizeMethod

This commit is contained in:
Gergely Polonkai 2016-01-15 13:25:24 +01:00
parent 7ed72bffc1
commit 8f086dc40a
2 changed files with 2 additions and 0 deletions

View File

@ -117,6 +117,7 @@ G_DEFINE_QUARK(matrix-api-error-quark, matrix_api_error);
/** /**
* MatrixAPIResizeMethod: * MatrixAPIResizeMethod:
* @MATRIX_API_RESIZE_METHOD_DEFAULT: use the server default value
* @MATRIX_API_RESIZE_METHOD_CROP: crop thumbnail to the requested * @MATRIX_API_RESIZE_METHOD_CROP: crop thumbnail to the requested
* size * size
* @MATRIX_API_RESIZE_METHOD_SCALE: scale thumbnail to the requested * @MATRIX_API_RESIZE_METHOD_SCALE: scale thumbnail to the requested

View File

@ -57,6 +57,7 @@ typedef enum {
} MatrixAPIEventFormat; } MatrixAPIEventFormat;
typedef enum { typedef enum {
MATRIX_API_RESIZE_METHOD_DEFAULT,
MATRIX_API_RESIZE_METHOD_CROP, MATRIX_API_RESIZE_METHOD_CROP,
MATRIX_API_RESIZE_METHOD_SCALE MATRIX_API_RESIZE_METHOD_SCALE
} MatrixAPIResizeMethod; } MatrixAPIResizeMethod;