[gtk+/native-layout] Add version info about the deprecation of GTK_WIDGET_SENSITIVE



commit cb4f39c7a8d17cc360b2cabb25b3b29a9c7a30f4
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 31b2b6a..c766bde 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]