summaryrefslogtreecommitdiff
path: root/gtk/gtkwidget.h
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-03-01 07:47:38 +0100
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2010-04-03 20:58:20 -0400
commitedc65ce1d239aed73a0a273825ea4886757fd1c2 (patch)
tree24bdf286f232267b9c0201b846bd55036cf3ceca /gtk/gtkwidget.h
parenteb90ec751354db580e125a1526eb6c1be9a565d4 (diff)
downloadgtk+-edc65ce1d239aed73a0a273825ea4886757fd1c2.tar.gz
Deprecate widget flag: GTK_WIDGET_VISIBLE
Use gtk_widget_get_visible() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
Diffstat (limited to 'gtk/gtkwidget.h')
-rw-r--r--gtk/gtkwidget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h
index a1f8e8d631..b0f5451872 100644
--- a/gtk/gtkwidget.h
+++ b/gtk/gtkwidget.h
@@ -233,13 +233,17 @@ typedef enum
*/
#define GTK_WIDGET_MAPPED(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_MAPPED) != 0)
+#ifndef GTK_DISABLE_DEPRECATED
/**
* GTK_WIDGET_VISIBLE:
* @wid: a #GtkWidget.
*
* Evaluates to %TRUE if the widget is visible.
+ *
+ * Deprecated: 2.20: Use gtk_widget_get_visible() instead.
*/
#define GTK_WIDGET_VISIBLE(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_VISIBLE) != 0)
+#endif
#ifndef GTK_DISABLE_DEPRECATED
/**