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:
Kristian Rietveld 2003-07-11 19:00:25 +00:00 committed by Kristian Rietveld
parent 65d5d68524
commit 10d77dd6da
6 changed files with 27 additions and 1 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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