mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
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:

committed by
Marco Trevisan

parent
5e7fa20f06
commit
a8155a0471
@ -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. */
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user