aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--e-util/e-html-editor-view.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c
index e4f52c593c..c4442a2562 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -2268,27 +2268,6 @@ e_html_editor_view_class_init (EHTMLEditorViewClass *class)
G_TYPE_NONE, 0);
}
-static GString *
-replace_string_spaces_with_nbsp_in_prefix (const gchar *text)
-{
- GString *str;
- gint counter = 0;
-
- g_return_val_if_fail (text != NULL, NULL);
-
- str = g_string_new ("");
-
- while (g_str_has_prefix (text + counter, " ")) {
- g_string_append (str, " ");
-
- counter++;
- }
-
- g_string_append (str, text + counter);
-
- return str;
-}
-
/* This parses the HTML code (that contains just text,   and BR elements)
* into paragraphs.
* HTML code in that format we can get by taking innerText from some element,