mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
make the path != NULL check a silent assert, so it follows the g_free()
Fri Jul 11 20:48:14 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtktreemodel.c (gtk_tree_path_free): make the path != NULL check a silent assert, so it follows the g_free() behaviour.
This commit is contained in:
parent
65d5d68524
commit
10d77dd6da
@ -1,3 +1,8 @@
|
||||
Fri Jul 11 20:48:14 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreemodel.c (gtk_tree_path_free): make the path != NULL
|
||||
check a silent assert, so it follows the g_free() behaviour.
|
||||
|
||||
2003-07-11 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkstatusbar.c (gtk_statusbar_init): Center statusbar contents
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Jul 11 20:48:14 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreemodel.c (gtk_tree_path_free): make the path != NULL
|
||||
check a silent assert, so it follows the g_free() behaviour.
|
||||
|
||||
2003-07-11 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkstatusbar.c (gtk_statusbar_init): Center statusbar contents
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Jul 11 20:48:14 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreemodel.c (gtk_tree_path_free): make the path != NULL
|
||||
check a silent assert, so it follows the g_free() behaviour.
|
||||
|
||||
2003-07-11 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkstatusbar.c (gtk_statusbar_init): Center statusbar contents
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Jul 11 20:48:14 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreemodel.c (gtk_tree_path_free): make the path != NULL
|
||||
check a silent assert, so it follows the g_free() behaviour.
|
||||
|
||||
2003-07-11 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkstatusbar.c (gtk_statusbar_init): Center statusbar contents
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Jul 11 20:48:14 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreemodel.c (gtk_tree_path_free): make the path != NULL
|
||||
check a silent assert, so it follows the g_free() behaviour.
|
||||
|
||||
2003-07-11 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkstatusbar.c (gtk_statusbar_init): Center statusbar contents
|
||||
|
@ -397,7 +397,8 @@ gtk_tree_path_get_indices (GtkTreePath *path)
|
||||
void
|
||||
gtk_tree_path_free (GtkTreePath *path)
|
||||
{
|
||||
g_return_if_fail (path != NULL);
|
||||
if (!path)
|
||||
return;
|
||||
|
||||
g_free (path->indices);
|
||||
g_free (path);
|
||||
|
Loading…
Reference in New Issue
Block a user