These days, the Quit method of mpris is made on the root object
authorRafaël Carré <funman@videolan.org>
Mon, 9 Jun 2008 15:08:15 +0000 (17:08 +0200)
committerRafaël Carré <funman@videolan.org>
Mon, 9 Jun 2008 15:08:38 +0000 (17:08 +0200)
extras/misc/mpris.py

index 60d3a74..ff15e35 100755 (executable)
@@ -153,7 +153,7 @@ def Stop(widget):
     update(0)
 
 def Quit(widget):
-    player.Quit(reply_handler=(lambda *args: None), error_handler=(lambda *args: None))
+    root.Quit(reply_handler=(lambda *args: None), error_handler=(lambda *args: None))
     l_title.set_text("")
 
 def Pause(widget):