diff --git a/ChangeLog b/ChangeLog index e4a7a34fc..03051be50 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Oct 24 22:23:04 PDT 1998 Manish Singh + + * gnode.c: small fix to g_node_children_foreach to make it work right. + From Paco Moya + Wed Oct 21 19:22:58 1998 Tim Janik * configure.in (G_MODULE_HAVE_DLERROR): reverted part of the changes diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index e4a7a34fc..03051be50 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,8 @@ +Sat Oct 24 22:23:04 PDT 1998 Manish Singh + + * gnode.c: small fix to g_node_children_foreach to make it work right. + From Paco Moya + Wed Oct 21 19:22:58 1998 Tim Janik * configure.in (G_MODULE_HAVE_DLERROR): reverted part of the changes diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index e4a7a34fc..03051be50 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Sat Oct 24 22:23:04 PDT 1998 Manish Singh + + * gnode.c: small fix to g_node_children_foreach to make it work right. + From Paco Moya + Wed Oct 21 19:22:58 1998 Tim Janik * configure.in (G_MODULE_HAVE_DLERROR): reverted part of the changes diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index e4a7a34fc..03051be50 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,8 @@ +Sat Oct 24 22:23:04 PDT 1998 Manish Singh + + * gnode.c: small fix to g_node_children_foreach to make it work right. + From Paco Moya + Wed Oct 21 19:22:58 1998 Tim Janik * configure.in (G_MODULE_HAVE_DLERROR): reverted part of the changes diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index e4a7a34fc..03051be50 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +Sat Oct 24 22:23:04 PDT 1998 Manish Singh + + * gnode.c: small fix to g_node_children_foreach to make it work right. + From Paco Moya + Wed Oct 21 19:22:58 1998 Tim Janik * configure.in (G_MODULE_HAVE_DLERROR): reverted part of the changes diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index e4a7a34fc..03051be50 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +Sat Oct 24 22:23:04 PDT 1998 Manish Singh + + * gnode.c: small fix to g_node_children_foreach to make it work right. + From Paco Moya + Wed Oct 21 19:22:58 1998 Tim Janik * configure.in (G_MODULE_HAVE_DLERROR): reverted part of the changes diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index e4a7a34fc..03051be50 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +Sat Oct 24 22:23:04 PDT 1998 Manish Singh + + * gnode.c: small fix to g_node_children_foreach to make it work right. + From Paco Moya + Wed Oct 21 19:22:58 1998 Tim Janik * configure.in (G_MODULE_HAVE_DLERROR): reverted part of the changes diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index e4a7a34fc..03051be50 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Sat Oct 24 22:23:04 PDT 1998 Manish Singh + + * gnode.c: small fix to g_node_children_foreach to make it work right. + From Paco Moya + Wed Oct 21 19:22:58 1998 Tim Janik * configure.in (G_MODULE_HAVE_DLERROR): reverted part of the changes 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); diff --git a/gnode.c b/gnode.c index dc70f91ce..dea428da6 100644 --- a/gnode.c +++ b/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);