Move the ReceiptType enum to Vala
This commit is contained in:
		| @@ -56,11 +56,6 @@ namespace Matrix { | ||||
|         PRIVATE; | ||||
|     } | ||||
|  | ||||
|     [CCode (cheader_filename = "matrix-enumtypes.h", cprefix = "MATRIX_RECEIPT_TYPE_")] | ||||
|     public enum ReceiptType { | ||||
|         READ; | ||||
|     } | ||||
|  | ||||
|     [CCode (cheader_filename = "matrix-types.h")] | ||||
|     public class StateEvent { | ||||
|         public Json.Node? get_json_node(); | ||||
|   | ||||
| @@ -76,6 +76,13 @@ namespace Matrix { | ||||
|         UNDERRIDE; /// lowest priority rules | ||||
|     } | ||||
|  | ||||
|     /** | ||||
|      * Receipt types of acknowledgment. | ||||
|      */ | ||||
|     public enum ReceiptType { | ||||
|         READ; /// indicate that the message has been read | ||||
|     } | ||||
|  | ||||
|     /** | ||||
|      * Resizing methods for matrix_api_media_thumbnail(). | ||||
|      */ | ||||
|   | ||||
| @@ -135,13 +135,6 @@ G_DEFINE_QUARK(matrix-error-quark, matrix_error); | ||||
|  * rules. | ||||
|  */ | ||||
|  | ||||
| /** | ||||
|  * MatrixReceiptType: | ||||
|  * @MATRIX_RECEIPT_TYPE_READ: indicate that the message has been read | ||||
|  * | ||||
|  * Receipt types of acknowledgment. | ||||
|  */ | ||||
|  | ||||
| /** | ||||
|  * MatrixStateEvent: | ||||
|  * | ||||
|   | ||||
| @@ -85,10 +85,6 @@ typedef enum { | ||||
|     MATRIX_ROOM_VISIBILITY_PRIVATE | ||||
| } MatrixRoomVisibility; | ||||
|  | ||||
| typedef enum { | ||||
|     MATRIX_RECEIPT_TYPE_READ | ||||
| } MatrixReceiptType; | ||||
|  | ||||
| typedef struct _MatrixStateEvent MatrixStateEvent; | ||||
|  | ||||
| GType matrix_state_event_get_type(void); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user