]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtknotebook.c
Fix docs in terms of what out of range @page_num does. (#73371, Vitaly
[~andy/gtk] / gtk / gtknotebook.c
index 7596a6cd324c213dde3ae5e36d08ae149233b0bb..8eb626ad8860ef29259b2d9f2733038641d8d4c3 100644 (file)
@@ -4159,8 +4159,9 @@ gtk_notebook_page_num (GtkNotebook      *notebook,
  * gtk_notebook_set_current_page:
  * @notebook: a #GtkNotebook
  * @page_num: index of the page to switch to, starting from 0.
- *            If negative, or greater than the number of pages
- *            in the notebook the last page will be used.
+ *            If negative, the last page will be used. If greater
+ *            than the number of pages in the notebook, nothing
+ *            will be done.
  *                
  * Switches to the page number @page_num.
  **/