[evolution/gnome-3-2] Fix a typo in a commit for a bug #666490
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-2] Fix a typo in a commit for a bug #666490
- Date: Thu, 22 Dec 2011 17:12:25 +0000 (UTC)
commit 1cc10110e59368929de65c131ed12d91e4c26c2c
Author: Milan Crha <mcrha redhat com>
Date: Thu Dec 22 18:12:09 2011 +0100
Fix a typo in a commit for a bug #666490
mail/e-mail-session.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/mail/e-mail-session.c b/mail/e-mail-session.c
index 7a19c75..00c4587 100644
--- a/mail/e-mail-session.c
+++ b/mail/e-mail-session.c
@@ -219,9 +219,14 @@ user_message_exec (struct _user_message_msg *m,
user_message_response (
user_message_dialog, response, m);
} else {
+ gpointer user_data = m;
+
+ if (!m->allow_cancel)
+ user_data = NULL;
+
g_signal_connect (
user_message_dialog, "response",
- G_CALLBACK (user_message_response), NULL);
+ G_CALLBACK (user_message_response), user_data);
gtk_widget_show (user_message_dialog);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]