fix return value, #61714 (Vitaly Tishkov)

2001-10-23  Havoc Pennington  <hp@redhat.com>

	* gtk/gtktextiter.c (gtk_text_iter_forward_cursor_positions): fix
	return value, #61714 (Vitaly Tishkov)
	(gtk_text_iter_backward_sentence_starts): ditto
	(gtk_text_iter_backward_word_starts): ditto
	(gtk_text_iter_forward_word_ends): ditto
	(gtk_text_iter_forward_sentence_ends): ditto
	(gtk_text_iter_backward_cursor_positions): ditto
This commit is contained in:
Havoc Pennington 2001-10-23 19:19:10 +00:00 committed by Havoc Pennington
parent 9894b89bd9
commit 85cdc1cec3
8 changed files with 82 additions and 6 deletions

View File

@ -1,3 +1,13 @@
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.c (gtk_text_iter_forward_cursor_positions): fix
return value, #61714 (Vitaly Tishkov)
(gtk_text_iter_backward_sentence_starts): ditto
(gtk_text_iter_backward_word_starts): ditto
(gtk_text_iter_forward_word_ends): ditto
(gtk_text_iter_forward_sentence_ends): ditto
(gtk_text_iter_backward_cursor_positions): ditto
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextlayout.c (gtk_text_layout_get_iter_at_pixel): Apply

View File

@ -1,3 +1,13 @@
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.c (gtk_text_iter_forward_cursor_positions): fix
return value, #61714 (Vitaly Tishkov)
(gtk_text_iter_backward_sentence_starts): ditto
(gtk_text_iter_backward_word_starts): ditto
(gtk_text_iter_forward_word_ends): ditto
(gtk_text_iter_forward_sentence_ends): ditto
(gtk_text_iter_backward_cursor_positions): ditto
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextlayout.c (gtk_text_layout_get_iter_at_pixel): Apply

View File

@ -1,3 +1,13 @@
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.c (gtk_text_iter_forward_cursor_positions): fix
return value, #61714 (Vitaly Tishkov)
(gtk_text_iter_backward_sentence_starts): ditto
(gtk_text_iter_backward_word_starts): ditto
(gtk_text_iter_forward_word_ends): ditto
(gtk_text_iter_forward_sentence_ends): ditto
(gtk_text_iter_backward_cursor_positions): ditto
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextlayout.c (gtk_text_layout_get_iter_at_pixel): Apply

View File

@ -1,3 +1,13 @@
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.c (gtk_text_iter_forward_cursor_positions): fix
return value, #61714 (Vitaly Tishkov)
(gtk_text_iter_backward_sentence_starts): ditto
(gtk_text_iter_backward_word_starts): ditto
(gtk_text_iter_forward_word_ends): ditto
(gtk_text_iter_forward_sentence_ends): ditto
(gtk_text_iter_backward_cursor_positions): ditto
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextlayout.c (gtk_text_layout_get_iter_at_pixel): Apply

View File

@ -1,3 +1,13 @@
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.c (gtk_text_iter_forward_cursor_positions): fix
return value, #61714 (Vitaly Tishkov)
(gtk_text_iter_backward_sentence_starts): ditto
(gtk_text_iter_backward_word_starts): ditto
(gtk_text_iter_forward_word_ends): ditto
(gtk_text_iter_forward_sentence_ends): ditto
(gtk_text_iter_backward_cursor_positions): ditto
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextlayout.c (gtk_text_layout_get_iter_at_pixel): Apply

View File

@ -1,3 +1,13 @@
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.c (gtk_text_iter_forward_cursor_positions): fix
return value, #61714 (Vitaly Tishkov)
(gtk_text_iter_backward_sentence_starts): ditto
(gtk_text_iter_backward_word_starts): ditto
(gtk_text_iter_forward_word_ends): ditto
(gtk_text_iter_forward_sentence_ends): ditto
(gtk_text_iter_backward_cursor_positions): ditto
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextlayout.c (gtk_text_layout_get_iter_at_pixel): Apply

View File

@ -1,3 +1,13 @@
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.c (gtk_text_iter_forward_cursor_positions): fix
return value, #61714 (Vitaly Tishkov)
(gtk_text_iter_backward_sentence_starts): ditto
(gtk_text_iter_backward_word_starts): ditto
(gtk_text_iter_forward_word_ends): ditto
(gtk_text_iter_forward_sentence_ends): ditto
(gtk_text_iter_backward_cursor_positions): ditto
2001-10-23 Havoc Pennington <hp@redhat.com>
* gtk/gtktextlayout.c (gtk_text_layout_get_iter_at_pixel): Apply

View File

@ -3033,7 +3033,8 @@ gtk_text_iter_forward_word_ends (GtkTextIter *iter,
break;
--count;
}
return TRUE;
return !gtk_text_iter_is_end (iter);
}
/**
@ -3066,7 +3067,8 @@ gtk_text_iter_backward_word_starts (GtkTextIter *iter,
break;
--count;
}
return TRUE;
return !gtk_text_iter_is_end (iter);
}
/**
@ -3244,7 +3246,8 @@ gtk_text_iter_forward_sentence_ends (GtkTextIter *iter,
break;
--count;
}
return TRUE;
return !gtk_text_iter_is_end (iter);
}
/**
@ -3277,7 +3280,8 @@ gtk_text_iter_backward_sentence_starts (GtkTextIter *iter,
break;
--count;
}
return TRUE;
return !gtk_text_iter_is_end (iter);
}
static gboolean
@ -3400,7 +3404,8 @@ gtk_text_iter_forward_cursor_positions (GtkTextIter *iter,
break;
--count;
}
return TRUE;
return !gtk_text_iter_is_end (iter);
}
/**
@ -3437,7 +3442,8 @@ gtk_text_iter_backward_cursor_positions (GtkTextIter *iter,
break;
--count;
}
return TRUE;
return !gtk_text_iter_is_end (iter);
}
/**