diff -up libwnck-2.19.5/libwnck/pager.c.crash-on-shutdown libwnck-2.19.5/libwnck/pager.c
--- libwnck-2.19.5/libwnck/pager.c.crash-on-shutdown 2007-07-24 13:52:43.000000000 -0400
+++ libwnck-2.19.5/libwnck/pager.c 2007-07-24 13:53:47.000000000 -0400
@@ -622,6 +622,16 @@ get_workspace_rect (WnckPager *pager,
n_spaces = wnck_screen_get_workspace_count (pager->priv->screen);
+ if (n_spaces == 0)
+ {
+ rect->x = 0;
+ rect->y = 0;
+ rect->width = 0;
+ rect->height = 0;
+
+ return;
+ }
+
g_assert (pager->priv->n_rows > 0);
spaces_per_row = (n_spaces + pager->priv->n_rows - 1) / pager->priv->n_rows;