diff options
author | Havoc Pennington <hp@redhat.com> | 2001-09-25 23:35:06 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2001-09-25 23:35:06 +0000 |
commit | be6ae47ad2bcb501d15317ea39b437a349cc07a4 (patch) | |
tree | cecc68106ed6094c6485608f8a3f256c480fc536 /gtk/gtktextiter.c | |
parent | 1a26412db8635936ad1d0b84efd5bd2618b20ecd (diff) | |
download | gdk-pixbuf-be6ae47ad2bcb501d15317ea39b437a349cc07a4.tar.gz |
fix for #50317
2001-09-25 Havoc Pennington <hp@redhat.com>
* gtk/gtktextview.c: fix for #50317
Diffstat (limited to 'gtk/gtktextiter.c')
-rw-r--r-- | gtk/gtktextiter.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtktextiter.c b/gtk/gtktextiter.c index 3e24beb38..a3245437c 100644 --- a/gtk/gtktextiter.c +++ b/gtk/gtktextiter.c @@ -2003,6 +2003,8 @@ _gtk_text_iter_forward_indexable_segment (GtkTextIter *iter) { /* End of buffer */ + g_assert (!_gtk_text_line_is_last (real->line, real->tree)); + g_assert (_gtk_text_line_contains_end_iter (real->line, real->tree)); g_assert (gtk_text_iter_is_end (iter)); check_invariants (iter); |