Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
3224d9bb
Commit
3224d9bb
authored
Apr 29, 2008
by
Mirsal Ennaime
Browse files
Move the MPRIS Quit method to the root dbus object.
This closes #1565
parent
469cfd7e
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/control/dbus.c
View file @
3224d9bb
...
...
@@ -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
);
...
...
modules/control/dbus.h
View file @
3224d9bb
...
...
@@ -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
"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment