]> Pileus Git - ~andy/gtk/commitdiff
gtk/gtkwidget.c gtk/gtkscrolledwindow.c Correct documentation that refers
authorCody Russell <bratsche@gnome.org>
Tue, 14 Aug 2007 22:44:11 +0000 (22:44 +0000)
committerCody Russell <bratsche@src.gnome.org>
Tue, 14 Aug 2007 22:44:11 +0000 (22:44 +0000)
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

ChangeLog
gtk/gtklabel.c
gtk/gtkscrolledwindow.c
gtk/gtkwidget.c

index d0ca452fc466e0608376279f960039fb7da043f2..6f1aa21845bbe268f58d011488d0b53a0ee43f08 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 26cd9943498fad45f45fe5381679768d944408ac..09fcb85a758f691940f47bc836b7f26c60f74c56 100644 (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
index 1dd34e16ca03dae2505553e026f76e21d0ee1ded..74afb1b1a04c4b08d04a5a876b98bc0363e0c152 100644 (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.
index 56829568c60ba577012f28187ad8e7e03c044bdf..d4d1d2b4e9d7ee85bc0652812938effa7be0f937 100644 (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,