stack-tracker: Make lower_below / raise_above internal as well

These are unused elsewhere.
This commit is contained in:
Jasper St. Pierre 2014-09-12 16:56:27 -06:00
parent 611f6741c2
commit 2833c702c6
2 changed files with 9 additions and 15 deletions

View File

@ -966,7 +966,7 @@ find_x11_sibling_upwards (MetaStackTracker *tracker,
return None;
}
void
static void
meta_stack_tracker_lower_below (MetaStackTracker *tracker,
guint64 window,
guint64 sibling)
@ -1000,14 +1000,7 @@ meta_stack_tracker_lower_below (MetaStackTracker *tracker,
serial);
}
void
meta_stack_tracker_lower (MetaStackTracker *tracker,
guint64 window)
{
meta_stack_tracker_raise_above (tracker, window, None);
}
void
static void
meta_stack_tracker_raise_above (MetaStackTracker *tracker,
guint64 window,
guint64 sibling)
@ -1040,6 +1033,13 @@ meta_stack_tracker_raise_above (MetaStackTracker *tracker,
sibling, serial);
}
void
meta_stack_tracker_lower (MetaStackTracker *tracker,
guint64 window)
{
meta_stack_tracker_raise_above (tracker, window, None);
}
void
meta_stack_tracker_restack_managed (MetaStackTracker *tracker,
const guint64 *managed,

View File

@ -54,12 +54,6 @@ void meta_stack_tracker_record_remove (MetaStackTracker *tracker,
/* We also have functions that also go ahead and do the work
*/
void meta_stack_tracker_raise_above (MetaStackTracker *tracker,
guint64 window,
guint64 sibling);
void meta_stack_tracker_lower_below (MetaStackTracker *tracker,
guint64 window,
guint64 sibling);
void meta_stack_tracker_lower (MetaStackTracker *tracker,
guint64 window);