aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2009-02-20 00:30:25 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2009-02-20 00:30:25 +0800
commit567453082a1ee766d207847ccea0e9ff948133d7 (patch)
tree41a384abbe38cde7424531837a2d6029921417c5 /shell/e-shell.c
parent1b782407524f2ca4a2dc4849098a21f9d1bdff09 (diff)
downloadgsoc2013-evolution-567453082a1ee766d207847ccea0e9ff948133d7.tar
gsoc2013-evolution-567453082a1ee766d207847ccea0e9ff948133d7.tar.gz
gsoc2013-evolution-567453082a1ee766d207847ccea0e9ff948133d7.tar.bz2
gsoc2013-evolution-567453082a1ee766d207847ccea0e9ff948133d7.tar.lz
gsoc2013-evolution-567453082a1ee766d207847ccea0e9ff948133d7.tar.xz
gsoc2013-evolution-567453082a1ee766d207847ccea0e9ff948133d7.tar.zst
gsoc2013-evolution-567453082a1ee766d207847ccea0e9ff948133d7.zip
Fix crash on exit.
svn path=/branches/kill-bonobo/; revision=37297
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r--shell/e-shell.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c
index fa25edd463..6e52d8bbef 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -848,6 +848,8 @@ shell_init (EShell *shell)
shell->priv->modules_by_scheme = modules_by_scheme;
shell->priv->safe_mode = e_file_lock_exists ();
+ g_object_ref_sink (shell->priv->preferences_window);
+
#if NM_SUPPORT
e_shell_dbus_initialize (shell);
#endif