[evolution/wip/webkit-composer: 309/372] Replace C cast with macro.
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit-composer: 309/372] Replace C cast with macro.
- Date: Thu, 6 Feb 2014 11:49:29 +0000 (UTC)
commit 14ce7c4cb04fe662da25c798294ee97d957c94d3
Author: Tomas Popela <tpopela redhat com>
Date: Tue Sep 24 16:49:56 2013 +0200
Replace C cast with macro.
e-util/e-editor-utils.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/e-util/e-editor-utils.c b/e-util/e-editor-utils.c
index d4f6308..43b8c57 100644
--- a/e-util/e-editor-utils.c
+++ b/e-util/e-editor-utils.c
@@ -55,13 +55,13 @@ e_editor_dom_node_find_parent_element (WebKitDOMNode *node,
(strlen (node_tagname) == taglen) &&
(g_ascii_strncasecmp (node_tagname, tagname, taglen) == 0)) {
g_free (node_tagname);
- return (WebKitDOMElement *) node;
+ return WEBKIT_DOM_ELEMENT (node);
}
g_free (node_tagname);
}
- node = (WebKitDOMNode *) webkit_dom_node_get_parent_element (node);
+ node = WEBKIT_DOM_NODE (webkit_dom_node_get_parent_element (node));
}
return NULL;
@@ -97,7 +97,7 @@ e_editor_dom_node_find_child_element (WebKitDOMNode *node,
(strlen (node_tagname) == taglen) &&
(g_ascii_strncasecmp (node_tagname, tagname, taglen) == 0)) {
g_free (node_tagname);
- return (WebKitDOMElement *) node;
+ return WEBKIT_DOM_ELEMENT (node);
}
g_free (node_tagname);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]