small fix to g_node_children_foreach to make it work right. From Paco Moya

<paco@cadnotebk17.eecs.berkeley.edu>

-Yosh
This commit is contained in:
Manish Singh 1998-10-25 05:24:49 +00:00
parent daf46f9550
commit 36ab196523
10 changed files with 42 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Sat Oct 24 22:23:04 PDT 1998 Manish Singh <yosh@gimp.org>
* gnode.c: small fix to g_node_children_foreach to make it work right.
From Paco Moya <paco@cadnotebk17.eecs.berkeley.edu>
Wed Oct 21 19:22:58 1998 Tim Janik <timj@gtk.org>
* configure.in (G_MODULE_HAVE_DLERROR): reverted part of the changes

View File

@ -1,3 +1,8 @@
Sat Oct 24 22:23:04 PDT 1998 Manish Singh <yosh@gimp.org>
* gnode.c: small fix to g_node_children_foreach to make it work right.
From Paco Moya <paco@cadnotebk17.eecs.berkeley.edu>
Wed Oct 21 19:22:58 1998 Tim Janik <timj@gtk.org>
* configure.in (G_MODULE_HAVE_DLERROR): reverted part of the changes

View File

@ -1,3 +1,8 @@
Sat Oct 24 22:23:04 PDT 1998 Manish Singh <yosh@gimp.org>
* gnode.c: small fix to g_node_children_foreach to make it work right.
From Paco Moya <paco@cadnotebk17.eecs.berkeley.edu>
Wed Oct 21 19:22:58 1998 Tim Janik <timj@gtk.org>
* configure.in (G_MODULE_HAVE_DLERROR): reverted part of the changes

View File

@ -1,3 +1,8 @@
Sat Oct 24 22:23:04 PDT 1998 Manish Singh <yosh@gimp.org>
* gnode.c: small fix to g_node_children_foreach to make it work right.
From Paco Moya <paco@cadnotebk17.eecs.berkeley.edu>
Wed Oct 21 19:22:58 1998 Tim Janik <timj@gtk.org>
* configure.in (G_MODULE_HAVE_DLERROR): reverted part of the changes

View File

@ -1,3 +1,8 @@
Sat Oct 24 22:23:04 PDT 1998 Manish Singh <yosh@gimp.org>
* gnode.c: small fix to g_node_children_foreach to make it work right.
From Paco Moya <paco@cadnotebk17.eecs.berkeley.edu>
Wed Oct 21 19:22:58 1998 Tim Janik <timj@gtk.org>
* configure.in (G_MODULE_HAVE_DLERROR): reverted part of the changes

View File

@ -1,3 +1,8 @@
Sat Oct 24 22:23:04 PDT 1998 Manish Singh <yosh@gimp.org>
* gnode.c: small fix to g_node_children_foreach to make it work right.
From Paco Moya <paco@cadnotebk17.eecs.berkeley.edu>
Wed Oct 21 19:22:58 1998 Tim Janik <timj@gtk.org>
* configure.in (G_MODULE_HAVE_DLERROR): reverted part of the changes

View File

@ -1,3 +1,8 @@
Sat Oct 24 22:23:04 PDT 1998 Manish Singh <yosh@gimp.org>
* gnode.c: small fix to g_node_children_foreach to make it work right.
From Paco Moya <paco@cadnotebk17.eecs.berkeley.edu>
Wed Oct 21 19:22:58 1998 Tim Janik <timj@gtk.org>
* configure.in (G_MODULE_HAVE_DLERROR): reverted part of the changes

View File

@ -1,3 +1,8 @@
Sat Oct 24 22:23:04 PDT 1998 Manish Singh <yosh@gimp.org>
* gnode.c: small fix to g_node_children_foreach to make it work right.
From Paco Moya <paco@cadnotebk17.eecs.berkeley.edu>
Wed Oct 21 19:22:58 1998 Tim Janik <timj@gtk.org>
* configure.in (G_MODULE_HAVE_DLERROR): reverted part of the changes

View File

@ -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);

View File

@ -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);