[gnome-music/wip/mschraal/gtk4-v2: 53/56] 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: 53/56] corealbum: Fix _disc_order_sort
- Date: Mon, 10 May 2021 23:36:14 +0000 (UTC)
commit e0846685bfb62e14b7ce4062250507c0e83c652a
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]