[lasem] dom: return on append_child when ref_child is null.
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [lasem] dom: return on append_child when ref_child is null.
- Date: Tue, 2 Apr 2013 19:43:11 +0000 (UTC)
commit f6d03ad87530722901f7168bd8e48f0ccd49ccd3
Author: Emmanuel Pacaud <emmanuel gnome org>
Date: Tue Apr 2 21:42:22 2013 +0200
dom: return on append_child when ref_child is null.
src/lsmdomnode.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/lsmdomnode.c b/src/lsmdomnode.c
index 51f5c9f..082742c 100644
--- a/src/lsmdomnode.c
+++ b/src/lsmdomnode.c
@@ -371,7 +371,7 @@ lsm_dom_node_insert_before (LsmDomNode* self, LsmDomNode* new_child, LsmDomNode*
LsmDomNodeClass *node_class;
if (ref_child == NULL)
- lsm_dom_node_append_child (self, new_child);
+ return lsm_dom_node_append_child (self, new_child);
g_return_val_if_fail (LSM_IS_DOM_NODE (new_child), NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]