[pygtk] reference: pygtk-gtknotebook.xml: fix gtk.Notebook.page_num(child) documentation (bug 634563)



commit 6460966f9ac904a48e5f4346e67b4ac6d5015b40
Author: Dieter Verfaillie <dieterv optionexplicit be>
Date:   Thu Feb 17 07:10:29 2011 +0100

    reference: pygtk-gtknotebook.xml: fix gtk.Notebook.page_num(child) documentation (bug 634563)

 docs/reference/ChangeLog             |    1 +
 docs/reference/pygtk-gtknotebook.xml |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog
index a709209..93e6a9e 100644
--- a/docs/reference/ChangeLog
+++ b/docs/reference/ChangeLog
@@ -2,6 +2,7 @@
 
 		* pygtk-gtkliststore.xml: fix implements section (bug 634747)
 		* pygtk-gtktreestore.xml: fix implements section
+		* pygtk-gtknotebook.xml: fix gtk.Notebook.page_num(child) documentation (bug 634563)
 
 2010-09-10  Rafael Villar Burke  <pachi rvburke com>
 
diff --git a/docs/reference/pygtk-gtknotebook.xml b/docs/reference/pygtk-gtknotebook.xml
index 225972b..002cef0 100644
--- a/docs/reference/pygtk-gtknotebook.xml
+++ b/docs/reference/pygtk-gtknotebook.xml
@@ -1306,7 +1306,7 @@ in the notebook.</simpara></listitem>
 
       <para>The <methodname>page_num</methodname>() method returns the index
 of the page which contains the widget specified by
-<parameter>child</parameter> or <literal>None</literal> if no page contains
+<parameter>child</parameter> or -1 if no page contains
 <parameter>child</parameter>.</para>
 
     </refsect2>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]