aboutsummaryrefslogtreecommitdiffstats
path: root/composer/evolution-composer.c
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 /composer/evolution-composer.c
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 'composer/evolution-composer.c')
-rw-r--r--composer/evolution-composer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/composer/evolution-composer.c b/composer/evolution-composer.c
index ad4efd6b7d..ce251f2f9e 100644
--- a/composer/evolution-composer.c
+++ b/composer/evolution-composer.c
@@ -158,7 +158,7 @@ impl_Composer_attach_data (PortableServer_Servant servant,
const CORBA_char *filename,
const CORBA_char *description,
const CORBA_boolean show_inline,
- const CORBA_char *data,
+ const GNOME_Evolution_Composer_AttachmentData *data,
CORBA_Environment *ev)
{
BonoboObject *bonobo_object;
@@ -169,7 +169,7 @@ impl_Composer_attach_data (PortableServer_Servant servant,
composer = EVOLUTION_COMPOSER (bonobo_object);
attachment = camel_mime_part_new ();
- camel_mime_part_set_content (attachment, data, strlen (data),
+ camel_mime_part_set_content (attachment, data->_buffer, data->_length,
content_type);
if (*filename)