aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
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);
}