[pygtk] reference: pygtk-gtkrecentchooser.xml: add deprecation warnings



commit 6fc18a98b2599be3936b1c5c8626950a49dff6bd
Author: Dieter Verfaillie <dieterv optionexplicit be>
Date:   Wed Mar 2 17:16:52 2011 +0100

    reference: pygtk-gtkrecentchooser.xml: add deprecation warnings

 docs/reference/pygtk-gtkrecentchooser.xml |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/docs/reference/pygtk-gtkrecentchooser.xml b/docs/reference/pygtk-gtkrecentchooser.xml
index f138ea1..820f0cb 100644
--- a/docs/reference/pygtk-gtkrecentchooser.xml
+++ b/docs/reference/pygtk-gtkrecentchooser.xml
@@ -643,6 +643,14 @@
         <para>This method is available in PyGTK 2.10 and above.</para>
       </note>
 
+      <warning>
+        <para>
+          This method is deprecated in PyGTK 2.12 and above and should not be
+          used in newly-written code.
+          Use <link linkend="method-gtkrecentchoosermenu--set-show-numbers"><methodname>gtk.RecentChooserMenu.set_show_numbers</methodname></link>() instead.
+        </para>
+      </warning>
+
       <para>Sets the "show-number" property to the value of
       <parameter>show_numbers</parameter>. If
       <parameter>show_numbers</parameter> is <literal>True</literal>, show
@@ -670,6 +678,14 @@
         <para>This method is available in PyGTK 2.10 and above.</para>
       </note>
 
+      <warning>
+        <para>
+          This method is deprecated in PyGTK 2.12 and above and should not be
+          used in newly-written code.
+          Use <link linkend="method-gtkrecentchoosermenu--get-show-numbers"><methodname>gtk.RecentChooserMenu.get_show_numbers</methodname></link>() instead.
+        </para>
+      </warning>
+
       <para>Returns <literal>True</literal> if recently used resources
       should be displayed prepended by a unique number.</para>
 



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