summaryrefslogtreecommitdiff
path: root/pango/pango-attributes.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2003-04-15 19:52:26 +0000
committerOwen Taylor <otaylor@src.gnome.org>2003-04-15 19:52:26 +0000
commit54e2efd5775278a6d40b6d8ba7c5f50118e9012f (patch)
tree06dabbca7407640d696a07f36183fd4c58f7bd07 /pango/pango-attributes.c
parent739458e5d31c1fbf42a57cb1cfd2be0ccc069d12 (diff)
downloadpango-54e2efd5775278a6d40b6d8ba7c5f50118e9012f.tar.gz
Return FALSE, not -1 in g_return_val_if_fail(). (#107666, Morten
Tue Apr 15 03:47:37 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-attributes.c (pango_attr_iterator_next): Return FALSE, not -1 in g_return_val_if_fail(). (#107666, Morten Welinder.)
Diffstat (limited to 'pango/pango-attributes.c')
-rw-r--r--pango/pango-attributes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-attributes.c b/pango/pango-attributes.c
index 2b224eaa..b3a07722 100644
--- a/pango/pango-attributes.c
+++ b/pango/pango-attributes.c
@@ -1244,7 +1244,7 @@ pango_attr_iterator_next (PangoAttrIterator *iterator)
{
GList *tmp_list;
- g_return_val_if_fail (iterator != NULL, -1);
+ g_return_val_if_fail (iterator != NULL, FALSE);
if (!iterator->next_attribute && !iterator->attribute_stack)
return FALSE;