[gnome-music/wip/mschraal/core] coremodel: Make get_album_disc private



commit ac45bbb6226ffa191b12398808610de77ea7a8bf
Author: Marinus Schraal <mschraal gnome org>
Date:   Wed Jun 19 23:48:56 2019 +0200

    coremodel: Make get_album_disc private

 gnomemusic/coremodel.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnomemusic/coremodel.py b/gnomemusic/coremodel.py
index 97579b90..d0b13e5a 100644
--- a/gnomemusic/coremodel.py
+++ b/gnomemusic/coremodel.py
@@ -90,7 +90,7 @@ class CoreModel(GObject.GObject):
             model_filter = Dazzle.ListModelFilter.new(self._model)
             model_filter.set_filter_func(lambda a: False)
             nr = disc.get_album_disc_number()
-            self.get_album_disc(media, nr, model_filter)
+            self._get_album_disc(media, nr, model_filter)
 
             model_sort = Gfm.SortListModel.new(model_filter)
             model_sort.set_sort_func(
@@ -173,7 +173,7 @@ class CoreModel(GObject.GObject):
                 self.emit("playlist-loaded")
 
 
-    def get_album_disc(self, media, discnr, model):
+    def _get_album_disc(self, media, discnr, model):
         albums_ids = []
         model_filter = model
 


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