[evolution] 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] EHTMLEditorView - Don't try to unref non-existing DOMRange object
- Date: Mon, 8 Jun 2015 15:40:14 +0000 (UTC)
commit 77897bc82bf17563ce2527654ff9094f42db4715
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 f60a708..0283151 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -11026,7 +11026,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]