diff options
author | Havoc Pennington <hp@redhat.com> | 2002-02-13 23:44:03 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2002-02-13 23:44:03 +0000 |
commit | a760ad804e1603ca6ee7e164e6cc5dc12e0f3b41 (patch) | |
tree | 9045f4a60cf810a3111e4a6e428a4e12f20b9458 /tests | |
parent | 3a4a6edb79fc111a343f2caa7892787c74416e6a (diff) | |
download | gtk+-a760ad804e1603ca6ee7e164e6cc5dc12e0f3b41.tar.gz |
just go ahead and flush all the first validate stuff if it hasn't been
2002-02-13 Havoc Pennington <hp@redhat.com>
* gtk/gtktextview.c (gtk_text_view_paint): just go ahead and flush
all the first validate stuff if it hasn't been done, presumably
someone called process_updates at a weird time.
* tests/testtext.c (do_apply_colors): terminate on >= end, not >
end, avoids infinite loop when end is at the end of the buffer.
* gtk/gtktextbtree.c (_gtk_text_btree_delete): when creating a
line data, we were adding it to the wrong line ("line" instead of
"start_line")
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testtext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testtext.c b/tests/testtext.c index e153fe204f..e9c67dc22d 100644 --- a/tests/testtext.c +++ b/tests/testtext.c @@ -1086,7 +1086,7 @@ do_apply_colors (gpointer callback_data, gtk_text_iter_forward_char (&next); gtk_text_iter_forward_char (&next); - if (gtk_text_iter_compare (&next, &end) > 0) + if (gtk_text_iter_compare (&next, &end) >= 0) { next = end; done = TRUE; |