[gnome-music/wip/mschraal/pass-around-application: 3/3] albumsview: Remove unused variables



commit d7425327b1e9f9708163abb541cef28dcfd2ee3d
Author: Marinus Schraal <mschraal gnome org>
Date:   Wed Jul 17 23:26:27 2019 +0200

    albumsview: Remove unused variables

 gnomemusic/views/albumsview.py | 5 -----
 1 file changed, 5 deletions(-)
---
diff --git a/gnomemusic/views/albumsview.py b/gnomemusic/views/albumsview.py
index 72aa1238..4b6e12ee 100644
--- a/gnomemusic/views/albumsview.py
+++ b/gnomemusic/views/albumsview.py
@@ -44,17 +44,12 @@ class AlbumsView(BaseView):
         self._window = application.props.window
         super().__init__('albums', _("Albums"), application)
 
-        self.player = player
         self._album_widget = AlbumWidget(player, self)
         self._album_widget.bind_property(
             "selection-mode", self, "selection-mode",
             GObject.BindingFlags.BIDIRECTIONAL)
 
         self.add(self._album_widget)
-        self.albums_selected = []
-        self.all_items = []
-        self.items_selected = []
-        self.items_selected_callback = None
 
         self.connect(
             "notify::search-mode-active", self._on_search_mode_changed)


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