[evolution/wip/webkit2] EHTMLEditorUndoRedoManager - Fix the compilation with debug output enabled
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit2] EHTMLEditorUndoRedoManager - Fix the compilation with debug output enabled
- Date: Wed, 9 Dec 2015 15:13:26 +0000 (UTC)
commit bd62ad1da6c9b68d8919fcdf5384b58cba0459ab
Author: Tomas Popela <tpopela redhat com>
Date: Tue Dec 8 12:13:03 2015 +0100
EHTMLEditorUndoRedoManager - Fix the compilation with debug output enabled
.../composer/e-html-editor-undo-redo-manager.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/web-extensions/composer/e-html-editor-undo-redo-manager.c
b/web-extensions/composer/e-html-editor-undo-redo-manager.c
index ae8626a..d8c6be3 100644
--- a/web-extensions/composer/e-html-editor-undo-redo-manager.c
+++ b/web-extensions/composer/e-html-editor-undo-redo-manager.c
@@ -186,7 +186,7 @@ print_node_inner_html (WebKitDOMNode *node)
WebKitDOMElement *div;
gchar *inner_html;
- if (!fragment) {
+ if (!node) {
printf ("\tnone\n");
return;
}
@@ -197,7 +197,7 @@ print_node_inner_html (WebKitDOMNode *node)
webkit_dom_node_clone_node (node, TRUE),
NULL);
- inner_html = webkit_dom_html_element_get_inner_html (WEBKIT_DOM_HTML_ELEMENT (div));
+ inner_html = webkit_dom_element_get_inner_html (div);
remove_node (WEBKIT_DOM_NODE (div));
printf ("\t'%s'\n", inner_html);
@@ -218,7 +218,7 @@ print_history_event (EHTMLEditorHistoryEvent *event)
case HISTORY_SMILEY:
case HISTORY_IMAGE:
case HISTORY_CITATION_SPLIT:
- case HISTORY_HISTORY_BLOCKQUOTE:
+ case HISTORY_BLOCKQUOTE:
print_node_inner_html (WEBKIT_DOM_NODE (event->data.fragment));
break;
case HISTORY_ALIGNMENT:
@@ -243,7 +243,6 @@ print_history_event (EHTMLEditorHistoryEvent *event)
case HISTORY_IMAGE_DIALOG:
case HISTORY_CELL_DIALOG:
case HISTORY_TABLE_DIALOG:
- case HISTORY_TABLE_DIALOG:
case HISTORY_PAGE_DIALOG:
print_node_inner_html (event->data.dom.from);
print_node_inner_html (event->data.dom.to);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]