[evolution] EHTMLEditorView: Remove unused function



commit d2b05fd46bbc736466ae172c64bed727e3b889b8
Author: Tomas Popela <tpopela redhat com>
Date:   Mon Jun 16 10:30:31 2014 +0200

    EHTMLEditorView: Remove unused function

 e-util/e-html-editor-view.c |   21 ---------------------
 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 e4f52c5..c4442a2 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, "&nbsp;");
-
-               counter++;
-       }
-
-       g_string_append (str, text + counter);
-
-       return str;
-}
-
 /* This parses the HTML code (that contains just text, &nbsp; and BR elements)
  * into paragraphs.
  * HTML code in that format we can get by taking innerText from some element,


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