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

@ -1071,7 +1071,7 @@ meta_get_display (void)
static inline gboolean
grab_op_is_window (MetaGrabOp op)
{
return GRAB_OP_GET_BASE_TYPE (op) == META_GRAB_OP_WINDOW_BASE;
return META_GRAB_OP_GET_BASE_TYPE (op) == META_GRAB_OP_WINDOW_BASE;
}
gboolean
@ -1674,7 +1674,7 @@ get_first_freefloating_window (MetaWindow *window)
static MetaEventRoute
get_event_route_from_grab_op (MetaGrabOp op)
{
switch (GRAB_OP_GET_BASE_TYPE (op))
switch (META_GRAB_OP_GET_BASE_TYPE (op))
{
case META_GRAB_OP_NONE:
/* begin_grab_op shouldn't be called with META_GRAB_OP_NONE. */

View File

@ -1146,7 +1146,7 @@ window_contains_point (MetaWindow *window,
meta_window_get_frame_rect (window, &rect);
return POINT_IN_RECT (root_x, root_y, rect);
return META_POINT_IN_RECT (root_x, root_y, rect);
}
static gboolean