forked from AuroraMiddleware/gtk
assertion here that we were at the end iterator was not correct; change
2001-11-29 Havoc Pennington <hp@redhat.com> * gtk/gtktextiter.c (_gtk_text_iter_forward_indexable_segment): assertion here that we were at the end iterator was not correct; change code to move us to the end iterator. bug #65731
This commit is contained in:
parent
a0dd3bc884
commit
ddfc7377d4
@ -1,3 +1,9 @@
|
||||
2001-11-29 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtktextiter.c (_gtk_text_iter_forward_indexable_segment):
|
||||
assertion here that we were at the end iterator was not correct;
|
||||
change code to move us to the end iterator. bug #65731
|
||||
|
||||
Wed Nov 28 20:05:44 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkaccellabel.c (gtk_accel_label_refetch): Remove
|
||||
|
@ -1,3 +1,9 @@
|
||||
2001-11-29 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtktextiter.c (_gtk_text_iter_forward_indexable_segment):
|
||||
assertion here that we were at the end iterator was not correct;
|
||||
change code to move us to the end iterator. bug #65731
|
||||
|
||||
Wed Nov 28 20:05:44 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkaccellabel.c (gtk_accel_label_refetch): Remove
|
||||
|
@ -1,3 +1,9 @@
|
||||
2001-11-29 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtktextiter.c (_gtk_text_iter_forward_indexable_segment):
|
||||
assertion here that we were at the end iterator was not correct;
|
||||
change code to move us to the end iterator. bug #65731
|
||||
|
||||
Wed Nov 28 20:05:44 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkaccellabel.c (gtk_accel_label_refetch): Remove
|
||||
|
@ -1,3 +1,9 @@
|
||||
2001-11-29 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtktextiter.c (_gtk_text_iter_forward_indexable_segment):
|
||||
assertion here that we were at the end iterator was not correct;
|
||||
change code to move us to the end iterator. bug #65731
|
||||
|
||||
Wed Nov 28 20:05:44 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkaccellabel.c (gtk_accel_label_refetch): Remove
|
||||
|
@ -1,3 +1,9 @@
|
||||
2001-11-29 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtktextiter.c (_gtk_text_iter_forward_indexable_segment):
|
||||
assertion here that we were at the end iterator was not correct;
|
||||
change code to move us to the end iterator. bug #65731
|
||||
|
||||
Wed Nov 28 20:05:44 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkaccellabel.c (gtk_accel_label_refetch): Remove
|
||||
|
@ -1,3 +1,9 @@
|
||||
2001-11-29 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtktextiter.c (_gtk_text_iter_forward_indexable_segment):
|
||||
assertion here that we were at the end iterator was not correct;
|
||||
change code to move us to the end iterator. bug #65731
|
||||
|
||||
Wed Nov 28 20:05:44 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkaccellabel.c (gtk_accel_label_refetch): Remove
|
||||
|
@ -1,3 +1,9 @@
|
||||
2001-11-29 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtktextiter.c (_gtk_text_iter_forward_indexable_segment):
|
||||
assertion here that we were at the end iterator was not correct;
|
||||
change code to move us to the end iterator. bug #65731
|
||||
|
||||
Wed Nov 28 20:05:44 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkaccellabel.c (gtk_accel_label_refetch): Remove
|
||||
|
@ -2010,14 +2010,17 @@ _gtk_text_iter_forward_indexable_segment (GtkTextIter *iter)
|
||||
}
|
||||
else
|
||||
{
|
||||
/* End of buffer */
|
||||
/* End of buffer, but iter is still at start of last segment,
|
||||
* not at the end iterator. We put it on the end iterator.
|
||||
*/
|
||||
|
||||
check_invariants (iter);
|
||||
|
||||
g_assert (!_gtk_text_line_is_last (real->line, real->tree));
|
||||
g_assert (_gtk_text_line_contains_end_iter (real->line, real->tree));
|
||||
if (!gtk_text_iter_is_end (iter))
|
||||
_gtk_text_btree_spew (_gtk_text_iter_get_btree (iter));
|
||||
|
||||
gtk_text_iter_forward_to_line_end (iter);
|
||||
|
||||
g_assert (gtk_text_iter_is_end (iter));
|
||||
|
||||
return FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user