[evolution-groupwise] Fix a run-time warning.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-groupwise] Fix a run-time warning.
- Date: Mon, 26 Sep 2011 16:58:28 +0000 (UTC)
commit feb8f1a92f737883a2ec037980c9a96919782f9d
Author: Matthew Barnes <mbarnes redhat com>
Date: Mon Sep 26 12:57:25 2011 -0400
Fix a run-time warning.
src/camel/camel-groupwise-folder.c | 4 ++--
src/camel/camel-groupwise-store.h | 1 -
2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/camel/camel-groupwise-folder.c b/src/camel/camel-groupwise-folder.c
index 1d01009..07fd687 100644
--- a/src/camel/camel-groupwise-folder.c
+++ b/src/camel/camel-groupwise-folder.c
@@ -1738,7 +1738,7 @@ gw_update_cache (CamelFolder *folder,
mail_msg = groupwise_folder_item_to_msg (folder, item, error);
if (mail_msg)
- camel_medium_set_header (CAMEL_MEDIUM (mail_msg), "X-Evolution-Source", groupwise_base_url_lookup (gw_store->priv));
+ camel_mime_message_set_source (mail_msg, camel_service_get_uid (CAMEL_SERVICE (parent_store)));
CAMEL_GROUPWISE_FOLDER_REC_LOCK (folder, cache_lock);
if ((cache_stream = camel_data_cache_add (gw_folder->cache, "cache", id, NULL))) {
@@ -2776,7 +2776,7 @@ groupwise_folder_get_message_sync (CamelFolder *folder,
}
if (msg) {
- camel_medium_set_header (CAMEL_MEDIUM (msg), "X-Evolution-Source", groupwise_base_url_lookup (gw_store->priv));
+ camel_mime_message_set_source (msg, camel_service_get_uid (CAMEL_SERVICE (parent_store)));
mi->info.dirty = TRUE;
camel_folder_summary_touch (folder->summary);
}
diff --git a/src/camel/camel-groupwise-store.h b/src/camel/camel-groupwise-store.h
index 6a72357..41db638 100644
--- a/src/camel/camel-groupwise-store.h
+++ b/src/camel/camel-groupwise-store.h
@@ -86,7 +86,6 @@ const gchar * camel_groupwise_store_folder_lookup
(CamelGroupwiseStore *store,
const gchar *container_id);
EGwConnection * cnc_lookup (CamelGroupwiseStorePrivate *priv);
-const gchar * groupwise_base_url_lookup (CamelGroupwiseStorePrivate *priv);
CamelFolderInfo *
create_junk_folder (CamelStore *store);
gboolean camel_groupwise_store_connected (CamelGroupwiseStore *store,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]