Add version info about the deprecation of GTK_WIDGET_SENSITIVE

This completes the patch of
commit 64f526d34e
This commit is contained in:
Javier Jardón 2010-03-03 23:03:13 +01:00 committed by Tristan Van Berkom
parent fa934294a7
commit cb4f39c7a8

View File

@ -271,6 +271,8 @@ typedef enum
* @wid: a #GtkWidget. * @wid: a #GtkWidget.
* *
* Evaluates to %TRUE if the #GTK_SENSITIVE flag has be set on the widget. * 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) #define GTK_WIDGET_SENSITIVE(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_SENSITIVE) != 0)
#endif #endif