diff options
author | Manish Singh <yosh@src.gnome.org> | 1998-10-25 05:24:49 +0000 |
---|---|---|
committer | Manish Singh <yosh@src.gnome.org> | 1998-10-25 05:24:49 +0000 |
commit | 36ab1965234ce32f170de5157398c47f1f2ac4ec (patch) | |
tree | b91ed3f9f4dc053cc9020a7fda857c9cccad2894 /glib/gnode.c | |
parent | daf46f9550a4f697f2c1926e59dbeab5215052ba (diff) | |
download | glib-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.c | 2 |
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); |