aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2001-07-27 09:31:19 +0800
committerJP Rosevear <jpr@src.gnome.org>2001-07-27 09:31:19 +0800
commit8af38d27cff4eb39652c0b16af80fbbec507fb8f (patch)
treeb7e8f4a8263fa0b09b3b6db9d17b68a2daedcced /calendar
parent6229cd14f15ac6b3ba82ea5110ced18cc96bde1e (diff)
downloadgsoc2013-evolution-8af38d27cff4eb39652c0b16af80fbbec507fb8f.tar.gz
gsoc2013-evolution-8af38d27cff4eb39652c0b16af80fbbec507fb8f.tar.zst
gsoc2013-evolution-8af38d27cff4eb39652c0b16af80fbbec507fb8f.zip
send the empty string as subject if there is no summary
2001-07-26 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (itip_send_comp): send the empty string as subject if there is no summary svn path=/trunk/; revision=11441
Diffstat (limited to 'calendar')
-rw-r--r--calendar/gui/itip-utils.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c
index 9a126446ea..57212106c6 100644
--- a/calendar/gui/itip-utils.c
+++ b/calendar/gui/itip-utils.c
@@ -251,7 +251,10 @@ itip_send_comp (CalComponentItipMethod method, CalComponent *comp)
bcc_list->_maximum = bcc_list->_length = 0;
cal_component_get_summary (comp, &caltext);
- subject = CORBA_string_dup (caltext.value);
+ if (caltext.value != NULL)
+ subject = CORBA_string_dup (caltext.value);
+ else
+ subject = CORBA_string_dup ("");
GNOME_Evolution_Composer_setHeaders (composer_server, to_list, cc_list, bcc_list, subject, &ev);
if (ev._major != CORBA_NO_EXCEPTION) {