[gnome-music/wip/mschraal/gtk4-v2: 57/60] corealbum: Fix _disc_order_sort
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/gtk4-v2: 57/60] corealbum: Fix _disc_order_sort
- Date: Sun, 2 May 2021 11:44:21 +0000 (UTC)
commit 571b64554ad5340cc512c3221a799673e743309e
Author: Marinus Schraal <mschraal gnome org>
Date: Sun Apr 25 16:01:08 2021 +0200
corealbum: Fix _disc_order_sort
gnomemusic/corealbum.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/corealbum.py b/gnomemusic/corealbum.py
index 9d580578f..f89f7a934 100644
--- a/gnomemusic/corealbum.py
+++ b/gnomemusic/corealbum.py
@@ -79,7 +79,7 @@ class CoreAlbum(GObject.GObject):
disc_model = Gio.ListStore()
disc_model_sort = Gtk.SortListModel.new(disc_model)
- def _disc_order_sort(disc_a, disc_b):
+ def _disc_order_sort(disc_a, disc_b, data=None):
return disc_a.props.disc_nr - disc_b.props.disc_nr
disc_sorter = Gtk.CustomSorter()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]