From 377513db1f7bbe49122a981bce1efb7295e09094 Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Mon, 14 Aug 2000 15:18:44 +0000 Subject: Compile fix for RH7.0beta from Kenny Graunke ; unprototype the disabled mail functions svn path=/trunk/; revision=4836 --- mail/ChangeLog | 4 ++++ mail/mail-ops.c | 2 +- mail/mail-threads.h | 3 +++ 3 files changed, 8 insertions(+), 1 deletion(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 62abf833ca..06a4521008 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,7 @@ +2000-08-14 Peter Williams + + * mail-ops.c (do_scan_subfolders): Silence a compile warning. + 2000-08-13 Jeffrey Stedfast * mail-crypto.c (mail_crypto_openpgp_encrypt): Added support for diff --git a/mail/mail-ops.c b/mail/mail-ops.c index 59c2f66ecc..3262237e13 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -796,7 +796,7 @@ do_scan_subfolders (gpointer in_data, gpointer op_data, CamelException *ex) info = g_new (scan_subfolders_folderinfo_t, 1); info->path = g_strdup_printf ("/%s", (char *) lsub->pdata[i]); info->uri = g_strdup_printf ("%s%s%s", input->source_uri, splice, - lsub->pdata[i]); + (char *)lsub->pdata[i]); g_ptr_array_add (data->new_folders, info); } diff --git a/mail/mail-threads.h b/mail/mail-threads.h index b84b71d836..e27f07d789 100644 --- a/mail/mail-threads.h +++ b/mail/mail-threads.h @@ -52,9 +52,12 @@ gboolean mail_operation_queue (const mail_operation_spec * spec, /* User interface hooks for the other thread */ +#if 0 void mail_op_set_percentage (gfloat percentage); void mail_op_hide_progressbar (void); void mail_op_show_progressbar (void); +#endif + void mail_op_set_message (gchar * fmt, ...) G_GNUC_PRINTF (1, 2); void mail_op_error (gchar * fmt, ...) G_GNUC_PRINTF (1, 2); gboolean mail_op_get_password (gchar * prompt, gboolean secret, -- cgit