[evolution] EHTMLEditorView - Avoid critical warnings when deleting a text smiley
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] EHTMLEditorView - Avoid critical warnings when deleting a text smiley
- Date: Fri, 12 Feb 2016 09:59:55 +0000 (UTC)
commit 233546a7727fbf6ded54fb505fe37ff53f314fcd
Author: Tomas Popela <tpopela redhat com>
Date: Fri Feb 12 10:43:18 2016 +0100
EHTMLEditorView - Avoid critical warnings when deleting a text smiley
Use the right variable when getting the text node with smiley.
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 3e2748f..f3c12ca 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -5561,7 +5561,7 @@ change_smiley_to_plain_text (EHTMLEditorView *view)
element_has_class (WEBKIT_DOM_ELEMENT (prev_prev_sibling),
"-x-evo-smiley-wrapper")) {
remove_node (prev_sibling);
in_smiley = TRUE;
- parent = webkit_dom_node_get_last_child (prev_sibling);
+ parent = webkit_dom_node_get_last_child (prev_prev_sibling);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]