aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Popela <tpopela@redhat.com>2014-06-16 16:30:31 +0800
committerTomas Popela <tpopela@redhat.com>2014-06-16 16:30:31 +0800
commitd2b05fd46bbc736466ae172c64bed727e3b889b8 (patch)
treefd3257941f00506864d34634768e3fbd88f425e1
parent748299f9c9ccfe3a8f5397445fd138c01e4c978b (diff)
downloadgsoc2013-evolution-d2b05fd46bbc736466ae172c64bed727e3b889b8.tar
gsoc2013-evolution-d2b05fd46bbc736466ae172c64bed727e3b889b8.tar.gz
gsoc2013-evolution-d2b05fd46bbc736466ae172c64bed727e3b889b8.tar.bz2
gsoc2013-evolution-d2b05fd46bbc736466ae172c64bed727e3b889b8.tar.lz
gsoc2013-evolution-d2b05fd46bbc736466ae172c64bed727e3b889b8.tar.xz
gsoc2013-evolution-d2b05fd46bbc736466ae172c64bed727e3b889b8.tar.zst
gsoc2013-evolution-d2b05fd46bbc736466ae172c64bed727e3b889b8.zip
EHTMLEditorView: Remove unused function
-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, "&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,