--- src/workspace.c.orig	Tue Feb 22 18:24:51 2005
+++ src/workspace.c	Tue Feb 22 18:31:25 2005
@@ -125,7 +125,7 @@ void
 meta_workspace_add_window (MetaWorkspace *workspace,
                            MetaWindow    *window)
 {
-  g_return_if_fail (window->workspace == NULL);
+  g_return_if_fail (workspace != NULL);
   
   /* If the window is on all workspaces, we want to add it to all mru
    * lists, otherwise just add it to this workspaces mru list
