[gtk+] Add version info about the deprecation of GTK_WIDGET_SENSITIVE



commit 62a829dd309bf3ce1471265b1f0478e17f160e66
Author: Javier Jardón <jjardon gnome org>
Date:   Wed Mar 3 23:03:13 2010 +0100

    Add version info about the deprecation of GTK_WIDGET_SENSITIVE
    
    This completes the patch of
    commit 64f526d34e1adc609944078e2fea38b2792f8230

 gtk/gtkwidget.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h
index 52a42db..cdc9861 100644
--- a/gtk/gtkwidget.h
+++ b/gtk/gtkwidget.h
@@ -271,6 +271,8 @@ typedef enum
  * @wid: a #GtkWidget.
  *
  * Evaluates to %TRUE if the #GTK_SENSITIVE flag has be set on the widget.
+ *
+ * Deprecated: 2.20: Use gtk_widget_get_sensitive() instead.
  */
 #define GTK_WIDGET_SENSITIVE(wid)	  ((GTK_WIDGET_FLAGS (wid) & GTK_SENSITIVE) != 0)
 #endif



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