[gnome-music/wip/mschraal/gtk4-v2: 86/89] 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: 86/89] corealbum: Fix _disc_order_sort
 
- Date: Mon, 10 May 2021 10:39:02 +0000 (UTC)
 
commit cee1535f87c804202135f5c0dc96f83d09f62f9e
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]