diff options
author | Dan Winship <danw@src.gnome.org> | 2000-05-26 22:28:04 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-05-26 22:28:04 +0800 |
commit | 5de3176b65b94b487e4cd11686c3f473a0966f6c (patch) | |
tree | d118994711951353b13c5563189f75800a832e70 /composer/e-msg-composer.c | |
parent | 144db69758bcf971327694704421f5b5a5e3a0e8 (diff) | |
download | gsoc2013-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
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r-- | composer/e-msg-composer.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |