From 95f48b33a5c7b9f57f40e9a779107ed0e9f9ed7c Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 20 Mar 2006 03:14:48 +0000 Subject: [PATCH] Document that @cell must be one of the renderers of the icon view, warn if 2006-03-19 Matthias Clasen * gtk/gtkiconview.c (gtk_icon_view_set_cursor): Document that @cell must be one of the renderers of the icon view, warn if it is not, and ignore @start_editing if @cell is not set. (#335001, Emmanuel Rodriguez) --- ChangeLog | 7 +++++++ ChangeLog.pre-2-10 | 7 +++++++ gtk/gtkiconview.c | 13 +++++++------ 3 files changed, 21 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 59ee5fe03c..e4b2f077c5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-03-19 Matthias Clasen + + * gtk/gtkiconview.c (gtk_icon_view_set_cursor): Document that + @cell must be one of the renderers of the icon view, warn if + it is not, and ignore @start_editing if @cell is not set. + (#335001, Emmanuel Rodriguez) + 2006-03-16 Matthias Clasen * configure.in: Add a missing comma. (#334774, Peter Breitenlohner) diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 59ee5fe03c..e4b2f077c5 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,10 @@ +2006-03-19 Matthias Clasen + + * gtk/gtkiconview.c (gtk_icon_view_set_cursor): Document that + @cell must be one of the renderers of the icon view, warn if + it is not, and ignore @start_editing if @cell is not set. + (#335001, Emmanuel Rodriguez) + 2006-03-16 Matthias Clasen * configure.in: Add a missing comma. (#334774, Peter Breitenlohner) diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c index 95122e88fd..51a7711ebd 100644 --- a/gtk/gtkiconview.c +++ b/gtk/gtkiconview.c @@ -3947,18 +3947,19 @@ gtk_icon_view_move_cursor_start_end (GtkIconView *icon_view, * @col_align: The horizontal alignment of the item specified by @path. * * Moves the alignments of @icon_view to the position specified by @path. - * @row_align determines where the row is placed, and @col_align determines where - * @column is placed. Both are expected to be between 0.0 and 1.0. - * 0.0 means left/top alignment, 1.0 means right/bottom alignment, 0.5 means center. + * @row_align determines where the row is placed, and @col_align determines + * where @column is placed. Both are expected to be between 0.0 and 1.0. + * 0.0 means left/top alignment, 1.0 means right/bottom alignment, 0.5 means + * center. * * If @use_align is %FALSE, then the alignment arguments are ignored, and the * tree does the minimum amount of work to scroll the item onto the screen. * This means that the item will be scrolled to the edge closest to its current * position. If the item is currently visible on the screen, nothing is done. * - * This function only works if the model is set, and @path is a valid row on the - * model. If the model changes before the @icon_view is realized, the centered - * path will be modified to reflect this change. + * This function only works if the model is set, and @path is a valid row on + * the model. If the model changes before the @icon_view is realized, the + * centered path will be modified to reflect this change. * * Since: 2.8 **/