[mutter] Remove unused dock_windows list from MetaCompScreen
- From: Owen Taylor <otaylor src gnome org>
- To: svn-commits-list gnome org
- Subject: [mutter] Remove unused dock_windows list from MetaCompScreen
- Date: Mon, 6 Jul 2009 07:44:49 +0000 (UTC)
commit 309a07bf4ca1022030f44a2b48c3148174851a99
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Sat Jun 27 13:05:34 2009 -0400
Remove unused dock_windows list from MetaCompScreen
MetaCompScreen.dock_windows was kept updated, but never used.
http://bugzilla.gnome.org/show_bug.cgi?id=587251
src/compositor/compositor-private.h | 1 -
src/compositor/mutter-window.c | 12 ------------
2 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/src/compositor/compositor-private.h b/src/compositor/compositor-private.h
index 986c570..7d4e97e 100644
--- a/src/compositor/compositor-private.h
+++ b/src/compositor/compositor-private.h
@@ -37,7 +37,6 @@ struct _MetaCompScreen
GHashTable *windows_by_xid;
MetaWindow *focus_window;
Window output;
- GSList *dock_windows;
/* Before we create the output window */
XserverRegion pending_input_region;
diff --git a/src/compositor/mutter-window.c b/src/compositor/mutter-window.c
index 3a95067..5c3261d 100644
--- a/src/compositor/mutter-window.c
+++ b/src/compositor/mutter-window.c
@@ -400,12 +400,6 @@ mutter_window_dispose (GObject *object)
priv->damage = None;
}
- /*
- * Check we are not in the dock list -- FIXME (do this in a cleaner way)
- */
- if (priv->type == META_COMP_WINDOW_DOCK)
- info->dock_windows = g_slist_remove (info->dock_windows, self);
-
info->windows = g_list_remove (info->windows, (gconstpointer) self);
g_hash_table_remove (info->windows_by_xid, (gpointer) priv->xwindow);
@@ -1218,12 +1212,6 @@ mutter_window_new (MetaWindow *window)
CLUTTER_ACTOR (self));
clutter_actor_hide (CLUTTER_ACTOR (self));
- if (priv->type == META_COMP_WINDOW_DOCK)
- {
- meta_verbose ("Appending %s to dock windows\n", meta_window_get_description (window));
- info->dock_windows = g_slist_append (info->dock_windows, self);
- }
-
/*
* Add this to the list at the top of the stack before it is mapped so that
* map_win can find it again
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]