[gnome-sound-recorder] application.js: fixes



commit aeeef6500709b02219cc6fe4359db4d0f7c26e7b
Author: Meg Ford <meg387 gmail com>
Date:   Thu Jan 30 16:18:09 2014 -0600

    application.js: fixes

 src/application.js |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/application.js b/src/application.js
index 045f638..3b0e880 100644
--- a/src/application.js
+++ b/src/application.js
@@ -73,10 +73,8 @@ const Application = new Lang.Class({
     },
     
     onWindowDestroy: function() {
-        this.quit();
-        //if (MainWindow.wave != null)
-            //MainWindow.wave.pipeline.set_state(Gst.State.NULL); 
-            log("killed");
+        if (MainWindow.wave != null)
+            MainWindow.wave.pipeline.set_state(Gst.State.NULL); 
     },
     
     _showPreferences: function() {


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