aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2006-08-19 18:50:26 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2006-08-19 18:50:26 +0800
commit6bc484b25bde534caef7e73caeb8ca4db24f0547 (patch)
tree153cba4bacaf83c28fb2bbb835ca3d9a94e201db /calendar
parent28f6f97ef9db9467bc9ed1bd4f8b6c3a26869fe3 (diff)
downloadgsoc2013-evolution-6bc484b25bde534caef7e73caeb8ca4db24f0547.tar
gsoc2013-evolution-6bc484b25bde534caef7e73caeb8ca4db24f0547.tar.gz
gsoc2013-evolution-6bc484b25bde534caef7e73caeb8ca4db24f0547.tar.bz2
gsoc2013-evolution-6bc484b25bde534caef7e73caeb8ca4db24f0547.tar.lz
gsoc2013-evolution-6bc484b25bde534caef7e73caeb8ca4db24f0547.tar.xz
gsoc2013-evolution-6bc484b25bde534caef7e73caeb8ca4db24f0547.tar.zst
gsoc2013-evolution-6bc484b25bde534caef7e73caeb8ca4db24f0547.zip
Fixes #343369.
svn path=/trunk/; revision=32591
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/gui/itip-utils.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 2c15615294..b9d5da268f 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,9 @@
+2006-08-18 Chenthill Palanisamy <pchenthill@novell.com>
+
+ Fixes #343369
+ * gui/itip-utils.c: (append_cal_attachments):
+ Set the file name to empty string in its absence.
+
2006-08-17 Kjartan Maraas <kmaraas@gnome.org>
* gui/e-week-view-event-item.c:
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c
index e34ec28c78..d522d58de1 100644
--- a/calendar/gui/itip-utils.c
+++ b/calendar/gui/itip-utils.c
@@ -1120,7 +1120,7 @@ append_cal_attachments (GNOME_Evolution_Composer composer_server, ECalComponent
for (l = attach_list; l ; l = l->next) {
mime_attach = (struct CalMimeAttach *) l->data;
- filename = CORBA_string_dup (mime_attach->filename);
+ filename = CORBA_string_dup (mime_attach->filename ? mime_attach->filename : "");
content_type = CORBA_string_dup (mime_attach->content_type);
description = CORBA_string_dup (mime_attach->description);