[vlc-devel] commit: Move the MPRIS Quit method to the root dbus object. ( Mirsal Ennaime )

git version control git at videolan.org
Tue Apr 29 03:16:38 CEST 2008


vlc | branch: master | Mirsal Ennaime <mirsal.ennaime at gmail.com> | Tue Apr 29 03:16:04 2008 +0200| [3224d9bbd812d8909029b14a8159c18b86ba7440]

Move the MPRIS Quit method to the root dbus object.
This closes #1565

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3224d9bbd812d8909029b14a8159c18b86ba7440
---

 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 1bfe3a7..2eae9d1 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 7e8864a..df74bc3 100644
--- a/modules/control/dbus.h
+++ b/modules/control/dbus.h
@@ -101,6 +101,8 @@ const char* psz_introspection_xml_data_root =
 "    <method name=\"MprisVersion\">\n"
 "      <arg type=\"(qq)\" direction=\"out\" />\n"
 "    </method>\n"
+"    <method name=\"Quit\">\n"
+"    </method>\n"
 "  </interface>\n"
 "</node>\n"
 ;
@@ -118,8 +120,6 @@ const char* psz_introspection_xml_data_player =
 "    <method name=\"GetStatus\">\n"
 "      <arg type=\"(iiii)\" direction=\"out\" />\n"
 "    </method>\n"
-"    <method name=\"Quit\">\n"
-"    </method>\n"
 "    <method name=\"Prev\">\n"
 "    </method>\n"
 "    <method name=\"Next\">\n"




More information about the vlc-devel mailing list