summaryrefslogtreecommitdiff
path: root/glib/gnode.c
diff options
context:
space:
mode:
authorManish Singh <yosh@src.gnome.org>1998-10-25 05:24:49 +0000
committerManish Singh <yosh@src.gnome.org>1998-10-25 05:24:49 +0000
commit36ab1965234ce32f170de5157398c47f1f2ac4ec (patch)
treeb91ed3f9f4dc053cc9020a7fda857c9cccad2894 /glib/gnode.c
parentdaf46f9550a4f697f2c1926e59dbeab5215052ba (diff)
downloadglib-36ab1965234ce32f170de5157398c47f1f2ac4ec.tar.gz
small fix to g_node_children_foreach to make it work right. From Paco Moya
<paco@cadnotebk17.eecs.berkeley.edu> -Yosh
Diffstat (limited to 'glib/gnode.c')
-rw-r--r--glib/gnode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/gnode.c b/glib/gnode.c
index dc70f91ce..dea428da6 100644
--- a/glib/gnode.c
+++ b/glib/gnode.c
@@ -875,7 +875,7 @@ g_node_children_foreach (GNode *node,
current = node;
node = current->next;
- if (G_NODE_IS_LEAF (node))
+ if (G_NODE_IS_LEAF (current))
{
if (flags & G_TRAVERSE_LEAFS)
func (current, data);