[metacity] stack-tracker: make lower_below / raise_above internal as well



commit cc5e0bedf42951df18169421f7ba185e9f24e827
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Fri Sep 12 16:56:27 2014 -0600

    stack-tracker: make lower_below / raise_above internal as well
    
    These are unused elsewhere.

 src/core/stack-tracker.c |   18 +++++++++---------
 src/core/stack-tracker.h |    6 ------
 2 files changed, 9 insertions(+), 15 deletions(-)
---
diff --git a/src/core/stack-tracker.c b/src/core/stack-tracker.c
index 3944bb1..d7dfe32 100644
--- a/src/core/stack-tracker.c
+++ b/src/core/stack-tracker.c
@@ -832,7 +832,7 @@ meta_stack_tracker_queue_sync_stack (MetaStackTracker *tracker)
     }
 }
 
-void
+static void
 meta_stack_tracker_lower_below (MetaStackTracker *tracker,
                                 Window            window,
                                 Window            sibling)
@@ -858,14 +858,7 @@ meta_stack_tracker_lower_below (MetaStackTracker *tracker,
   meta_stack_tracker_record_lower_below (tracker, window, sibling, serial);
 }
 
-void
-meta_stack_tracker_lower (MetaStackTracker *tracker,
-                          Window            window)
-{
-  meta_stack_tracker_raise_above (tracker, window, None);
-}
-
-void
+static void
 meta_stack_tracker_raise_above (MetaStackTracker *tracker,
                                 Window            window,
                                 Window            sibling)
@@ -892,6 +885,13 @@ meta_stack_tracker_raise_above (MetaStackTracker *tracker,
 }
 
 void
+meta_stack_tracker_lower (MetaStackTracker *tracker,
+                          Window            window)
+{
+  meta_stack_tracker_raise_above (tracker, window, None);
+}
+
+void
 meta_stack_tracker_restack_managed (MetaStackTracker *tracker,
                                     const Window     *managed,
                                     int               n_managed)
diff --git a/src/core/stack-tracker.h b/src/core/stack-tracker.h
index d140c62..94cf2a5 100644
--- a/src/core/stack-tracker.h
+++ b/src/core/stack-tracker.h
@@ -53,12 +53,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,
-                                           Window            window,
-                                           Window            sibling);
-void meta_stack_tracker_lower_below       (MetaStackTracker *tracker,
-                                           Window            window,
-                                           Window            sibling);
 void meta_stack_tracker_lower             (MetaStackTracker *tracker,
                                            Window            window);
 void meta_stack_tracker_restack_managed   (MetaStackTracker *tracker,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]