[metacity] stack-tracker: make functions used only internally static



commit ae7a66056a8c5ba9a7d1dd40567fdd82472bfaf2
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Thu Sep 11 18:00:08 2014 -0400

    stack-tracker: 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 ea66576..3944bb1 100644
--- a/src/core/stack-tracker.c
+++ b/src/core/stack-tracker.c
@@ -525,7 +525,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,
                                        Window            window,
                                        Window            sibling,
@@ -541,7 +541,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,
                                        Window            window,
                                        Window            sibling,
@@ -557,14 +557,6 @@ meta_stack_tracker_record_lower_below (MetaStackTracker *tracker,
   stack_tracker_apply_prediction (tracker, op);
 }
 
-void
-meta_stack_tracker_record_lower (MetaStackTracker *tracker,
-                                 Window            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 0e6c5a1..d140c62 100644
--- a/src/core/stack-tracker.h
+++ b/src/core/stack-tracker.h
@@ -50,17 +50,6 @@ void meta_stack_tracker_record_add             (MetaStackTracker *tracker,
 void meta_stack_tracker_record_remove          (MetaStackTracker *tracker,
                                                 Window            window,
                                                 gulong            serial);
-void meta_stack_tracker_record_raise_above     (MetaStackTracker *tracker,
-                                                Window            window,
-                                                Window            sibling,
-                                                gulong            serial);
-void meta_stack_tracker_record_lower_below    (MetaStackTracker *tracker,
-                                                Window            window,
-                                                Window            sibling,
-                                                gulong            serial);
-void meta_stack_tracker_record_lower           (MetaStackTracker *tracker,
-                                                Window            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]