diff options
Diffstat (limited to 'plugins/face/face.c')
-rw-r--r-- | plugins/face/face.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/face/face.c b/plugins/face/face.c index e40bdfc16a..cfcdb968b0 100644 --- a/plugins/face/face.c +++ b/plugins/face/face.c @@ -423,7 +423,7 @@ gboolean e_plugin_ui_init (GtkUIManager *ui_manager, EMsgComposer *composer) { - GtkhtmlEditor *editor; + EHTMLEditor *editor; static GtkToggleActionEntry entries[] = { { "face-plugin", @@ -444,11 +444,11 @@ e_plugin_ui_init (GtkUIManager *ui_manager, g_free (face); } - editor = GTKHTML_EDITOR (composer); + editor = e_msg_composer_get_editor (composer); /* Add actions to the "composer" action group. */ gtk_action_group_add_toggle_actions ( - gtkhtml_editor_get_action_group (editor, "composer"), + e_html_editor_get_action_group (editor, "composer"), entries, G_N_ELEMENTS (entries), composer); return TRUE; @@ -464,11 +464,11 @@ void face_handle_send (EPlugin *ep, EMEventTargetComposer *target) { - GtkhtmlEditor *editor; + EHTMLEditor *editor; GtkAction *action; - editor = GTKHTML_EDITOR (target->composer); - action = gtkhtml_editor_get_action (editor, "face-plugin"); + editor = e_msg_composer_get_editor (target->composer); + action = e_html_editor_get_action (editor, "face-plugin"); g_return_if_fail (action != NULL); |