aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
authorRadek Doulik <rodo@helixcode.com>2000-11-16 02:47:33 +0800
committerRadek Doulik <rodo@src.gnome.org>2000-11-16 02:47:33 +0800
commitc9cba32d9ad9eb717ec135a49dc9fee4d703293a (patch)
tree2467a2eab029c33b1f32d0106ae8b8488eacf959 /composer/e-msg-composer.c
parent20b14e0bb55cc3da1bf8dd669fb0bf78b59f355b (diff)
downloadgsoc2013-evolution-c9cba32d9ad9eb717ec135a49dc9fee4d703293a.tar.gz
gsoc2013-evolution-c9cba32d9ad9eb717ec135a49dc9fee4d703293a.tar.zst
gsoc2013-evolution-c9cba32d9ad9eb717ec135a49dc9fee4d703293a.zip
updates for HTMLEditor API changes
2000-11-15 Radek Doulik <rodo@helixcode.com> * updates for HTMLEditor API changes * e-msg-composer.c: added #include <libgnomevfs/gnome-vfs.h> svn path=/trunk/; revision=6582
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r--composer/e-msg-composer.c18
1 files changed, 10 insertions, 8 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 4472bae4eb..99f7c49235 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -61,6 +61,8 @@
#include "HTMLEditor.h"
#include "listener.h"
+#include <libgnomevfs/gnome-vfs.h>
+
#define HTML_EDITOR_CONTROL_ID "OAFIID:control:html-editor:63c5499b-8b0c-475a-9948-81ec96a9662c"
@@ -456,18 +458,18 @@ prepare_engine (EMsgComposer *composer)
/* printf ("prepare_engine\n"); */
CORBA_exception_init (&ev);
- composer->editor_engine = (HTMLEditor_Engine) bonobo_object_client_query_interface
+ composer->editor_engine = (GNOME_HTMLEditor_Engine) bonobo_object_client_query_interface
(bonobo_widget_get_server (BONOBO_WIDGET (composer->editor)), "IDL:HTMLEditor/Engine:1.0", &ev);
if (composer->editor_engine != CORBA_OBJECT_NIL) {
/* printf ("trying set listener\n"); */
- composer->editor_listener = BONOBO_OBJECT (html_editor_listener_new (composer));
+ composer->editor_listener = BONOBO_OBJECT (htmleditor_listener_new (composer));
if (composer->editor_listener != CORBA_OBJECT_NIL)
- HTMLEditor_Engine__set_listener (composer->editor_engine,
- (HTMLEditor_Listener)
- bonobo_object_dup_ref
- (bonobo_object_corba_objref (composer->editor_listener), &ev),
- &ev);
+ GNOME_HTMLEditor_Engine__set_listener (composer->editor_engine,
+ (GNOME_HTMLEditor_Listener)
+ bonobo_object_dup_ref
+ (bonobo_object_corba_objref (composer->editor_listener), &ev),
+ &ev);
}
CORBA_exception_free (&ev);
}
@@ -484,7 +486,7 @@ mark_orig_text (EMsgComposer *composer)
*((CORBA_boolean *) flag->_value) = CORBA_TRUE;
CORBA_exception_init (&ev);
- HTMLEditor_Engine_setObjectDataByType (composer->editor_engine, "ClueFlow", "orig", flag, &ev);
+ GNOME_HTMLEditor_Engine_setObjectDataByType (composer->editor_engine, "ClueFlow", "orig", flag, &ev);
CORBA_free (flag);
CORBA_exception_free (&ev);
}