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:
parent
04bc846ef3
commit
87779ed34e
@ -590,7 +590,7 @@ meta_stack_tracker_record_remove (MetaStackTracker *tracker,
|
||||
stack_tracker_apply_prediction (tracker, op);
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
meta_stack_tracker_record_raise_above (MetaStackTracker *tracker,
|
||||
guint64 window,
|
||||
guint64 sibling,
|
||||
@ -606,7 +606,7 @@ meta_stack_tracker_record_raise_above (MetaStackTracker *tracker,
|
||||
stack_tracker_apply_prediction (tracker, op);
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
meta_stack_tracker_record_lower_below (MetaStackTracker *tracker,
|
||||
guint64 window,
|
||||
guint64 sibling,
|
||||
@ -622,14 +622,6 @@ meta_stack_tracker_record_lower_below (MetaStackTracker *tracker,
|
||||
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
|
||||
stack_tracker_event_received (MetaStackTracker *tracker,
|
||||
MetaStackOp *op)
|
||||
|
@ -51,17 +51,6 @@ void meta_stack_tracker_record_add (MetaStackTracker *tracker,
|
||||
void meta_stack_tracker_record_remove (MetaStackTracker *tracker,
|
||||
guint64 window,
|
||||
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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user