aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@novell.com>2007-12-17 13:48:28 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2007-12-17 13:48:28 +0800
commit6ffd69a32e24a464cbda04d7c4467086f417c527 (patch)
treea0b85ad9bc0897ad91bb078250fba78496dc20a1 /mail
parent2093e3100243fb209ceb2c3a26d917124903dd8a (diff)
downloadgsoc2013-evolution-6ffd69a32e24a464cbda04d7c4467086f417c527.tar
gsoc2013-evolution-6ffd69a32e24a464cbda04d7c4467086f417c527.tar.gz
gsoc2013-evolution-6ffd69a32e24a464cbda04d7c4467086f417c527.tar.bz2
gsoc2013-evolution-6ffd69a32e24a464cbda04d7c4467086f417c527.tar.lz
gsoc2013-evolution-6ffd69a32e24a464cbda04d7c4467086f417c527.tar.xz
gsoc2013-evolution-6ffd69a32e24a464cbda04d7c4467086f417c527.tar.zst
gsoc2013-evolution-6ffd69a32e24a464cbda04d7c4467086f417c527.zip
Fix some compiler warnings.
2007-12-17 Srinivasa Ragavan <sragavan@novell.com> * mail-mt.c: (mail_msg_free), (mail_msg_check_error): Fix some compiler warnings. svn path=/trunk/; revision=34716
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog4
-rw-r--r--mail/mail-mt.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index fdf87579b3..9f187efc55 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,7 @@
+2007-12-17 Srinivasa Ragavan <sragavan@novell.com>
+
+ * mail-mt.c: (mail_msg_free), (mail_msg_check_error): Fix some compiler warnings.
+
2007-12-14 Milan Crha <mcrha@redhat.com>
** Fix for bug #211353
diff --git a/mail/mail-mt.c b/mail/mail-mt.c
index af5dfd741d..4dba37c7e3 100644
--- a/mail/mail-mt.c
+++ b/mail/mail-mt.c
@@ -238,7 +238,7 @@ void mail_msg_free(void *msg)
MAIL_MT_UNLOCK(mail_msg_lock);
- if (m->cancel && m->cancel != -1) {
+ if (m->cancel) {
camel_operation_mute(m->cancel);
camel_operation_unref(m->cancel);
}
@@ -309,7 +309,7 @@ void mail_msg_check_error(void *msg)
g_signal_connect(gd, "response", G_CALLBACK(error_response), m->ops);
g_signal_connect(gd, "destroy", G_CALLBACK(error_destroy), m->ops);
if (m->priv->cancelable)
- m->priv->error = gd;
+ m->priv->error = (GtkWidget *) gd;
else
gtk_widget_show((GtkWidget *)gd);
}