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
This commit is contained in:
Owen W. Taylor 2009-06-27 13:05:34 -04:00
parent a0f06cab43
commit 309a07bf4c
2 changed files with 0 additions and 13 deletions

View File

@ -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;

View File

@ -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