stack: Style and introspection doc fixes

https://gitlab.gnome.org/GNOME/mutter/merge_requests/669
This commit is contained in:
Marco Trevisan (Treviño)
2019-07-04 13:03:40 +02:00
parent 6d8293a422
commit 62f4e0501f
2 changed files with 62 additions and 61 deletions

View File

@ -49,10 +49,9 @@
static void meta_window_set_stack_position_no_sync (MetaWindow *window,
int position);
static void stack_do_relayer (MetaStack *stack);
static void stack_do_constrain (MetaStack *stack);
static void stack_do_resort (MetaStack *stack);
static void stack_do_relayer (MetaStack *stack);
static void stack_do_constrain (MetaStack *stack);
static void stack_do_resort (MetaStack *stack);
static void stack_ensure_sorted (MetaStack *stack);
enum
@ -969,7 +968,7 @@ stack_ensure_sorted (MetaStack *stack)
stack_do_resort (stack);
}
MetaWindow*
MetaWindow *
meta_stack_get_top (MetaStack *stack)
{
stack_ensure_sorted (stack);
@ -980,7 +979,7 @@ meta_stack_get_top (MetaStack *stack)
return NULL;
}
MetaWindow*
MetaWindow *
meta_stack_get_bottom (MetaStack *stack)
{
GList *link;
@ -994,10 +993,10 @@ meta_stack_get_bottom (MetaStack *stack)
return NULL;
}
MetaWindow*
meta_stack_get_above (MetaStack *stack,
MetaWindow *window,
gboolean only_within_layer)
MetaWindow *
meta_stack_get_above (MetaStack *stack,
MetaWindow *window,
gboolean only_within_layer)
{
GList *link;
MetaWindow *above;
@ -1019,10 +1018,10 @@ meta_stack_get_above (MetaStack *stack,
return above;
}
MetaWindow*
meta_stack_get_below (MetaStack *stack,
MetaWindow *window,
gboolean only_within_layer)
MetaWindow *
meta_stack_get_below (MetaStack *stack,
MetaWindow *window,
gboolean only_within_layer)
{
GList *link;
MetaWindow *below;
@ -1078,7 +1077,7 @@ window_can_get_default_focus (MetaWindow *window)
return TRUE;
}
static MetaWindow*
static MetaWindow *
get_default_focus_window (MetaStack *stack,
MetaWorkspace *workspace,
MetaWindow *not_this_one,
@ -1117,7 +1116,7 @@ get_default_focus_window (MetaStack *stack,
return NULL;
}
MetaWindow*
MetaWindow *
meta_stack_get_default_focus_window_at_point (MetaStack *stack,
MetaWorkspace *workspace,
MetaWindow *not_this_one,
@ -1128,7 +1127,7 @@ meta_stack_get_default_focus_window_at_point (MetaStack *stack,
TRUE, root_x, root_y);
}
MetaWindow*
MetaWindow *
meta_stack_get_default_focus_window (MetaStack *stack,
MetaWorkspace *workspace,
MetaWindow *not_this_one)
@ -1137,7 +1136,7 @@ meta_stack_get_default_focus_window (MetaStack *stack,
FALSE, 0, 0);
}
GList*
GList *
meta_stack_list_windows (MetaStack *stack,
MetaWorkspace *workspace)
{
@ -1186,9 +1185,9 @@ meta_stack_get_default_focus_candidates (MetaStack *stack,
}
int
meta_stack_windows_cmp (MetaStack *stack,
MetaWindow *window_a,
MetaWindow *window_b)
meta_stack_windows_cmp (MetaStack *stack,
MetaWindow *window_a,
MetaWindow *window_b)
{
/* -1 means a below b */
@ -1221,7 +1220,7 @@ compare_just_window_stack_position (void *a,
return 0; /* not reached */
}
GList*
GList *
meta_stack_get_positions (MetaStack *stack)
{
GList *tmp;