aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-05-26 22:28:04 +0800
committerDan Winship <danw@src.gnome.org>2000-05-26 22:28:04 +0800
commit5de3176b65b94b487e4cd11686c3f473a0966f6c (patch)
treed118994711951353b13c5563189f75800a832e70
parent144db69758bcf971327694704421f5b5a5e3a0e8 (diff)
downloadgsoc2013-evolution-5de3176b65b94b487e4cd11686c3f473a0966f6c.tar
gsoc2013-evolution-5de3176b65b94b487e4cd11686c3f473a0966f6c.tar.gz
gsoc2013-evolution-5de3176b65b94b487e4cd11686c3f473a0966f6c.tar.bz2
gsoc2013-evolution-5de3176b65b94b487e4cd11686c3f473a0966f6c.tar.lz
gsoc2013-evolution-5de3176b65b94b487e4cd11686c3f473a0966f6c.tar.xz
gsoc2013-evolution-5de3176b65b94b487e4cd11686c3f473a0966f6c.tar.zst
gsoc2013-evolution-5de3176b65b94b487e4cd11686c3f473a0966f6c.zip
Update for PersistStream changes
* e-msg-composer.c (get_editor_text, set_editor_text): Update for PersistStream changes svn path=/trunk/; revision=3215
-rw-r--r--composer/ChangeLog5
-rw-r--r--composer/e-msg-composer.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 81b38b8b31..92d71ec69e 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,8 @@
+2000-05-26 Dan Winship <danw@helixcode.com>
+
+ * e-msg-composer.c (get_editor_text, set_editor_text): Update for
+ PersistStream changes
+
2000-05-25 Not Zed <NotZed@HelixCode.com>
* e-msg-composer.c (build_message): Use camel_data_wrapper_new
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index eab6dfca92..43440380f1 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -120,7 +120,7 @@ get_editor_text (BonoboWidget *editor)
g_assert (persist != CORBA_OBJECT_NIL);
stream = bonobo_stream_mem_create (NULL, 0, FALSE, TRUE);
- Bonobo_PersistStream_save (persist, (Bonobo_Stream)bonobo_object_corba_objref (BONOBO_OBJECT (stream)), &ev);
+ Bonobo_PersistStream_save (persist, (Bonobo_Stream)bonobo_object_corba_objref (BONOBO_OBJECT (stream)), "text/html", &ev);
if (ev._major != CORBA_NO_EXCEPTION) {
/* FIXME. Some error message. */
return NULL;
@@ -216,7 +216,7 @@ set_editor_text (BonoboWidget *editor, const char *text)
stream = bonobo_stream_mem_create ((char *)text, strlen (text),
TRUE, FALSE);
- Bonobo_PersistStream_load (persist, (Bonobo_Stream)bonobo_object_corba_objref (BONOBO_OBJECT (stream)), &ev);
+ Bonobo_PersistStream_load (persist, (Bonobo_Stream)bonobo_object_corba_objref (BONOBO_OBJECT (stream)), "text/html", &ev);
if (ev._major != CORBA_NO_EXCEPTION) {
/* FIXME. Some error message. */
return;