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

@ -203,7 +203,7 @@ gtk_text_mark_get_buffer (GtkTextMark *mark)
{
GtkTextLineSegment *seg;
g_return_val_if_fail (GTK_IS_TEXT_MARK (mark), FALSE);
g_return_val_if_fail (GTK_IS_TEXT_MARK (mark), NULL);
seg = mark->segment;