[gnome-shell] window-tracker: Remove is_window_interesting()



commit de1bb4e2037d7bf8f275d90a17c3f53743c087e7
Author: Florian Müllner <fmuellner gnome org>
Date:   Thu Jan 30 18:05:01 2014 +0100

    window-tracker: Remove is_window_interesting()
    
    It is now unused, so kill it.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=723308

 src/shell-window-tracker.c |   21 ---------------------
 src/shell-window-tracker.h |    2 --
 2 files changed, 0 insertions(+), 23 deletions(-)
---
diff --git a/src/shell-window-tracker.c b/src/shell-window-tracker.c
index b9063d8..0fb1ca6 100644
--- a/src/shell-window-tracker.c
+++ b/src/shell-window-tracker.c
@@ -126,27 +126,6 @@ shell_window_tracker_class_init (ShellWindowTrackerClass *klass)
                                                    G_TYPE_NONE, 0);
 }
 
-/**
- * shell_window_tracker_is_window_interesting:
- *
- * The ShellWindowTracker associates certain kinds of windows with
- * applications; however, others we don't want to
- * appear in places where we want to give a list of windows
- * for an application, such as the alt-tab dialog.
- *
- * An example of a window we don't want to show is the root
- * desktop window.  We skip all override-redirect types, and also
- * exclude other window types like tooltip explicitly, though generally
- * most of these should be override-redirect.
- *
- * Returns: %TRUE iff a window is "interesting"
- */
-gboolean
-shell_window_tracker_is_window_interesting (MetaWindow *window)
-{
-  return !meta_window_is_skip_taskbar (window);
-}
-
 /*
  * get_app_from_window_wmclass:
  *
diff --git a/src/shell-window-tracker.h b/src/shell-window-tracker.h
index 14626bf..e75e379 100644
--- a/src/shell-window-tracker.h
+++ b/src/shell-window-tracker.h
@@ -35,8 +35,6 @@ ShellApp *shell_window_tracker_get_window_app (ShellWindowTracker *tracker, Meta
 
 ShellApp *shell_window_tracker_get_app_from_pid (ShellWindowTracker *tracker, int pid);
 
-gboolean shell_window_tracker_is_window_interesting (MetaWindow *window);
-
 const char *_shell_window_tracker_get_app_context (ShellWindowTracker *tracker, ShellApp *app);
 
 GSList *shell_window_tracker_get_startup_sequences (ShellWindowTracker *tracker);


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