diff options
author | JP Rosevear <jpr@novell.com> | 2005-01-11 03:39:10 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2005-01-11 03:39:10 +0800 |
commit | e6dc2252a263ba47e5d028209b6317a51e35a869 (patch) | |
tree | 40931a2557072ecaddcaad71eaba682b96b4fdbe /plugins/itip-formatter | |
parent | 91fed89ab4f52ca2c7f5d2a91710525b9106e1b0 (diff) | |
download | gsoc2013-evolution-e6dc2252a263ba47e5d028209b6317a51e35a869.tar.gz gsoc2013-evolution-e6dc2252a263ba47e5d028209b6317a51e35a869.tar.zst gsoc2013-evolution-e6dc2252a263ba47e5d028209b6317a51e35a869.zip |
compare pointers instead of content id
2005-01-10 JP Rosevear <jpr@novell.com>
* itip-formatter.c (update_item): compare pointers instead of
content id
svn path=/trunk/; revision=28335
Diffstat (limited to 'plugins/itip-formatter')
-rw-r--r-- | plugins/itip-formatter/ChangeLog | 5 | ||||
-rw-r--r-- | plugins/itip-formatter/itip-formatter.c | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/plugins/itip-formatter/ChangeLog b/plugins/itip-formatter/ChangeLog index 2136d63954..e2e378c85c 100644 --- a/plugins/itip-formatter/ChangeLog +++ b/plugins/itip-formatter/ChangeLog @@ -1,5 +1,10 @@ 2005-01-10 JP Rosevear <jpr@novell.com> + * itip-formatter.c (update_item): compare pointers instead of + content id + +2005-01-10 JP Rosevear <jpr@novell.com> + * itip-formatter.c (update_item): first crack at saving attachments for the backend (extract_itip_data): tell the user what to do for more than one diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c index 3269ed54cc..643628cac1 100644 --- a/plugins/itip-formatter/itip-formatter.c +++ b/plugins/itip-formatter/itip-formatter.c @@ -719,8 +719,7 @@ update_item (FormatItipPObject *pitip, ItipViewResponse response) /* Skip the actual message and the text/calendar part */ /* FIXME Do we need to skip anything else? */ - if (!g_ascii_strcasecmp (camel_mime_part_get_content_id (part), camel_mime_part_get_content_id ((CamelMimePart *) msg)) - || !g_ascii_strcasecmp (camel_mime_part_get_content_id (part), camel_mime_part_get_content_id (pitip->pobject.part))) + if (part == (CamelMimePart *) msg || part == pitip->pobject.part) continue; new_uri = em_utils_temp_save_part (NULL, part); |