[aravis] dom_node: log append_child failures instead of debug.
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [aravis] dom_node: log append_child failures instead of debug.
- Date: Tue, 6 Mar 2012 19:07:59 +0000 (UTC)
commit 8aee032a7a171dacc63a15e7691e679bf5f22b46
Author: Emmanuel Pacaud <emmanuel gnome org>
Date: Tue Mar 6 20:06:43 2012 +0100
dom_node: log append_child failures instead of debug.
This avoids to pollute the debug output with can't append #text messages.
src/arvdomnode.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/arvdomnode.c b/src/arvdomnode.c
index b3e9a30..f46a847 100644
--- a/src/arvdomnode.c
+++ b/src/arvdomnode.c
@@ -596,7 +596,7 @@ arv_dom_node_append_child (ArvDomNode* self, ArvDomNode* new_child)
arv_dom_node_remove_child (self, new_child);
if (!ARV_DOM_NODE_GET_CLASS (self)->can_append_child (self, new_child)) {
- arv_debug_dom ("[ArvDomNode::append_child] Can't append '%s' to '%s'",
+ arv_log_dom ("[ArvDomNode::append_child] Can't append '%s' to '%s'",
arv_dom_node_get_node_name (new_child),
arv_dom_node_get_node_name (self));
g_object_unref (new_child);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]