[gnome-sound-recorder] replacing remove_signal_watch with remove_watch It removes all signal watches



commit e00a51f6f051a15ba05472f37850da8c78a097c8
Author: Kavan Mevada <kavanmevada gmail com>
Date:   Wed Apr 8 22:36:33 2020 +0000

    replacing remove_signal_watch with remove_watch
    It removes all signal watches

 src/player.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/player.js b/src/player.js
index 78dabc8..f0d6617 100644
--- a/src/player.js
+++ b/src/player.js
@@ -112,7 +112,7 @@ var Player = class Player { // eslint-disable-line no-unused-vars
     onEnd() {
         this.playState = PipelineStates.STOPPED;
         this.player.set_state(Gst.State.NULL);
-        this.playBus.remove_signal_watch();
+        this.playBus.remove_watch();
         this._updateTime();
 
         if (this.timeout) {


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