aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-callbacks.c
diff options
context:
space:
mode:
authorLarry Ewing <lewing@ximian.com>2003-01-19 13:17:04 +0800
committerLarry Ewing <lewing@src.gnome.org>2003-01-19 13:17:04 +0800
commite528cb37515fabaea482c38f1ed38216b870bfa8 (patch)
tree198e6bb74a7a1c3d805cc5081742b916e3e22740 /mail/mail-callbacks.c
parent90b99c2c2b98219701208552521ab13db8a2af71 (diff)
downloadgsoc2013-evolution-e528cb37515fabaea482c38f1ed38216b870bfa8.tar.gz
gsoc2013-evolution-e528cb37515fabaea482c38f1ed38216b870bfa8.tar.zst
gsoc2013-evolution-e528cb37515fabaea482c38f1ed38216b870bfa8.zip
e_question returns a boolean, don't test for a specific value.
2003-01-18 Larry Ewing <lewing@ximian.com> * mail-callbacks.c (save_msg_ok): e_question returns a boolean, don't test for a specific value. svn path=/trunk/; revision=19518
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r--mail/mail-callbacks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index 07ccf89000..7432506a27 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -2453,7 +2453,7 @@ save_msg_ok (GtkWidget *widget, gpointer user_data)
_("`%s' already exists.\nOverwrite it?"), path);
}
- if (ret == GTK_RESPONSE_OK) {
+ if (ret) {
folder = g_object_get_data ((GObject *) user_data, "folder");
uids = g_object_steal_data (G_OBJECT (user_data), "uids");
mail_save_messages (folder, uids, path, NULL, NULL);