aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorDave Camp <dave@ximian.com>2001-06-21 02:29:03 +0800
committerDave Camp <campd@src.gnome.org>2001-06-21 02:29:03 +0800
commit90aba2dbfde59bd7b48d127a463e545a05301e76 (patch)
treea433fb2fef7cf0c21b11c03c64e586d5ccfc8637 /calendar
parent51ba0332fcb3b2d82c37d3dda73267e4d0769a30 (diff)
downloadgsoc2013-evolution-90aba2dbfde59bd7b48d127a463e545a05301e76.tar
gsoc2013-evolution-90aba2dbfde59bd7b48d127a463e545a05301e76.tar.gz
gsoc2013-evolution-90aba2dbfde59bd7b48d127a463e545a05301e76.tar.bz2
gsoc2013-evolution-90aba2dbfde59bd7b48d127a463e545a05301e76.tar.lz
gsoc2013-evolution-90aba2dbfde59bd7b48d127a463e545a05301e76.tar.xz
gsoc2013-evolution-90aba2dbfde59bd7b48d127a463e545a05301e76.tar.zst
gsoc2013-evolution-90aba2dbfde59bd7b48d127a463e545a05301e76.zip
Changed attachData to accept a sequence of chars rather than a string.
2001-06-20 Dave Camp <dave@ximian.com> * Evolution-Composer.idl: Changed attachData to accept a sequence of chars rather than a string. * evolution-composer.c (impl_Composer_attach_data): Changed the 'data' argument to a GNOME_Evolution_Composer_AttachmentData, and pass data->_buffer and data->_length to camel_mime_part_set_content(). 2001-06-20 Dave Camp <dave@ximian.com> * gui/itip-utils.c (itip_send_comp): Changed attach_data to be a GNOME_Evolution_Composer_AttachmentData rather than a CORBA_char*. 2001-06-20 Dave Camp <dave@ximian.com> * backend/ebook/e-card.c (e_card_list_send): Changed attach_data to be a GNOME_Evolution_Composer_AttachmentData rather than a CORBA_char*. svn path=/trunk/; revision=10343
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/itip-utils.c8
2 files changed, 13 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 4eacedf2b2..ded9f6d2d7 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,9 @@
+2001-06-20 Dave Camp <dave@ximian.com>
+
+ * gui/itip-utils.c (itip_send_comp): Changed attach_data
+ to be a GNOME_Evolution_Composer_AttachmentData rather than a
+ CORBA_char*.
+
2001-06-20 JP Rosevear <jpr@ximian.com>
* gui/dialogs/comp-editor.c (print_cmd): print menu command
@@ -22,6 +28,7 @@
* gui/dialogs/send-comp.c (send_component_dialog): remove useless
assignment
+>>>>>>> 1.910
2001-06-20 Rodrigo Moya <rodrigo@ximian.com>
* idl/evolution-calendar.idl: added getFreeBusy method
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c
index 797d375821..b407f38693 100644
--- a/calendar/gui/itip-utils.c
+++ b/calendar/gui/itip-utils.c
@@ -114,7 +114,8 @@ itip_send_comp (CalComponentItipMethod method, CalComponent *comp)
gint len;
CalComponentText caltext;
CalComponentOrganizer organizer;
- CORBA_char *content_type, *filename, *description, *attach_data;
+ CORBA_char *content_type, *filename, *description;
+ GNOME_Evolution_Composer_AttachmentData *attach_data;
CORBA_boolean show_inline;
CORBA_char tempstr[200];
@@ -232,7 +233,10 @@ itip_send_comp (CalComponentItipMethod method, CalComponent *comp)
icalcomponent_add_component (icomp, clone);
ical_string = icalcomponent_as_ical_string (icomp);
- attach_data = CORBA_string_dup (ical_string);
+ attach_data = GNOME_Evolution_Composer_AttachmentData__alloc ();
+ attach_data->_maximum = attach_data->_length = strlen (ical_string);
+ attach_data->_buffer = CORBA_sequence_CORBA_char_allocbuf (attach_data->_length);
+ strcpy (attach_data->_buffer, ical_string);
icalcomponent_free (icomp);
}