X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=demos%2Fgtk-demo%2Flist_store.c;h=009cd97993d042776fd562a61da0ed6c9250741e;hb=214a023e9160fa008db069f5ec10ce3a4999a4dc;hp=94335afdf8f0d322de37677e047577d85c605a2e;hpb=4232115e22c8ea41d6a3faf89bcaadfc9933d5e3;p=~andy%2Fgtk diff --git a/demos/gtk-demo/list_store.c b/demos/gtk-demo/list_store.c index 94335afdf..009cd9799 100644 --- a/demos/gtk-demo/list_store.c +++ b/demos/gtk-demo/list_store.c @@ -272,7 +272,7 @@ do_list_store (GtkWidget *do_widget) G_CALLBACK (window_closed), NULL); } - if (!GTK_WIDGET_VISIBLE (window)) + if (!gtk_widget_get_visible (window)) { gtk_widget_show_all (window); if (timeout == 0) {