[vlc-devel] commit: Fix MPRIS method names (Mirsal Ennaime )
git version control
git at videolan.org
Sun Apr 20 00:12:27 CEST 2008
vlc | branch: master | Mirsal Ennaime <mirsal.ennaime at gmail.com> | Sun Apr 20 00:09:56 2008 +0200| [271ddec3287f6bf325d4ac3bd6388698d28c9aa3]
Fix MPRIS method names
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=271ddec3287f6bf325d4ac3bd6388698d28c9aa3
---
modules/control/dbus.c | 8 ++++----
modules/control/dbus.h | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/modules/control/dbus.c b/modules/control/dbus.c
index 5fafa0b..1bfe3a7 100644
--- a/modules/control/dbus.c
+++ b/modules/control/dbus.c
@@ -488,7 +488,7 @@ DBUS_METHOD( DelTrack )
REPLY_SEND;
}
-DBUS_METHOD( Loop )
+DBUS_METHOD( SetLoop )
{
REPLY_INIT;
OUT_ARGUMENTS;
@@ -551,7 +551,7 @@ DBUS_METHOD( Repeat )
REPLY_SEND;
}
-DBUS_METHOD( Random )
+DBUS_METHOD( SetRandom )
{
REPLY_INIT;
OUT_ARGUMENTS;
@@ -676,8 +676,8 @@ DBUS_METHOD( handle_tracklist )
METHOD_FUNC( "GetLength", GetLength );
METHOD_FUNC( "AddTrack", AddTrack );
METHOD_FUNC( "DelTrack", DelTrack );
- METHOD_FUNC( "Loop", Loop );
- METHOD_FUNC( "Random", Random );
+ METHOD_FUNC( "SetLoop", SetLoop );
+ METHOD_FUNC( "SetRandom", SetRandom );
return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
}
diff --git a/modules/control/dbus.h b/modules/control/dbus.h
index 5956f0d..7e8864a 100644
--- a/modules/control/dbus.h
+++ b/modules/control/dbus.h
@@ -191,10 +191,10 @@ const char* psz_introspection_xml_data_tracklist =
" <method name=\"GetLength\">\n"
" <arg type=\"i\" direction=\"out\" />\n"
" </method>\n"
-" <method name=\"Loop\">\n"
+" <method name=\"SetLoop\">\n"
" <arg type=\"b\" direction=\"in\" />\n"
" </method>\n"
-" <method name=\"Random\">\n"
+" <method name=\"SetRandom\">\n"
" <arg type=\"b\" direction=\"in\" />\n"
" </method>\n"
" <signal name=\"TrackListChange\">\n"
More information about the vlc-devel
mailing list