aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail/e-mail-shell-backend.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-08-14 09:00:35 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-08-14 09:00:35 +0800
commit8f7b23276dfdbc8e62d9c594556c11fd2ce9b199 (patch)
tree01f228b56683dbc2b71b47a247ce37eed9383450 /modules/mail/e-mail-shell-backend.c
parent6cb0cbd0be5791aa0af1f78ce44c7a6563611d8f (diff)
downloadgsoc2013-evolution-8f7b23276dfdbc8e62d9c594556c11fd2ce9b199.tar
gsoc2013-evolution-8f7b23276dfdbc8e62d9c594556c11fd2ce9b199.tar.gz
gsoc2013-evolution-8f7b23276dfdbc8e62d9c594556c11fd2ce9b199.tar.bz2
gsoc2013-evolution-8f7b23276dfdbc8e62d9c594556c11fd2ce9b199.tar.lz
gsoc2013-evolution-8f7b23276dfdbc8e62d9c594556c11fd2ce9b199.tar.xz
gsoc2013-evolution-8f7b23276dfdbc8e62d9c594556c11fd2ce9b199.tar.zst
gsoc2013-evolution-8f7b23276dfdbc8e62d9c594556c11fd2ce9b199.zip
Fix a runtime warning.
Diffstat (limited to 'modules/mail/e-mail-shell-backend.c')
-rw-r--r--modules/mail/e-mail-shell-backend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mail/e-mail-shell-backend.c b/modules/mail/e-mail-shell-backend.c
index d740094a15..6655edb4af 100644
--- a/modules/mail/e-mail-shell-backend.c
+++ b/modules/mail/e-mail-shell-backend.c
@@ -427,9 +427,9 @@ mail_shell_backend_window_created_cb (EShell *shell,
mail_shell_backend_window_weak_notify_cb, shell);
if (first_time) {
- g_signal_connect (
+ g_signal_connect_swapped (
window, "map-event",
- G_CALLBACK (e_msg_composer_check_autosave), NULL);
+ G_CALLBACK (e_msg_composer_check_autosave), shell);
first_time = FALSE;
}
}