From 3224d9bbd812d8909029b14a8159c18b86ba7440 Mon Sep 17 00:00:00 2001 From: Mirsal Ennaime Date: Tue, 29 Apr 2008 03:16:04 +0200 Subject: [PATCH] Move the MPRIS Quit method to the root dbus object. This closes #1565 --- modules/control/dbus.c | 2 +- modules/control/dbus.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/control/dbus.c b/modules/control/dbus.c index 1bfe3a767b..2eae9d128b 100644 --- a/modules/control/dbus.c +++ b/modules/control/dbus.c @@ -632,6 +632,7 @@ DBUS_METHOD( handle_root ) METHOD_FUNC( "Identity", Identity ); METHOD_FUNC( "MprisVersion", MprisVersion ); + METHOD_FUNC( "Quit", Quit ); return DBUS_HANDLER_RESULT_NOT_YET_HANDLED; } @@ -647,7 +648,6 @@ DBUS_METHOD( handle_player ) METHOD_FUNC( "Prev", Prev ); METHOD_FUNC( "Next", Next ); - METHOD_FUNC( "Quit", Quit ); METHOD_FUNC( "Stop", Stop ); METHOD_FUNC( "Play", Play ); METHOD_FUNC( "Pause", Pause ); diff --git a/modules/control/dbus.h b/modules/control/dbus.h index 7e8864a5af..df74bc31fd 100644 --- a/modules/control/dbus.h +++ b/modules/control/dbus.h @@ -101,6 +101,8 @@ const char* psz_introspection_xml_data_root = " \n" " \n" " \n" +" \n" +" \n" " \n" "\n" ; @@ -118,8 +120,6 @@ const char* psz_introspection_xml_data_player = " \n" " \n" " \n" -" \n" -" \n" " \n" " \n" " \n" -- 2.39.2