[evolution/449-support-markdown-in-composer] EHTMLEditor: Properly prefix private editor functions



commit c53b4490db155181dcb75e64ed66098c56b3efb2
Author: Milan Crha <mcrha redhat com>
Date:   Thu Feb 3 17:28:17 2022 +0100

    EHTMLEditor: Properly prefix private editor functions

 src/e-util/e-html-editor-actions.c | 8 ++++----
 src/e-util/e-html-editor-private.h | 6 +++---
 src/e-util/e-html-editor.c         | 6 +++---
 3 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/src/e-util/e-html-editor-actions.c b/src/e-util/e-html-editor-actions.c
index 3ecab0e7ee..05e1802cad 100644
--- a/src/e-util/e-html-editor-actions.c
+++ b/src/e-util/e-html-editor-actions.c
@@ -2126,7 +2126,7 @@ editor_actions_setup_spell_check_menu (EHTMLEditor *editor)
 }
 
 void
-editor_actions_init (EHTMLEditor *editor)
+e_html_editor_actions_init (EHTMLEditor *editor)
 {
        GtkAction *action;
        GtkActionGroup *action_group;
@@ -2298,7 +2298,7 @@ e_html_editor_indent_level_to_bool_unindent_cb (GBinding *binding,
 }
 
 void
-editor_actions_bind (EHTMLEditor *editor)
+e_html_editor_actions_bind (EHTMLEditor *editor)
 {
        GtkAction *action;
        GtkActionGroup *action_group;
@@ -2435,8 +2435,8 @@ editor_actions_bind (EHTMLEditor *editor)
 }
 
 void
-editor_actions_update_spellcheck_languages_menu (EHTMLEditor *editor,
-                                                const gchar * const *languages)
+e_html_editor_actions_update_spellcheck_languages_menu (EHTMLEditor *editor,
+                                                       const gchar * const *languages)
 {
        GHashTable *active;
        GList *actions, *link;
diff --git a/src/e-util/e-html-editor-private.h b/src/e-util/e-html-editor-private.h
index fda8d02e51..87ec2ca847 100644
--- a/src/e-util/e-html-editor-private.h
+++ b/src/e-util/e-html-editor-private.h
@@ -107,9 +107,9 @@ struct _EHTMLEditorPrivate {
        gboolean paste_plain_prefer_pre;
 };
 
-void           editor_actions_init             (EHTMLEditor *editor);
-void           editor_actions_bind             (EHTMLEditor *editor);
-void           editor_actions_update_spellcheck_languages_menu
+void           e_html_editor_actions_init      (EHTMLEditor *editor);
+void           e_html_editor_actions_bind      (EHTMLEditor *editor);
+void           e_html_editor_actions_update_spellcheck_languages_menu
                                                (EHTMLEditor *editor,
                                                 const gchar * const *languages);
 const gchar *  e_html_editor_get_content_editor_name
diff --git a/src/e-util/e-html-editor.c b/src/e-util/e-html-editor.c
index 47aa6de7f3..d1db3e3f69 100644
--- a/src/e-util/e-html-editor.c
+++ b/src/e-util/e-html-editor.c
@@ -607,7 +607,7 @@ html_editor_spell_languages_changed (EHTMLEditor *editor)
                        E_HTML_EDITOR_SPELL_CHECK_DIALOG (
                        editor->priv->spell_check_dialog));
 
-       editor_actions_update_spellcheck_languages_menu (editor, (const gchar * const *) languages);
+       e_html_editor_actions_update_spellcheck_languages_menu (editor, (const gchar * const *) languages);
        g_clear_object (&spell_checker);
        g_strfreev (languages);
 }
@@ -848,7 +848,7 @@ html_editor_constructed (GObject *object)
        gtk_grid_attach (GTK_GRID (editor), widget, 0, 4, 1, 1);
        priv->content_editors_box = widget;
 
-       editor_actions_init (editor);
+       e_html_editor_actions_init (editor);
        priv->editor_layout_row = 2;
 
        /* Tweak the main-toolbar style. */
@@ -1178,7 +1178,7 @@ e_html_editor_content_editor_initialized (EContentEditor *content_editor,
                content_editor, "editable",
                html_editor->priv->bg_color_combo_box, "sensitive",
                G_BINDING_SYNC_CREATE);
-       editor_actions_bind (html_editor);
+       e_html_editor_actions_bind (html_editor);
 
        g_object_set (G_OBJECT (content_editor),
                "halign", GTK_ALIGN_FILL,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]