diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-08-11 10:57:11 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-08-11 10:57:11 +0800 |
commit | 40eea3692e4afa02a9092f64c00e9348f562f68b (patch) | |
tree | a5de1982e43949eefeea75ab5a939a89690b32d4 /camel/providers | |
parent | e8ee5b65d43775708361a1094d56ae7d20fbb5e7 (diff) | |
download | gsoc2013-evolution-40eea3692e4afa02a9092f64c00e9348f562f68b.tar gsoc2013-evolution-40eea3692e4afa02a9092f64c00e9348f562f68b.tar.gz gsoc2013-evolution-40eea3692e4afa02a9092f64c00e9348f562f68b.tar.bz2 gsoc2013-evolution-40eea3692e4afa02a9092f64c00e9348f562f68b.tar.lz gsoc2013-evolution-40eea3692e4afa02a9092f64c00e9348f562f68b.tar.xz gsoc2013-evolution-40eea3692e4afa02a9092f64c00e9348f562f68b.tar.zst gsoc2013-evolution-40eea3692e4afa02a9092f64c00e9348f562f68b.zip |
Fixed some warnings.
2000-08-10 Christopher James Lahey <clahey@helixcode.com>
* camel-folder-search.c, camel-folder-summary.c, camel-medium.c,
camel-mime-filter-charset.c, camel-mime-filter.c,
camel-mime-filter.h, camel-mime-message.c, camel-mime-parser.c,
camel-mime-part-utils.c, camel-mime-part.c, camel-mime-utils.c,
camel-movemail.c, camel-multipart.c, camel-object.c,
camel-stream-mem.c, providers/mbox/camel-mbox-folder.c,
providers/mbox/camel-mbox-summary.c,
providers/mh/camel-mh-folder.c,
providers/smtp/camel-smtp-transport.c: Fixed some warnings.
svn path=/trunk/; revision=4719
Diffstat (limited to 'camel/providers')
-rw-r--r-- | camel/providers/mbox/camel-mbox-folder.c | 4 | ||||
-rw-r--r-- | camel/providers/mbox/camel-mbox-summary.c | 4 | ||||
-rw-r--r-- | camel/providers/mh/camel-mh-folder.c | 4 | ||||
-rw-r--r-- | camel/providers/smtp/camel-smtp-transport.c | 3 |
4 files changed, 10 insertions, 5 deletions
diff --git a/camel/providers/mbox/camel-mbox-folder.c b/camel/providers/mbox/camel-mbox-folder.c index 4ac9c5fcf1..00921637eb 100644 --- a/camel/providers/mbox/camel-mbox-folder.c +++ b/camel/providers/mbox/camel-mbox-folder.c @@ -563,7 +563,7 @@ mbox_set_message_flags(CamelFolder *folder, const char *uid, guint32 flags, guin info->flags = (info->flags & ~flags) | (set & flags) | CAMEL_MESSAGE_FOLDER_FLAGGED; camel_folder_summary_touch(CAMEL_FOLDER_SUMMARY(mf->summary)); - camel_object_trigger_event(CAMEL_OBJECT(folder), "message_changed", uid); + camel_object_trigger_event(CAMEL_OBJECT(folder), "message_changed", (char *) uid); } static gboolean @@ -590,5 +590,5 @@ mbox_set_message_user_flag(CamelFolder *folder, const char *uid, const char *nam camel_flag_set(&info->user_flags, name, value); info->flags |= CAMEL_MESSAGE_FOLDER_FLAGGED; camel_folder_summary_touch(CAMEL_FOLDER_SUMMARY(mf->summary)); - camel_object_trigger_event(CAMEL_OBJECT(folder), "message_changed", uid); + camel_object_trigger_event(CAMEL_OBJECT(folder), "message_changed", (char *) uid); } diff --git a/camel/providers/mbox/camel-mbox-summary.c b/camel/providers/mbox/camel-mbox-summary.c index b656205b1a..2a297594d7 100644 --- a/camel/providers/mbox/camel-mbox-summary.c +++ b/camel/providers/mbox/camel-mbox-summary.c @@ -243,9 +243,11 @@ message_info_load (CamelFolderSummary *s, FILE *in) mi = ((CamelFolderSummaryClass *)camel_mbox_summary_parent)->message_info_load (s, in); if (mi) { + guint32 position; CamelMboxMessageInfo *mbi = (CamelMboxMessageInfo *)mi; - camel_folder_summary_decode_uint32 (in, &mbi->frompos); + camel_folder_summary_decode_uint32 (in, &position); + mbi->frompos = position; } return mi; diff --git a/camel/providers/mh/camel-mh-folder.c b/camel/providers/mh/camel-mh-folder.c index e20b3fabb5..6b78df9b14 100644 --- a/camel/providers/mh/camel-mh-folder.c +++ b/camel/providers/mh/camel-mh-folder.c @@ -470,7 +470,7 @@ static void mh_set_message_flags(CamelFolder * folder, const char *uid, guint32 info->flags = (info->flags & ~flags) | (set & flags) | CAMEL_MESSAGE_FOLDER_FLAGGED; camel_folder_summary_touch(CAMEL_FOLDER_SUMMARY(mf->summary)); - camel_object_trigger_event (CAMEL_OBJECT(folder), "message_changed", uid); + camel_object_trigger_event (CAMEL_OBJECT(folder), "message_changed", (char *) uid); } static gboolean mh_get_message_user_flag(CamelFolder * folder, const char *uid, const char *name) @@ -495,5 +495,5 @@ static void mh_set_message_user_flag(CamelFolder * folder, const char *uid, cons camel_flag_set(&info->user_flags, name, value); info->flags |= CAMEL_MESSAGE_FOLDER_FLAGGED; camel_folder_summary_touch(CAMEL_FOLDER_SUMMARY(mf->summary)); - camel_object_trigger_event (CAMEL_OBJECT(folder), "message_changed", uid); + camel_object_trigger_event (CAMEL_OBJECT(folder), "message_changed", (char *) uid); } diff --git a/camel/providers/smtp/camel-smtp-transport.c b/camel/providers/smtp/camel-smtp-transport.c index 83241b2cad..0486e4da75 100644 --- a/camel/providers/smtp/camel-smtp-transport.c +++ b/camel/providers/smtp/camel-smtp-transport.c @@ -265,6 +265,8 @@ esmtp_get_authtypes (gchar *buffer) return ret; } +/* FIXME: use these? */ +#ifdef notyet static CamelServiceAuthType no_authtype = { "No authentication required", @@ -285,6 +287,7 @@ static CamelServiceAuthType cram_md5_authtype = { "CRAM-MD5", TRUE }; +#endif static GList * query_auth_types (CamelService *service, CamelException *ex) |