diff options
author | Radek Doulik <rodo@helixcode.com> | 2000-11-14 16:54:58 +0800 |
---|---|---|
committer | Radek Doulik <rodo@src.gnome.org> | 2000-11-14 16:54:58 +0800 |
commit | 97ddd11093c92c9a156a7e2655fca823b076ebe7 (patch) | |
tree | 34fd3e5325c9e1fa81e88b26d5af1776b7b49ece /composer/listener.c | |
parent | c633a80c1e353f8c56e6a97bd8996a33fbf3b384 (diff) | |
download | gsoc2013-evolution-97ddd11093c92c9a156a7e2655fca823b076ebe7.tar.gz gsoc2013-evolution-97ddd11093c92c9a156a7e2655fca823b076ebe7.tar.zst gsoc2013-evolution-97ddd11093c92c9a156a7e2655fca823b076ebe7.zip |
updated to HTMLEditor API changes
2000-11-14 Radek Doulik <rodo@helixcode.com>
* e-msg-composer.c: updated to HTMLEditor API changes
* listener.c: updated to HTMLEditor API changes
svn path=/trunk/; revision=6567
Diffstat (limited to 'composer/listener.c')
-rw-r--r-- | composer/listener.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/composer/listener.c b/composer/listener.c index 90e49e2626..e5aa579cad 100644 --- a/composer/listener.c +++ b/composer/listener.c @@ -67,8 +67,8 @@ resolve_image_url (HTMLEditorListener *l, gchar *url) static void reply_indent (HTMLEditorListener *l, CORBA_Environment * ev) { - if (!HTMLEditor_Engine_paragraph_is_empty (l->composer->editor_engine, ev)) { - if (HTMLEditor_Engine_paragraph_previous_is_empty (l->composer->editor_engine, ev)) + if (!HTMLEditor_Engine_isParagraphEmpty (l->composer->editor_engine, ev)) { + if (HTMLEditor_Engine_isPreviousParagraphEmpty (l->composer->editor_engine, ev)) HTMLEditor_Engine_command (l->composer->editor_engine, "cursor-backward", ev); else { HTMLEditor_Engine_command (l->composer->editor_engine, "insert-paragraph", ev); @@ -94,12 +94,12 @@ impl_event (PortableServer_Servant _servant, if (!strcmp (name, "command")) { /* FIXME check for insert-paragraph command */ - data = HTMLEditor_Engine_get_paragraph_data (l->composer->editor_engine, "orig", ev); + data = HTMLEditor_Engine_getParagraphData (l->composer->editor_engine, "orig", ev); if (ev->_major == CORBA_NO_EXCEPTION && data) { if (CORBA_TypeCode_equal (data->_type, TC_boolean, ev) && BONOBO_ARG_GET_BOOLEAN (data)) reply_indent (l, ev); BONOBO_ARG_SET_BOOLEAN (data, CORBA_FALSE); - HTMLEditor_Engine_set_paragraph_data (l->composer->editor_engine, "orig", data, ev); + HTMLEditor_Engine_setParagraphData (l->composer->editor_engine, "orig", data, ev); } } else if (!strcmp (name, "image_url")) { gchar *url; |