[mutter] MetaStackTracker: make functions used only internally static
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] MetaStackTracker: make functions used only internally static
- Date: Fri, 12 Sep 2014 17:45:11 +0000 (UTC)
commit 87779ed34e370d6a418c5a0c87c45f8dfa18174b
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Thu Sep 11 18:00:08 2014 -0400
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
src/core/stack-tracker.c | 12 ++----------
src/core/stack-tracker.h | 11 -----------
2 files changed, 2 insertions(+), 21 deletions(-)
---
diff --git a/src/core/stack-tracker.c b/src/core/stack-tracker.c
index b328d5e..c916e0f 100644
--- a/src/core/stack-tracker.c
+++ b/src/core/stack-tracker.c
@@ -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)
diff --git a/src/core/stack-tracker.h b/src/core/stack-tracker.h
index e787feb..05242fb 100644
--- a/src/core/stack-tracker.h
+++ b/src/core/stack-tracker.h
@@ -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
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]