[evolution/wip/webkit2] EHTMLEditorView - Runtime warning when editing HTML message as new
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit2] EHTMLEditorView - Runtime warning when editing HTML message as new
- Date: Thu, 25 Feb 2016 09:49:49 +0000 (UTC)
commit 03e8469c2583098ef5c7b72bb516fd37da64e95a
Author: Tomas Popela <tpopela redhat com>
Date: Thu Feb 25 10:17:03 2016 +0100
EHTMLEditorView - Runtime warning when editing HTML message as new
.../composer/e-html-editor-view-dom-functions.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/web-extensions/composer/e-html-editor-view-dom-functions.c
b/web-extensions/composer/e-html-editor-view-dom-functions.c
index 2bc59c4..0f4c85d 100644
--- a/web-extensions/composer/e-html-editor-view-dom-functions.c
+++ b/web-extensions/composer/e-html-editor-view-dom-functions.c
@@ -268,7 +268,7 @@ refresh_spell_check (WebKitDOMDocument *document,
WebKitDOMNode *child;
child = webkit_dom_node_get_first_child (WEBKIT_DOM_NODE (body));
- if (!child)
+ if (!child || !WEBKIT_DOM_IS_HTML_ELEMENT (child))
return;
dom_add_selection_markers_into_element_start (
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]