[evolution] EContentEditor: Fix minor typos



commit 706f1afa1a37149cccf778628d07bc327487168a
Author: Milan Crha <mcrha redhat com>
Date:   Thu Feb 3 11:55:02 2022 +0100

    EContentEditor: Fix minor typos

 src/e-util/e-content-editor.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/e-util/e-content-editor.c b/src/e-util/e-content-editor.c
index 31317327d0..dd01adb92a 100644
--- a/src/e-util/e-content-editor.c
+++ b/src/e-util/e-content-editor.c
@@ -1454,7 +1454,7 @@ e_content_editor_get_visually_wrap_long_lines (EContentEditor *editor)
 }
 
 /**
- * e_content_editor_setup_editor:
+ * e_content_editor_initialize:
  * @content_editor: an #EContentEditor
  * @callback: an #EContentEditorInitializedCallback function
  * @user_data: data to pass to @callback
@@ -1585,7 +1585,7 @@ e_content_editor_get_content_finish (EContentEditor *editor,
 
        iface = E_CONTENT_EDITOR_GET_IFACE (editor);
        g_return_val_if_fail (iface != NULL, NULL);
-       g_return_val_if_fail (iface->get_content != NULL, NULL);
+       g_return_val_if_fail (iface->get_content_finish != NULL, NULL);
 
        return iface->get_content_finish (editor, result, error);
 }


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