aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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