From 137b69c04504ff52890e6cda621a57fde0ab4b1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Apitzsch?= Date: Wed, 24 Jan 2018 23:28:56 +0100 Subject: [PATCH] MusicTrackListener: remove unused code --- gajim/music_track_listener.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gajim/music_track_listener.py b/gajim/music_track_listener.py index 8961bfd09..fec8e761b 100644 --- a/gajim/music_track_listener.py +++ b/gajim/music_track_listener.py @@ -66,7 +66,6 @@ class MusicTrackListener(GObject.GObject): def __init__(self): super(MusicTrackListener, self).__init__() - self._last_playing_music = None self.con = {} players = _get_music_players() @@ -93,7 +92,6 @@ class MusicTrackListener(GObject.GObject): info = self.get_playing_track(name) if info is not None: - self._last_playing_music = info self.emit('music-track-changed', info) def _vanished(self, connection, name, *user_data): @@ -115,7 +113,6 @@ class MusicTrackListener(GObject.GObject): log.info('Signal received: %s - %s', interface_name, parameters) info = self.get_playing_track(user_data[0]) - self._last_playing_music = info self.emit('music-track-changed', info) @@ -167,7 +164,6 @@ class MusicTrackListener(GObject.GObject): raise else: info = self._properties_extract(result[0]) - self._last_playing_music = info return info