gtk/gtkwidget.c gtk/gtkscrolledwindow.c Correct documentation that refers

2007-08-14  Cody Russell  <bratsche@gnome.org>

        * gtk/gtkwidget.c
        * gtk/gtkscrolledwindow.c
        * gtk/gtklabel.c: Correct documentation that refers to the
        deprecated gtk_widget_set_usize() API.  Refer instead to
        gtk_widget_set_size_request().  (#459340, Guillaume Cottenceau)


svn path=/trunk/; revision=18613
This commit is contained in:
Cody Russell 2007-08-14 22:44:11 +00:00 committed by Cody Russell
parent fe551d17ff
commit 46bbf4ebd8
4 changed files with 14 additions and 5 deletions

View File

@ -1,3 +1,11 @@
2007-08-14 Cody Russell <bratsche@gnome.org>
* gtk/gtkwidget.c
* gtk/gtkscrolledwindow.c
* gtk/gtklabel.c: Correct documentation that refers to the
deprecated gtk_widget_set_usize() API. Refer instead to
gtk_widget_set_size_request(). (#459340, Guillaume Cottenceau)
2007-08-14 Kristian Rietveld <kris@imendio.com>
* gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): make

View File

@ -2152,7 +2152,7 @@ gtk_label_size_request (GtkWidget *widget,
* If word wrapping is on, then the height requisition can depend
* on:
*
* - Any width set on the widget via gtk_widget_set_usize().
* - Any width set on the widget via gtk_widget_set_size_request().
* - The padding of the widget (xpad, set by gtk_misc_set_padding)
*
* Instead of trying to detect changes to these quantities, if we

View File

@ -43,9 +43,9 @@
* to be best suited to display its contents, including children.
* the width and/or height reported from a widget upon size requisition
* may be overidden by the user by specifying a width and/or height
* other than 0 through gtk_widget_set_usize().
* other than 0 through gtk_widget_set_size_request().
*
* a scrolled window needs (for imlementing all three policy types) to
* a scrolled window needs (for implementing all three policy types) to
* request its width and height based on two different rationales.
* 1) the user wants the scrolled window to just fit into the space
* that it gets allocated for a specifc dimension.

View File

@ -3639,8 +3639,9 @@ gtk_widget_size_request (GtkWidget *widget,
*
* This function is only for use in widget implementations. Obtains
* @widget->requisition, unless someone has forced a particular
* geometry on the widget (e.g. with gtk_widget_set_usize()), in which
* case it returns that geometry instead of the widget's requisition.
* geometry on the widget (e.g. with gtk_widget_set_size_request()),
* in which case it returns that geometry instead of the widget's
* requisition.
*
* This function differs from gtk_widget_size_request() in that
* it retrieves the last size request value from @widget->requisition,