[gnome-music/wip/mschraal/player-factor-out-gstreamer: 13/42] remove unused playing-changed signal



commit 194fa1f3ef5bcbd352c3786549261aa08db95604
Author: Marinus Schraal <mschraal gnome org>
Date:   Fri Feb 9 09:39:51 2018 +0100

    remove unused playing-changed signal

 gnomemusic/player.py | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/gnomemusic/player.py b/gnomemusic/player.py
index 99a127a..9d209bb 100644
--- a/gnomemusic/player.py
+++ b/gnomemusic/player.py
@@ -76,7 +76,6 @@ class Player(GObject.GObject):
     shuffleHistory = deque(maxlen=10)
 
     __gsignals__ = {
-        'playing-changed': (GObject.SignalFlags.RUN_FIRST, None, ()),
         'playlist-changed': (GObject.SignalFlags.RUN_FIRST, None, ()),
         'playlist-item-changed': (GObject.SignalFlags.RUN_FIRST, None, (Gtk.TreeModel, Gtk.TreeIter)),
         'current-changed': (GObject.SignalFlags.RUN_FIRST, None, ()),
@@ -473,7 +472,6 @@ class Player(GObject.GObject):
             self._update_timeout()
 
         self.emit('playback-status-changed')
-        self.emit('playing-changed')
 
     @log
     def pause(self):
@@ -481,14 +479,12 @@ class Player(GObject.GObject):
 
         self._player.state = Playback.PAUSED
         self.emit('playback-status-changed')
-        self.emit('playing-changed')
 
     @log
     def stop(self):
         self._remove_timeout()
 
         self._player.state = Playback.STOPPED
-        self.emit('playing-changed')
 
     @log
     def play_next(self):


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