[gnome-music/wip/mschraal/gtk4-v2: 53/60] coredisc: Fix sorter cb




commit 6c0a8097497e5e0051c5d8fba397296484a870bf
Author: Marinus Schraal <mschraal gnome org>
Date:   Wed Apr 14 08:49:14 2021 +0200

    coredisc: Fix sorter cb

 gnomemusic/coredisc.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/coredisc.py b/gnomemusic/coredisc.py
index ee8c59027..614cc2b48 100644
--- a/gnomemusic/coredisc.py
+++ b/gnomemusic/coredisc.py
@@ -58,7 +58,7 @@ class CoreDisc(GObject.GObject):
 
     @GObject.Property(type=Gio.ListModel, default=None)
     def model(self):
-        def _disc_sort(song_a, song_b):
+        def _disc_sort(song_a, song_b, data=None):
             return song_a.props.track_number - song_b.props.track_number
 
         if self._model is None:


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