mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 14:36:13 +01:00
check for key_compare_func != NULL (reported by Michal Kara).
Fri Sep 18 03:41:20 1998 Tim Janik <timj@gtk.org> * gtree.c (g_tree_new): check for key_compare_func != NULL (reported by Michal Kara).
This commit is contained in:
parent
ebc96dde35
commit
ac3a8ac9a7
@ -1,3 +1,8 @@
|
||||
Fri Sep 18 03:41:20 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtree.c (g_tree_new): check for key_compare_func != NULL (reported
|
||||
by Michal Kara).
|
||||
|
||||
Thu Sep 17 18:55:46 PDT 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* config.h.in: removed from repository
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Sep 18 03:41:20 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtree.c (g_tree_new): check for key_compare_func != NULL (reported
|
||||
by Michal Kara).
|
||||
|
||||
Thu Sep 17 18:55:46 PDT 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* config.h.in: removed from repository
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Sep 18 03:41:20 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtree.c (g_tree_new): check for key_compare_func != NULL (reported
|
||||
by Michal Kara).
|
||||
|
||||
Thu Sep 17 18:55:46 PDT 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* config.h.in: removed from repository
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Sep 18 03:41:20 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtree.c (g_tree_new): check for key_compare_func != NULL (reported
|
||||
by Michal Kara).
|
||||
|
||||
Thu Sep 17 18:55:46 PDT 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* config.h.in: removed from repository
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Sep 18 03:41:20 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtree.c (g_tree_new): check for key_compare_func != NULL (reported
|
||||
by Michal Kara).
|
||||
|
||||
Thu Sep 17 18:55:46 PDT 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* config.h.in: removed from repository
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Sep 18 03:41:20 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtree.c (g_tree_new): check for key_compare_func != NULL (reported
|
||||
by Michal Kara).
|
||||
|
||||
Thu Sep 17 18:55:46 PDT 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* config.h.in: removed from repository
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Sep 18 03:41:20 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtree.c (g_tree_new): check for key_compare_func != NULL (reported
|
||||
by Michal Kara).
|
||||
|
||||
Thu Sep 17 18:55:46 PDT 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* config.h.in: removed from repository
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Sep 18 03:41:20 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtree.c (g_tree_new): check for key_compare_func != NULL (reported
|
||||
by Michal Kara).
|
||||
|
||||
Thu Sep 17 18:55:46 PDT 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* config.h.in: removed from repository
|
||||
|
@ -87,6 +87,8 @@ g_tree_new (GCompareFunc key_compare_func)
|
||||
{
|
||||
GRealTree *rtree;
|
||||
|
||||
g_return_val_if_fail (key_compare_func != NULL, NULL);
|
||||
|
||||
rtree = g_new (GRealTree, 1);
|
||||
rtree->root = NULL;
|
||||
rtree->key_compare = key_compare_func;
|
||||
|
Loading…
Reference in New Issue
Block a user