[gnome-music/wip/mschraal/gtk4-v2: 82/89] coredisc: Fix sorter cb
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/gtk4-v2: 82/89] coredisc: Fix sorter cb
- Date: Mon, 10 May 2021 10:39:02 +0000 (UTC)
commit 967c6c4d60abe48ae7ba9e6caca6210bf97dc47f
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]