diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-03-01 07:47:38 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-03-01 07:52:07 +0100 |
commit | 214a023e9160fa008db069f5ec10ce3a4999a4dc (patch) | |
tree | ad2e3c48e95a3264903ef29b9e12e88ffdfed0bc /demos/gtk-demo/menus.c | |
parent | 4232115e22c8ea41d6a3faf89bcaadfc9933d5e3 (diff) | |
download | gtk+-214a023e9160fa008db069f5ec10ce3a4999a4dc.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 'demos/gtk-demo/menus.c')
-rw-r--r-- | demos/gtk-demo/menus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/gtk-demo/menus.c b/demos/gtk-demo/menus.c index 2e6fe2951c..6e546f379c 100644 --- a/demos/gtk-demo/menus.c +++ b/demos/gtk-demo/menus.c @@ -196,7 +196,7 @@ do_menus (GtkWidget *do_widget) gtk_widget_show (button); } - if (!GTK_WIDGET_VISIBLE (window)) + if (!gtk_widget_get_visible (window)) { gtk_widget_show (window); } |