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 /e-util/e-html-editor.c | |
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 'e-util/e-html-editor.c')
-rw-r--r-- | e-util/e-html-editor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/e-util/e-html-editor.c b/e-util/e-html-editor.c index aef38bc6f8..74b4a9b65c 100644 --- a/e-util/e-html-editor.c +++ b/e-util/e-html-editor.c @@ -352,7 +352,7 @@ html_editor_update_actions (EHTMLEditor *editor, visible = (WEBKIT_DOM_IS_HTMLHR_ELEMENT (node)); gtk_action_set_visible (ACTION (CONTEXT_PROPERTIES_RULE), visible); - visible = (webkit_dom_node_get_node_type (node) == 3); + visible = (WEBKIT_DOM_IS_TEXT (node)); gtk_action_set_visible (ACTION (CONTEXT_PROPERTIES_TEXT), visible); visible = |