X-Git-Url: http://nitlanguage.org diff --git a/tests/test_gtk.nit b/tests/test_gtk.nit index 510b5fb..4916f4b 100644 --- a/tests/test_gtk.nit +++ b/tests/test_gtk.nit @@ -47,9 +47,10 @@ class MyApp do init_gtk - win = new GtkWindow( 0 ) + win = new GtkWindow(new GtkWindowType.toplevel) + win.connect_destroy_signal_to_quit - container = new GtkGrid(2,1,true) + container = new GtkGrid win.add( container ) lbl = new GtkLabel( "Hello world" )