From d5f9483b16cea64491eb5fe4eec815c61126849e Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Fri, 11 Aug 2000 03:41:26 +0000 Subject: Fixed some warnings. 2000-08-10 Christopher James Lahey * folder-browser-factory.c, message-list.c, message-thread.c, session.c: Fixed some warnings. svn path=/trunk/; revision=4722 --- mail/ChangeLog | 5 +++++ mail/folder-browser-factory.c | 2 +- mail/message-list.c | 2 +- mail/message-thread.c | 5 ----- mail/session.c | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 23b60ea121..93dbd157e9 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2000-08-10 Christopher James Lahey + + * folder-browser-factory.c, message-list.c, message-thread.c, + session.c: Fixed some warnings. + 2000-08-10 Dan Winship * session.c (session_init): Don't call e_setup_base_dir. It was diff --git a/mail/folder-browser-factory.c b/mail/folder-browser-factory.c index ba861969e3..11dee84259 100644 --- a/mail/folder-browser-factory.c +++ b/mail/folder-browser-factory.c @@ -117,7 +117,7 @@ control_activate (BonoboControl *control, BonoboUIHandler *uih, NULL, -1, BONOBO_UI_HANDLER_PIXMAP_NONE, 0, - 0, 0, mail_config, NULL); + 0, 0, (void *) mail_config, NULL); bonobo_ui_handler_menu_new_item (uih, "/Tools/Forget Passwords", _("Forget _Passwords"), NULL, -1, diff --git a/mail/message-list.c b/mail/message-list.c index 51ca345953..b88bd5f735 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -283,7 +283,7 @@ ml_tree_value_at (ETreeModel *etm, ETreePath *path, int col, void *model_data) return GINT_TO_POINTER(!(msg_info->flags & CAMEL_MESSAGE_SEEN)); case COL_COLOUR: - return camel_tag_get(&msg_info->user_tags, "colour"); + return (void *) camel_tag_get((CamelTag **) &msg_info->user_tags, "colour"); } g_assert_not_reached (); diff --git a/mail/message-thread.c b/mail/message-thread.c index fa362f04ee..cb17a65c34 100644 --- a/mail/message-thread.c +++ b/mail/message-thread.c @@ -434,11 +434,6 @@ thread_messages(CamelFolder *folder, GPtrArray *uids) continue; } - if (mi == NULL) { - g_warning("Folder doesn't contain uid %s", uids->pdata[i]); - continue; - } - if (mi->message_id) { d(printf("doing : %s\n", mi->message_id)); c = g_hash_table_lookup(id_table, mi->message_id); diff --git a/mail/session.c b/mail/session.c index eaa5d72dfa..086a7c12fc 100644 --- a/mail/session.c +++ b/mail/session.c @@ -60,7 +60,7 @@ mail_request_dialog (const char *prompt, gboolean secret, const char *key) ans == NULL) return NULL; #else - if (!mail_op_get_password (prompt, secret, &ans)) + if (!mail_op_get_password ((char *) prompt, secret, &ans)) return NULL; #endif -- cgit v1.2.3