From 6abe62c95b02e3023da0bf70efba3d71a3a9e943 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 16 Oct 2007 17:33:16 +0000 Subject: [PATCH] Improve the docs. (#486155, Owen Taylor) 2007-10-16 Matthias Clasen * gtk/gtktextiter.c (gtk_text_iter_forward_line): Improve the docs. (#486155, Owen Taylor) svn path=/trunk/; revision=18914 --- ChangeLog | 5 +++++ gtk/gtktextiter.c | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index a8eb8409c7..d7894cdeff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-10-16 Matthias Clasen + + * gtk/gtktextiter.c (gtk_text_iter_forward_line): Improve + the docs. (#486155, Owen Taylor) + 2007-10-16 Matthias Clasen * tests/testxinerama.c: Change testcase to not update diff --git a/gtk/gtktextiter.c b/gtk/gtktextiter.c index a23d02b2c8..715f7e5964 100644 --- a/gtk/gtktextiter.c +++ b/gtk/gtktextiter.c @@ -2479,10 +2479,10 @@ gtk_text_iter_backward_text_chars (GtkTextIter *iter, * gtk_text_iter_forward_line: * @iter: an iterator * - * Moves @iter to the start of the next line. Returns %TRUE if there - * was a next line to move to, and %FALSE if @iter was simply moved to - * the end of the buffer and is now not dereferenceable, or if @iter was - * already at the end of the buffer. + * Moves @iter to the start of the next line. If the iter is already on the + * last line of the buffer, moves the iter to the end of the current line. + * If after the operation, the iter is at the end of the buffer and not + * dereferencable, returns %FALSE. Otherwise, returns %TRUE. * * Return value: whether @iter can be dereferenced **/