diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-08-11 11:41:26 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-08-11 11:41:26 +0800 |
commit | d5f9483b16cea64491eb5fe4eec815c61126849e (patch) | |
tree | 2d1b057170244697a8b4276af521d91f90d0726e | |
parent | bef4579009b101276145fe263f8acea9ee50cf22 (diff) | |
download | gsoc2013-evolution-d5f9483b16cea64491eb5fe4eec815c61126849e.tar.gz gsoc2013-evolution-d5f9483b16cea64491eb5fe4eec815c61126849e.tar.zst gsoc2013-evolution-d5f9483b16cea64491eb5fe4eec815c61126849e.zip |
Fixed some warnings.
2000-08-10 Christopher James Lahey <clahey@helixcode.com>
* folder-browser-factory.c, message-list.c, message-thread.c,
session.c: Fixed some warnings.
svn path=/trunk/; revision=4722
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/folder-browser-factory.c | 2 | ||||
-rw-r--r-- | mail/message-list.c | 2 | ||||
-rw-r--r-- | mail/message-thread.c | 5 | ||||
-rw-r--r-- | mail/session.c | 2 |
5 files changed, 8 insertions, 8 deletions
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 <clahey@helixcode.com> + + * folder-browser-factory.c, message-list.c, message-thread.c, + session.c: Fixed some warnings. + 2000-08-10 Dan Winship <danw@helixcode.com> * 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 |