[evolution] EHTMLEditorSelection - Remove code that was committed by mistake



commit 90432a37570bd463ae81be08b17c132a01b39630
Author: Tomas Popela <tpopela redhat com>
Date:   Fri Apr 3 10:04:20 2015 +0200

    EHTMLEditorSelection - Remove code that was committed by mistake

 e-util/e-html-editor-selection.c |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/e-util/e-html-editor-selection.c b/e-util/e-html-editor-selection.c
index 001c4ab..9919187 100644
--- a/e-util/e-html-editor-selection.c
+++ b/e-util/e-html-editor-selection.c
@@ -5953,7 +5953,6 @@ wrap_lines (EHTMLEditorSelection *selection,
                                next_sibling = webkit_dom_node_get_next_sibling (node);
                                /* If the anchor doesn't fit on the line wrap after it */
                                if (anchor_length > word_wrap_length) {
-                                       WebKitDOMElement *removed_link;
                                        WebKitDOMNode *inner_node;
 
                                        while ((inner_node = webkit_dom_node_get_first_child (node))) {
@@ -5964,17 +5963,6 @@ wrap_lines (EHTMLEditorSelection *selection,
                                                        NULL);
                                        }
                                        next_sibling = webkit_dom_node_get_next_sibling (node);
-
-                                       removed_link =
-                                               webkit_dom_document_create_element (
-                                                       document, "SPAN", NULL);
-                                       webkit_dom_element_set_attribute (
-                                               removed_link, "data-removed-link", "", NULL);
-                                       webkit_dom_node_insert_before (
-                                               webkit_dom_node_get_parent_node (node),
-                                               WEBKIT_DOM_NODE (removed_link),
-                                               node,
-                                               NULL);
                                        remove_node (node);
                                        node = next_sibling;
                                        continue;


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