[gnome-music] Fix PyGI deprecation for positional arguments
- From: Vadim Rutkovsky <vrutkovsky src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music] Fix PyGI deprecation for positional arguments
- Date: Mon, 10 Feb 2014 14:09:55 +0000 (UTC)
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]