Commit 85cdc1ce authored by Havoc Pennington's avatar Havoc Pennington Committed by Havoc Pennington

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
parent 9894b89b
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
......
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
......
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
......
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
......
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
......
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
......
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
......
......@@ -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);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment