[vlc-commits] dbus: deduplicate one-instance description
Rémi Denis-Courmont
git at videolan.org
Sun Jun 18 17:47:33 CEST 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jun 18 17:33:34 2017 +0300| [9d8dcfc7b8667025eed83e991f0f38138bc2e9fa] | committer: Rémi Denis-Courmont
dbus: deduplicate one-instance description
Who cares that a D-Bus session bus is needed anyway.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9d8dcfc7b8667025eed83e991f0f38138bc2e9fa
---
src/libvlc-module.c | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index cef03d342d..dea57cee9e 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -1057,23 +1057,12 @@ static const char *const ppsz_prefres[] = {
"Writes process id into specified file.")
#define ONEINSTANCE_TEXT N_("Allow only one running instance")
-#if defined( _WIN32 ) || defined( __OS2__ )
#define ONEINSTANCE_LONGTEXT N_( \
"Allowing only one running instance of VLC can sometimes be useful, " \
"for example if you associated VLC with some media types and you " \
"don't want a new instance of VLC to be opened each time you " \
"open a file in your file manager. This option will allow you " \
"to play the file with the already running instance or enqueue it.")
-#elif defined( HAVE_DBUS )
-#define ONEINSTANCE_LONGTEXT N_( \
- "Allowing only one running instance of VLC can sometimes be useful, " \
- "for example if you associated VLC with some media types and you " \
- "don't want a new instance of VLC to be opened each time you " \
- "open a file in your file manager. This option will allow you " \
- "to play the file with the already running instance or enqueue it. " \
- "This option requires the D-Bus session daemon to be active " \
- "and the running instance of VLC to use D-Bus control interface.")
-#endif
#define STARTEDFROMFILE_TEXT N_("VLC is started from file association")
#define STARTEDFROMFILE_LONGTEXT N_( \
More information about the vlc-commits
mailing list