MetaStackTracker: make functions used only internally static

Now that all actual stack shuffle is handled inside stack-tracker.c, we can make
meta_stack_tracker_record_[raise_above/lower_below] internal to that file and
remove the unused meta_stack_tracker_record_lower().

https://bugzilla.gnome.org/show_bug.cgi?id=736559
This commit is contained in:
Owen W. Taylor 2014-09-11 18:00:08 -04:00
parent 04bc846ef3
commit 87779ed34e
2 changed files with 2 additions and 21 deletions

View File

@ -590,7 +590,7 @@ meta_stack_tracker_record_remove (MetaStackTracker *tracker,
stack_tracker_apply_prediction (tracker, op); stack_tracker_apply_prediction (tracker, op);
} }
void static void
meta_stack_tracker_record_raise_above (MetaStackTracker *tracker, meta_stack_tracker_record_raise_above (MetaStackTracker *tracker,
guint64 window, guint64 window,
guint64 sibling, guint64 sibling,
@ -606,7 +606,7 @@ meta_stack_tracker_record_raise_above (MetaStackTracker *tracker,
stack_tracker_apply_prediction (tracker, op); stack_tracker_apply_prediction (tracker, op);
} }
void static void
meta_stack_tracker_record_lower_below (MetaStackTracker *tracker, meta_stack_tracker_record_lower_below (MetaStackTracker *tracker,
guint64 window, guint64 window,
guint64 sibling, guint64 sibling,
@ -622,14 +622,6 @@ meta_stack_tracker_record_lower_below (MetaStackTracker *tracker,
stack_tracker_apply_prediction (tracker, op); stack_tracker_apply_prediction (tracker, op);
} }
void
meta_stack_tracker_record_lower (MetaStackTracker *tracker,
guint64 window,
gulong serial)
{
meta_stack_tracker_record_raise_above (tracker, window, None, serial);
}
static void static void
stack_tracker_event_received (MetaStackTracker *tracker, stack_tracker_event_received (MetaStackTracker *tracker,
MetaStackOp *op) MetaStackOp *op)

View File

@ -51,17 +51,6 @@ void meta_stack_tracker_record_add (MetaStackTracker *tracker,
void meta_stack_tracker_record_remove (MetaStackTracker *tracker, void meta_stack_tracker_record_remove (MetaStackTracker *tracker,
guint64 window, guint64 window,
gulong serial); gulong serial);
void meta_stack_tracker_record_raise_above (MetaStackTracker *tracker,
guint64 window,
guint64 sibling,
gulong serial);
void meta_stack_tracker_record_lower_below (MetaStackTracker *tracker,
guint64 window,
guint64 sibling,
gulong serial);
void meta_stack_tracker_record_lower (MetaStackTracker *tracker,
guint64 window,
gulong serial);
/* We also have functions that also go ahead and do the work /* We also have functions that also go ahead and do the work
*/ */