diff options
author | Tomas Popela <tpopela@redhat.com> | 2014-09-12 15:55:52 +0800 |
---|---|---|
committer | Tomas Popela <tpopela@redhat.com> | 2014-09-12 16:23:26 +0800 |
commit | fd226bf07d20e124a3e498f1b0776a5341aa93ce (patch) | |
tree | c4902ea8f3e5ad1a7de773365545e3c7f747477f /plugins | |
parent | e574751387406936204f7c146401b0576f3412c6 (diff) | |
download | gsoc2013-evolution-fd226bf07d20e124a3e498f1b0776a5341aa93ce.tar gsoc2013-evolution-fd226bf07d20e124a3e498f1b0776a5341aa93ce.tar.gz gsoc2013-evolution-fd226bf07d20e124a3e498f1b0776a5341aa93ce.tar.bz2 gsoc2013-evolution-fd226bf07d20e124a3e498f1b0776a5341aa93ce.tar.lz gsoc2013-evolution-fd226bf07d20e124a3e498f1b0776a5341aa93ce.tar.xz gsoc2013-evolution-fd226bf07d20e124a3e498f1b0776a5341aa93ce.tar.zst gsoc2013-evolution-fd226bf07d20e124a3e498f1b0776a5341aa93ce.zip |
Replace the webkit_dom_node_get_node_type function with equivalent macros
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/external-editor/external-editor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/external-editor/external-editor.c b/plugins/external-editor/external-editor.c index 9ada39f0be..5efff46979 100644 --- a/plugins/external-editor/external-editor.c +++ b/plugins/external-editor/external-editor.c @@ -287,7 +287,7 @@ get_caret_position (EHTMLEditorView *view) node, webkit_dom_dom_selection_get_anchor_node (selection))) { break; - } else if (webkit_dom_node_get_node_type (node) == 3) { + } else if (WEBKIT_DOM_IS_TEXT (node)) { gchar *text = webkit_dom_node_get_text_content (node); range_count += strlen (text); g_free (text); |