+Mon Aug 3 16:02:26 1998 Tim Janik <timj@gtk.org>
+
+ * glib.h:
+ * gnode.c: change order of gpointer data; field in struct _GNode to
+ be partly binary compatible with GList and GSList.
+
1998-08-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* garray.c (g_ptr_array_remove_index): bugfix: index check for
+Mon Aug 3 16:02:26 1998 Tim Janik <timj@gtk.org>
+
+ * glib.h:
+ * gnode.c: change order of gpointer data; field in struct _GNode to
+ be partly binary compatible with GList and GSList.
+
1998-08-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* garray.c (g_ptr_array_remove_index): bugfix: index check for
+Mon Aug 3 16:02:26 1998 Tim Janik <timj@gtk.org>
+
+ * glib.h:
+ * gnode.c: change order of gpointer data; field in struct _GNode to
+ be partly binary compatible with GList and GSList.
+
1998-08-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* garray.c (g_ptr_array_remove_index): bugfix: index check for
+Mon Aug 3 16:02:26 1998 Tim Janik <timj@gtk.org>
+
+ * glib.h:
+ * gnode.c: change order of gpointer data; field in struct _GNode to
+ be partly binary compatible with GList and GSList.
+
1998-08-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* garray.c (g_ptr_array_remove_index): bugfix: index check for
+Mon Aug 3 16:02:26 1998 Tim Janik <timj@gtk.org>
+
+ * glib.h:
+ * gnode.c: change order of gpointer data; field in struct _GNode to
+ be partly binary compatible with GList and GSList.
+
1998-08-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* garray.c (g_ptr_array_remove_index): bugfix: index check for
+Mon Aug 3 16:02:26 1998 Tim Janik <timj@gtk.org>
+
+ * glib.h:
+ * gnode.c: change order of gpointer data; field in struct _GNode to
+ be partly binary compatible with GList and GSList.
+
1998-08-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* garray.c (g_ptr_array_remove_index): bugfix: index check for
+Mon Aug 3 16:02:26 1998 Tim Janik <timj@gtk.org>
+
+ * glib.h:
+ * gnode.c: change order of gpointer data; field in struct _GNode to
+ be partly binary compatible with GList and GSList.
+
1998-08-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* garray.c (g_ptr_array_remove_index): bugfix: index check for
+Mon Aug 3 16:02:26 1998 Tim Janik <timj@gtk.org>
+
+ * glib.h:
+ * gnode.c: change order of gpointer data; field in struct _GNode to
+ be partly binary compatible with GList and GSList.
+
1998-08-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* garray.c (g_ptr_array_remove_index): bugfix: index check for
*/
struct _GNode
{
- GNode *prev;
+ gpointer data;
GNode *next;
+ GNode *prev;
GNode *parent;
GNode *children;
-
- gpointer data;
};
#define G_NODE_IS_ROOT(node) (((GNode*) (node))->parent == NULL && \
*/
struct _GNode
{
- GNode *prev;
+ gpointer data;
GNode *next;
+ GNode *prev;
GNode *parent;
GNode *children;
-
- gpointer data;
};
#define G_NODE_IS_ROOT(node) (((GNode*) (node))->parent == NULL && \
else
node = g_chunk_new (GNode, g_tree_node_chunk);
- node->prev = NULL;
+ node->data = data;
node->next = NULL;
+ node->prev = NULL;
node->parent = NULL;
node->children = NULL;
- node->data = data;
return node;
}
else
node = g_chunk_new (GNode, g_tree_node_chunk);
- node->prev = NULL;
+ node->data = data;
node->next = NULL;
+ node->prev = NULL;
node->parent = NULL;
node->children = NULL;
- node->data = data;
return node;
}