[evolution] Fix a runtime warning.



commit 8f7b23276dfdbc8e62d9c594556c11fd2ce9b199
Author: Matthew Barnes <mbarnes redhat com>
Date:   Fri Aug 13 21:00:35 2010 -0400

    Fix a runtime warning.

 modules/mail/e-mail-shell-backend.c |    4 ++--
 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 d740094..6655edb 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;
 	}
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]