summaryrefslogtreecommitdiff
path: root/gtk/gtkeditable.c
diff options
context:
space:
mode:
authorMatthias Clasen <maclas@gmx.de>2003-03-06 19:49:53 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2003-03-06 19:49:53 +0000
commitce58806c0d32a5065465a786b89e37bcc76f976c (patch)
tree63f5eb85e9dfb4f1ef642ae527b78098705a22ed /gtk/gtkeditable.c
parent4f44e655a4383487cc2c57802903bf76c03624ca (diff)
downloadgdk-pixbuf-ce58806c0d32a5065465a786b89e37bcc76f976c.tar.gz
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)
Diffstat (limited to 'gtk/gtkeditable.c')
-rw-r--r--gtk/gtkeditable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkeditable.c b/gtk/gtkeditable.c
index d15052187..16bc0de6a 100644
--- a/gtk/gtkeditable.c
+++ b/gtk/gtkeditable.c
@@ -122,7 +122,7 @@ gtk_editable_get_chars (GtkEditable *editable,
gint start,
gint end)
{
- g_return_val_if_fail (GTK_IS_EDITABLE (editable), FALSE);
+ g_return_val_if_fail (GTK_IS_EDITABLE (editable), NULL);
return GTK_EDITABLE_GET_CLASS (editable)->get_chars (editable, start, end);
}