summaryrefslogtreecommitdiff
path: root/demos/gtk-demo/stock_browser.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-03-01 07:47:38 +0100
committerJavier Jardón <jjardon@gnome.org>2010-03-01 07:52:07 +0100
commit214a023e9160fa008db069f5ec10ce3a4999a4dc (patch)
treead2e3c48e95a3264903ef29b9e12e88ffdfed0bc /demos/gtk-demo/stock_browser.c
parent4232115e22c8ea41d6a3faf89bcaadfc9933d5e3 (diff)
downloadgtk+-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/stock_browser.c')
-rw-r--r--demos/gtk-demo/stock_browser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/gtk-demo/stock_browser.c b/demos/gtk-demo/stock_browser.c
index 54470ddb8c..73a000304c 100644
--- a/demos/gtk-demo/stock_browser.c
+++ b/demos/gtk-demo/stock_browser.c
@@ -532,7 +532,7 @@ do_stock_browser (GtkWidget *do_widget)
NULL);
}
- if (!GTK_WIDGET_VISIBLE (window))
+ if (!gtk_widget_get_visible (window))
{
gtk_widget_show_all (window);
}