]> Pileus Git - ~andy/gtk/blobdiff - demos/gtk-demo/textscroll.c
Deprecate widget flag: GTK_WIDGET_VISIBLE
[~andy/gtk] / demos / gtk-demo / textscroll.c
index 5f1c360ae5f684a3970d93224018d1c221a33715..27330329520525e3e6b6786ce7ec11e1dff26c6a 100644 (file)
@@ -191,7 +191,7 @@ do_textscroll (GtkWidget *do_widget)
       create_text_view (hbox, FALSE);
     }
 
-  if (!GTK_WIDGET_VISIBLE (window))
+  if (!gtk_widget_get_visible (window))
       gtk_widget_show_all (window);
   else
       gtk_widget_destroy (window);