From fd226bf07d20e124a3e498f1b0776a5341aa93ce Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Fri, 12 Sep 2014 09:55:52 +0200 Subject: Replace the webkit_dom_node_get_node_type function with equivalent macros --- e-util/e-html-editor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'e-util/e-html-editor.c') 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 = -- cgit v1.2.3