From 6bc484b25bde534caef7e73caeb8ca4db24f0547 Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Sat, 19 Aug 2006 10:50:26 +0000 Subject: Fixes #343369. svn path=/trunk/; revision=32591 --- calendar/ChangeLog | 6 ++++++ calendar/gui/itip-utils.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'calendar') 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 + + Fixes #343369 + * gui/itip-utils.c: (append_cal_attachments): + Set the file name to empty string in its absence. + 2006-08-17 Kjartan Maraas * 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); -- cgit v1.2.3