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

@ -52,7 +52,6 @@ static void meta_window_set_stack_position_no_sync (MetaWindow *window,
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

View File

@ -332,7 +332,8 @@ GList * meta_stack_get_default_focus_candidates (MetaStack *stack,
*
* Finds all the windows in the stack, in order.
*
* Returns: A list of windows, in stacking order, honouring layers.
* Returns: (transfer container) (element-type Meta.Window):
* A list of windows, in stacking order, honouring layers.
*/
GList * meta_stack_list_windows (MetaStack *stack,
MetaWorkspace *workspace);
@ -380,7 +381,8 @@ void meta_window_set_stack_position (MetaWindow *window,
*
* Returns the current stack state, allowing rudimentary transactions.
*
* Returns: An opaque GList representing the current stack sort order;
* Returns: (transfer container) (element-type Meta.Window):
* An opaque #GList representing the current stack sort order;
* it is the caller's responsibility to free it.
* Pass this to meta_stack_set_positions() later if you want to restore
* the state to where it was when you called this function.