[gnome-music] application: Fix close command for MPRIS



commit d5a57fbfaf21a46054c5595adbbc2fadec9964bc
Author: Arnel A. Borja <arnelborja src gnome org>
Date:   Sat Sep 14 20:24:01 2013 +0800

    application: Fix close command for MPRIS
    
    The parameters of quit() method changed but was not updated in MPRIS.
    Set the new parameters as optional.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=707632

 gnomemusic/application.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/application.py b/gnomemusic/application.py
index f31efd9..61ab7e8 100644
--- a/gnomemusic/application.py
+++ b/gnomemusic/application.py
@@ -103,7 +103,7 @@ class Application(Gtk.Application):
 
         self.build_app_menu()
 
-    def quit(self, action, param):
+    def quit(self, action=None, param=None):
         self._window.destroy()
 
     def do_activate(self):


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