aboutsummaryrefslogtreecommitdiffstats
path: root/shell/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/main.c')
-rw-r--r--shell/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/main.c b/shell/main.c
index 57e3d6cea0..40e6d0aaad 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -59,6 +59,9 @@ no_views_left_cb (EShell *shell, gpointer data)
/* FIXME: This is wrong. We should exit only when the shell is
destroyed. But refcounting is broken at present, so this is a
reasonable workaround for now. */
+
+ bonobo_object_unref (BONOBO_OBJECT (shell));
+
gtk_main_quit ();
}