aboutsummaryrefslogtreecommitdiffstats
path: root/shell/main.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-06-25 14:36:22 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-06-25 14:36:22 +0800
commit060e43e79b6886b05e568e36af6d865403ba26c1 (patch)
treea34537bf72ddb07e38089adcfd0bd0eee531b5f3 /shell/main.c
parentd11dd5c6a7561f5e8de21287976ac54ce6eed56d (diff)
downloadgsoc2013-evolution-060e43e79b6886b05e568e36af6d865403ba26c1.tar.gz
gsoc2013-evolution-060e43e79b6886b05e568e36af6d865403ba26c1.tar.zst
gsoc2013-evolution-060e43e79b6886b05e568e36af6d865403ba26c1.zip
Fixed a nasty chain of broken fixes to broken fixes to broken fixes,
thus getting the shell refcounting in better shape. The quit sequence is still not quite right, but we are getting there. Also fixed a nasty bug in destroying the EStorageSet due to a very old commit by the Meekster. svn path=/trunk/; revision=10470
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 ();
}