[evolution/gnome-3-16] EHTMLEditorView - Don't try to unref non-existing DOMRange object
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-16] EHTMLEditorView - Don't try to unref non-existing DOMRange object
- Date: Wed, 10 Jun 2015 08:14:06 +0000 (UTC)
commit 0856a555b5f434dc8569261f15e5b86a55925a3f
Author: Tomas Popela <tpopela redhat com>
Date: Mon Jun 8 17:38:36 2015 +0200
EHTMLEditorView - Don't try to unref non-existing DOMRange object
e-util/e-html-editor-view.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c
index 00cbb8a..48de93d 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -11037,7 +11037,6 @@ get_range_for_point (WebKitDOMDocument *document,
scroll_left = webkit_dom_element_get_scroll_left (WEBKIT_DOM_ELEMENT (body));
scroll_top = webkit_dom_element_get_scroll_top (WEBKIT_DOM_ELEMENT (body));
- g_object_unref (range);
range = webkit_dom_document_caret_range_from_point (
document, point.x - scroll_left, point.y - scroll_top);
g_object_unref (dom_window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]