Remove unused meta_stack_get_bottom
Unused since 1b3a58c951
("...").
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3154>
This commit is contained in:
parent
830f8fcf06
commit
16e8bb34de
@ -942,20 +942,6 @@ meta_stack_get_top (MetaStack *stack)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
MetaWindow *
|
|
||||||
meta_stack_get_bottom (MetaStack *stack)
|
|
||||||
{
|
|
||||||
GList *link;
|
|
||||||
|
|
||||||
stack_ensure_sorted (stack);
|
|
||||||
|
|
||||||
link = g_list_last (stack->sorted);
|
|
||||||
if (link != NULL)
|
|
||||||
return link->data;
|
|
||||||
else
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
MetaWindow *
|
MetaWindow *
|
||||||
meta_stack_get_above (MetaStack *stack,
|
meta_stack_get_above (MetaStack *stack,
|
||||||
MetaWindow *window,
|
MetaWindow *window,
|
||||||
|
@ -210,16 +210,6 @@ void meta_stack_thaw (MetaStack *stack);
|
|||||||
*/
|
*/
|
||||||
MetaWindow * meta_stack_get_top (MetaStack *stack);
|
MetaWindow * meta_stack_get_top (MetaStack *stack);
|
||||||
|
|
||||||
/**
|
|
||||||
* meta_stack_get_bottom:
|
|
||||||
* @stack: The stack to search
|
|
||||||
*
|
|
||||||
* Finds the window at the bottom of the stack. Since that's pretty much
|
|
||||||
* always the desktop, this isn't the most useful of functions, and nobody
|
|
||||||
* actually calls it. We should probably get rid of it.
|
|
||||||
*/
|
|
||||||
MetaWindow * meta_stack_get_bottom (MetaStack *stack);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* meta_stack_get_above:
|
* meta_stack_get_above:
|
||||||
* @stack: The stack to search.
|
* @stack: The stack to search.
|
||||||
|
Loading…
Reference in New Issue
Block a user