[gnome-music/wip/mschraal/pydeprecation: 1/3] disclistboxwidget: Fix constructor deprecation warning



commit 9c47531f8eed35218b6a1c822c7e6b8faa81dbf6
Author: Jean Felder <jean felder gmail com>
Date:   Thu Nov 9 16:29:57 2017 +0100

    disclistboxwidget: Fix constructor deprecation warning
    
    https://bugzilla.gnome.org/show_bug.cgi?id=790127

 gnomemusic/widgets/disclistboxwidget.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/widgets/disclistboxwidget.py b/gnomemusic/widgets/disclistboxwidget.py
index 91761c5..b012e62 100644
--- a/gnomemusic/widgets/disclistboxwidget.py
+++ b/gnomemusic/widgets/disclistboxwidget.py
@@ -153,7 +153,7 @@ class DiscBox(Gtk.Box):
 
         :param model: The TreeStore to use
         """
-        super().__init__(self)
+        super().__init__()
 
         self._model = model
         self._model.connect('row-changed', self._model_row_changed)


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