[evolution] EHTMLEditorView - Runtime warning when editing HTML message as new
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] EHTMLEditorView - Runtime warning when editing HTML message as new
- Date: Mon, 27 Apr 2015 13:56:32 +0000 (UTC)
commit 0c9931fad72887d5bdfae08ae1e9920548c54a4e
Author: Tomas Popela <tpopela redhat com>
Date: Mon Apr 27 15:45:42 2015 +0200
EHTMLEditorView - Runtime warning when editing HTML message as new
e-util/e-html-editor-view.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c
index 568c7e8..9e1666d 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -701,7 +701,7 @@ refresh_spell_check (EHTMLEditorView *view,
WebKitDOMNode *child;
child = webkit_dom_node_get_first_child (WEBKIT_DOM_NODE (body));
- if (!child)
+ if (!child || !WEBKIT_DOM_IS_HTML_ELEMENT (child))
return;
add_selection_markers_into_element_start (
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]