pygtk r3083 - in trunk: . gtk



Author: gianmt
Date: Sat Feb 14 23:13:42 2009
New Revision: 3083
URL: http://svn.gnome.org/viewvc/pygtk?rev=3083&view=rev

Log:
Add deprecation warnings to the old gtk.Tooltips

Modified:
   trunk/ChangeLog
   trunk/gtk/gtk-base.defs

Modified: trunk/gtk/gtk-base.defs
==============================================================================
--- trunk/gtk/gtk-base.defs	(original)
+++ trunk/gtk/gtk-base.defs	Sat Feb 14 23:13:42 2009
@@ -21869,6 +21869,7 @@
 
 (define-function gtk_tooltips_new
   (c-name "gtk_tooltips_new")
+  (deprecated "Use the new widget gtk.Tooltip")
   (is-constructor-of "GtkTooltips")
   (return-type "GtkTooltips*")
 )
@@ -21876,28 +21877,31 @@
 (define-method enable
   (of-object "GtkTooltips")
   (c-name "gtk_tooltips_enable")
+  (deprecated "Use the new widget gtk.Tooltip")
   (return-type "none")
 )
 
 (define-method disable
   (of-object "GtkTooltips")
   (c-name "gtk_tooltips_disable")
+  (deprecated "Use the new widget gtk.Tooltip")
   (return-type "none")
 )
 
 (define-method set_delay
   (of-object "GtkTooltips")
   (c-name "gtk_tooltips_set_delay")
+  (deprecated "Use the new widget gtk.Tooltip")
   (return-type "none")
   (parameters
     '("guint" "delay")
   )
-  (deprecated "")
 )
 
 (define-method set_tip
   (of-object "GtkTooltips")
   (c-name "gtk_tooltips_set_tip")
+  (deprecated "Use the new widget gtk.Tooltip")
   (return-type "none")
   (parameters
     '("GtkWidget*" "widget")
@@ -21908,6 +21912,7 @@
 
 (define-function tooltips_data_get
   (c-name "gtk_tooltips_data_get")
+  (deprecated "Use the new widget gtk.Tooltip")
   (return-type "GtkTooltipsData*")
   (parameters
     '("GtkWidget*" "widget")
@@ -21916,22 +21921,24 @@
 
 (define-function gtk_tooltips_data_get
   (c-name "gtk_tooltips_data_get1")
+  ((deprecated "Use the new widget gtk.Tooltip")
   (return-type "GtkTooltipsData*")
   (parameters
     '("GtkWidget*" "widget")
   )
-  (deprecated "use tooltips_data_get")
 )
 
 (define-method force_window
   (of-object "GtkTooltips")
   (c-name "gtk_tooltips_force_window")
+  (deprecated "Use the new widget gtk.Tooltip")
   (return-type "none")
 )
 
 (define-method tooltips_get_info_from_tip_window
   (of-object "GtkWindow")
   (c-name "gtk_tooltips_get_info_from_tip_window")
+  (deprecated "Use the new widget gtk.Tooltip")
   (return-type "gboolean")
   (parameters
     '("GtkTooltips**" "tooltips")



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