tnitter & calculator: update app.nit clients
authorAlexis Laferrière <alexis.laf@xymus.net>
Tue, 17 May 2016 13:53:33 +0000 (09:53 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Tue, 17 May 2016 15:28:40 +0000 (11:28 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

contrib/tnitter/src/tnitter_app.nit
examples/calculator/src/calculator.nit

index fccad93..7a47218 100644 (file)
@@ -42,7 +42,7 @@ redef class App
        redef fun on_create
        do
                # Create the main window
-               window = new TnitterWindow
+               push_window new TnitterWindow
                super
        end
 end
index 4068f34..c9db316 100644 (file)
@@ -38,7 +38,7 @@ redef class App
                if debug then print "App::on_create"
 
                # Create the main window
-               window = new CalculatorWindow
+               push_window new CalculatorWindow
                super
        end
 end