From d2b05fd46bbc736466ae172c64bed727e3b889b8 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Mon, 16 Jun 2014 10:30:31 +0200 Subject: EHTMLEditorView: Remove unused function --- e-util/e-html-editor-view.c | 21 --------------------- 1 file changed, 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, -- cgit v1.2.3