aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-send-recv.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-26 22:58:25 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-26 22:58:25 +0800
commit0cf607076dfc2c481ca1164a04cecdb0661e6bd0 (patch)
tree81b3c9a19871ba9777b1d4c4178308edff2087a0 /mail/mail-send-recv.c
parentf8730610042229f275a5a294df4c2eb5f225118e (diff)
downloadgsoc2013-evolution-0cf607076dfc2c481ca1164a04cecdb0661e6bd0.tar.gz
gsoc2013-evolution-0cf607076dfc2c481ca1164a04cecdb0661e6bd0.tar.zst
gsoc2013-evolution-0cf607076dfc2c481ca1164a04cecdb0661e6bd0.zip
Fix compiler warnings in mail.
Diffstat (limited to 'mail/mail-send-recv.c')
-rw-r--r--mail/mail-send-recv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c
index 0b81fca5ed..655f1dbf72 100644
--- a/mail/mail-send-recv.c
+++ b/mail/mail-send-recv.c
@@ -559,7 +559,7 @@ build_dialog (EAccountList *accounts, CamelFolder *outbox, const char *destinati
info->state = SEND_ACTIVE;
info->timeout_id = g_timeout_add (STATUS_TIMEOUT, operation_status_timeout, info);
- g_hash_table_insert (data->active, SEND_URI_KEY, info);
+ g_hash_table_insert (data->active, (gpointer) SEND_URI_KEY, info);
list = g_list_prepend (list, info);
} else if (info->timeout_id == 0)
info->timeout_id = g_timeout_add (STATUS_TIMEOUT, operation_status_timeout, info);
@@ -673,7 +673,7 @@ receive_status (CamelFilterDriver *driver, enum camel_filter_status_t status, in
/* when receive/send is complete */
static void
-receive_done (char *uri, void *data)
+receive_done (const gchar *uri, void *data)
{
struct _send_info *info = data;
@@ -1204,7 +1204,7 @@ mail_send (void)
d(printf("Adding new info %p\n", info));
- g_hash_table_insert (data->active, SEND_URI_KEY, info);
+ g_hash_table_insert (data->active, (gpointer) SEND_URI_KEY, info);
/* todo, store the folder in info? */
outbox_folder = mail_component_get_folder(NULL, MAIL_COMPONENT_FOLDER_OUTBOX);