From 6ffd69a32e24a464cbda04d7c4467086f417c527 Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Mon, 17 Dec 2007 05:48:28 +0000 Subject: Fix some compiler warnings. 2007-12-17 Srinivasa Ragavan * mail-mt.c: (mail_msg_free), (mail_msg_check_error): Fix some compiler warnings. svn path=/trunk/; revision=34716 --- mail/ChangeLog | 4 ++++ mail/mail-mt.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'mail') 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 + + * mail-mt.c: (mail_msg_free), (mail_msg_check_error): Fix some compiler warnings. + 2007-12-14 Milan Crha ** 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); } -- cgit