[gtk+/native-layout] Deprecate widget flag: GTK_WIDGET_PARENT_SENSITIVE
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/native-layout] Deprecate widget flag: GTK_WIDGET_PARENT_SENSITIVE
- Date: Sun, 4 Apr 2010 02:34:20 +0000 (UTC)
commit 08d42ed8fe950019c7050e3d05e03ebb609bf4a3
Author: Javier Jardón <jjardon gnome org>
Date: Sat Feb 27 04:10:17 2010 +0100
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
gtk/gtkwidget.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h
index b0f5451..82e9157 100644
--- a/gtk/gtkwidget.h
+++ b/gtk/gtkwidget.h
@@ -267,13 +267,17 @@ typedef enum
#define GTK_WIDGET_SENSITIVE(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_SENSITIVE) != 0)
#endif
+#ifndef GTK_DISABLE_DEPRECATED
/**
* GTK_WIDGET_PARENT_SENSITIVE:
* @wid: a #GtkWidget.
*
* 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)
+#endif
#ifndef GTK_DISABLE_DEPRECATED
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]