[evolution/wip/webkit-composer: 449/966] Replace C cast with macro.
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit-composer: 449/966] Replace C cast with macro.
- Date: Wed, 23 Apr 2014 10:31:10 +0000 (UTC)
commit 0f42a079e3cee066a15910fb86639e4d323dacf7
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]