[libchamplain] Terminate vala demo properly



commit 89435c24e236091d0758792b4184cf4c2c8d8b43
Author: Jiří Techet <techet gmail com>
Date:   Sat Feb 2 19:27:35 2019 +0100

    Terminate vala demo properly

 demos/launcher-vala.vala | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/demos/launcher-vala.vala b/demos/launcher-vala.vala
index ed772f4..5b82abf 100644
--- a/demos/launcher-vala.vala
+++ b/demos/launcher-vala.vala
@@ -33,6 +33,7 @@ public class Launcher : GLib.Object
     stage = new Clutter.Stage ();
     stage.title = "Champlain Vala Example";
     stage.set_size (800, 600);
+    stage.destroy.connect(Clutter.main_quit);
 
     /* Create the map view */
     view = new Champlain.View ();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]