From de1bb4e2037d7bf8f275d90a17c3f53743c087e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 30 Jan 2014 18:05:01 +0100 Subject: [PATCH] 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, 23 deletions(-) diff --git a/src/shell-window-tracker.c b/src/shell-window-tracker.c index b9063d807..0fb1ca6dd 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 14626bf60..e75e3794a 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);