[gnome-music/wip/jfelder/core-playlists-view: 2/3] grltrackerplaylists: Fix _add_user_playlist signature



commit 640ee1bb1e0af0c4899e29319e6cbc300ce4a002
Author: Jean Felder <jfelder src gnome org>
Date:   Tue Jul 9 14:46:42 2019 +0200

    grltrackerplaylists: Fix _add_user_playlist signature
    
    Add missing remaining parameter.

 gnomemusic/grilowrappers/grltrackerplaylists.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gnomemusic/grilowrappers/grltrackerplaylists.py b/gnomemusic/grilowrappers/grltrackerplaylists.py
index 78c30620..fb192e17 100644
--- a/gnomemusic/grilowrappers/grltrackerplaylists.py
+++ b/gnomemusic/grilowrappers/grltrackerplaylists.py
@@ -95,7 +95,8 @@ class GrlTrackerPlaylists(GObject.GObject):
         self._source.query(
             query, self.METADATA_KEYS, options, self._add_user_playlist)
 
-    def _add_user_playlist(self, source, param, media, data, error):
+    def _add_user_playlist(
+            self, source, op_id, media, remaining, data=None, error=None):
         if error:
             print("ERROR", error)
             return


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