[evolution/wip/webkit2] EHTMLEditorSelection - Use variable that holds if the range is collapsed
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit2] EHTMLEditorSelection - Use variable that holds if the range is collapsed
- Date: Wed, 22 Apr 2015 13:05:30 +0000 (UTC)
commit b3d36af7ee4585cd03415eabd6d3c2613c43d167
Author: Tomas Popela <tpopela redhat com>
Date: Thu Mar 26 13:27:25 2015 +0100
EHTMLEditorSelection - Use variable that holds if the range is collapsed
.../e-html-editor-selection-dom-functions.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/web-extensions/e-html-editor-selection-dom-functions.c
b/web-extensions/e-html-editor-selection-dom-functions.c
index 2a99398..7d2914d 100644
--- a/web-extensions/e-html-editor-selection-dom-functions.c
+++ b/web-extensions/e-html-editor-selection-dom-functions.c
@@ -1609,7 +1609,7 @@ dom_selection_save (WebKitDOMDocument *document)
insert_end_marker:
end_marker = create_selection_marker (document, FALSE);
- if (webkit_dom_range_get_collapsed (range, NULL)) {
+ if (collapsed) {
webkit_dom_node_insert_before (
webkit_dom_node_get_parent_node (WEBKIT_DOM_NODE (start_marker)),
WEBKIT_DOM_NODE (end_marker),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]