meta: Add META namespace to macros

To silence warnings during GIR generation.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/822
This commit is contained in:
Robert Mader
2019-10-02 20:23:41 +02:00
committed by Marco Trevisan
parent 5e7fa20f06
commit a8155a0471
5 changed files with 12 additions and 12 deletions

View File

@ -147,7 +147,7 @@ enum
_WGO_N = META_GRAB_OP_WINDOW_DIR_NORTH,
};
#define GRAB_OP_GET_BASE_TYPE(op) (op & 0x00FF)
#define META_GRAB_OP_GET_BASE_TYPE(op) (op & 0x00FF)
typedef enum
{
@ -507,7 +507,7 @@ void meta_frame_borders_clear (MetaFrameBorders *self);
/************************************************************/
#define POINT_IN_RECT(xcoord, ycoord, rect) \
#define META_POINT_IN_RECT(xcoord, ycoord, rect) \
((xcoord) >= (rect).x && \
(xcoord) < ((rect).x + (rect).width) && \
(ycoord) >= (rect).y && \