[gnome-music] Fix PyGI deprecation for positional arguments



commit 8067406a43884f1417e8b50ab958d6ca2ea2f6d5
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Mon Feb 10 15:05:40 2014 +0100

    Fix PyGI deprecation for positional arguments

 gnomemusic/window.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/window.py b/gnomemusic/window.py
index 16e1cb6..4a3f585 100644
--- a/gnomemusic/window.py
+++ b/gnomemusic/window.py
@@ -53,7 +53,7 @@ class Window(Gtk.ApplicationWindow):
                                        application=app,
                                        title=_("Music"))
         self.connect('focus-in-event', self._windows_focus_cb)
-        self.settings = Gio.Settings('org.gnome.Music')
+        self.settings = Gio.Settings.new('org.gnome.Music')
         self.add_action(self.settings.create_action('repeat'))
 
         self.set_size_request(887, 640)


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