Deprecate widget flag: GTK_WIDGET_PARENT_SENSITIVE
Use gtk_widget_get_sensitive() on the parent widget instead. https://bugzilla.gnome.org/show_bug.cgi?id=69872
This commit is contained in:
committed by
Tristan Van Berkom
parent
edc65ce1d2
commit
08d42ed8fe
@ -267,13 +267,17 @@ typedef enum
|
|||||||
#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
|
||||||
|
|
||||||
|
#ifndef GTK_DISABLE_DEPRECATED
|
||||||
/**
|
/**
|
||||||
* GTK_WIDGET_PARENT_SENSITIVE:
|
* GTK_WIDGET_PARENT_SENSITIVE:
|
||||||
* @wid: a #GtkWidget.
|
* @wid: a #GtkWidget.
|
||||||
*
|
*
|
||||||
* Evaluates to %TRUE if the #GTK_PARENT_SENSITIVE flag has be set on the widget.
|
* Evaluates to %TRUE if the #GTK_PARENT_SENSITIVE flag has be set on the widget.
|
||||||
|
*
|
||||||
|
* Deprecated: 2.20: Use gtk_widget_get_sensitive() on the parent widget instead.
|
||||||
*/
|
*/
|
||||||
#define GTK_WIDGET_PARENT_SENSITIVE(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_PARENT_SENSITIVE) != 0)
|
#define GTK_WIDGET_PARENT_SENSITIVE(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_PARENT_SENSITIVE) != 0)
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef GTK_DISABLE_DEPRECATED
|
#ifndef GTK_DISABLE_DEPRECATED
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user