Fix NULL/FALSE confusion (#107648, Morten Welinder)

2003-03-06  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtktextmark.c (gtk_text_mark_get_buffer):
	* gtk/gtkeditable.c (gtk_editable_get_chars):
	* gtk/gtkctree.c (gtk_ctree_find_node_ptr):
	* demos/gtk-demo/main.c (demo_find_file): Fix NULL/FALSE confusion
	(#107648, Morten Welinder)
This commit is contained in:
Matthias Clasen
2003-03-06 19:49:53 +00:00
committed by Matthias Clasen
parent 4f44e655a4
commit ce58806c0d
9 changed files with 45 additions and 5 deletions

View File

@ -43,7 +43,7 @@ gchar *
demo_find_file (const char *base,
GError **err)
{
g_return_val_if_fail (err == NULL || *err == NULL, FALSE);
g_return_val_if_fail (err == NULL || *err == NULL, NULL);
if (g_file_test (base, G_FILE_TEST_EXISTS))
return g_strdup (base);