[evolution/wip/webkit2] EHTMLEditorSelection - Remove code that was committed by mistake
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit2] EHTMLEditorSelection - Remove code that was committed by mistake
- Date: Wed, 24 Feb 2016 11:12:44 +0000 (UTC)
commit 350b78d686086ddd1b41b6df9246c47db3641999
Author: Tomas Popela <tpopela redhat com>
Date: Wed Feb 24 12:12:43 2016 +0100
EHTMLEditorSelection - Remove code that was committed by mistake
.../e-html-editor-selection-dom-functions.c | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/web-extensions/composer/e-html-editor-selection-dom-functions.c
b/web-extensions/composer/e-html-editor-selection-dom-functions.c
index 5561232..c018754 100644
--- a/web-extensions/composer/e-html-editor-selection-dom-functions.c
+++ b/web-extensions/composer/e-html-editor-selection-dom-functions.c
@@ -2259,7 +2259,6 @@ wrap_lines (WebKitDOMDocument *document,
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))) {
@@ -2271,16 +2270,6 @@ wrap_lines (WebKitDOMDocument *document,
}
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]