aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell-window.c')
-rw-r--r--shell/e-shell-window.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/shell/e-shell-window.c b/shell/e-shell-window.c
index f22d30e1fd..c838235616 100644
--- a/shell/e-shell-window.c
+++ b/shell/e-shell-window.c
@@ -143,8 +143,7 @@ shell_window_set_shell (EShellWindow *shell_window,
shell_window->priv->shell = shell;
g_object_add_weak_pointer (
- G_OBJECT (shell_window),
- &shell_window->priv->shell);
+ G_OBJECT (shell), &shell_window->priv->shell);
/* Need to disconnect these when the window is closing. */