diff --git a/src/core/stack.c b/src/core/stack.c index 2a4e83e8a..fc7c71ad0 100644 --- a/src/core/stack.c +++ b/src/core/stack.c @@ -942,20 +942,6 @@ meta_stack_get_top (MetaStack *stack) 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 * meta_stack_get_above (MetaStack *stack, MetaWindow *window, diff --git a/src/core/stack.h b/src/core/stack.h index 1be792a36..ef7459cdd 100644 --- a/src/core/stack.h +++ b/src/core/stack.h @@ -210,16 +210,6 @@ void meta_stack_thaw (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: * @stack: The stack to search.