[evolution/wip/webkit2] EHTMLEditorView - Remove unneeded webkit_dom_dom_selection_get_range_at call



commit b0a8dec9b0a354de671f88a0c5b6c621f4d07317
Author: Tomas Popela <tpopela redhat com>
Date:   Wed Apr 22 14:40:30 2015 +0200

    EHTMLEditorView - Remove unneeded webkit_dom_dom_selection_get_range_at call

 web-extensions/e-html-editor-view-dom-functions.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/web-extensions/e-html-editor-view-dom-functions.c 
b/web-extensions/e-html-editor-view-dom-functions.c
index 642d9b1..557210a 100644
--- a/web-extensions/e-html-editor-view-dom-functions.c
+++ b/web-extensions/e-html-editor-view-dom-functions.c
@@ -1837,7 +1837,6 @@ save_history_for_input (WebKitDOMDocument *document,
        ev = g_new0 (EHTMLEditorHistoryEvent, 1);
        ev->type = HISTORY_INPUT;
 
-       range = webkit_dom_dom_selection_get_range_at (dom_selection, 0, NULL);
        dom_selection_get_coordinates (
                document,
                &ev->after.start.x,


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