[vlc-commits] dbus: remove old --inhibit option

Rémi Denis-Courmont git at videolan.org
Fri Feb 2 10:30:27 CET 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Feb  2 11:30:01 2018 +0200| [8131670072809412e8a155f9b173207cf9601eb2] | committer: Rémi Denis-Courmont

dbus: remove old --inhibit option

This is not longer used for anything.

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

 src/libvlc-module.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index cc816873f7..9d29d24b4e 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -371,10 +371,6 @@ static const char *const ppsz_pos_descriptions[] =
 #define SS_TEXT N_("Disable screensaver")
 #define SS_LONGTEXT N_("Disable the screensaver during video playback." )
 
-#define INHIBIT_TEXT N_("Inhibit the power management daemon during playback")
-#define INHIBIT_LONGTEXT N_("Inhibits the power management daemon during any " \
-    "playback, to avoid the computer being suspended because of inactivity.")
-
 #define VIDEO_DECO_TEXT N_("Window decorations")
 #define VIDEO_DECO_LONGTEXT N_( \
     "VLC can avoid creating window caption, frames, etc... around the video" \
@@ -2032,8 +2028,7 @@ vlc_module_begin ()
 #endif
 
 #if defined(HAVE_DBUS)
-    add_bool( "inhibit", 1, INHIBIT_TEXT,
-              INHIBIT_LONGTEXT, true )
+    add_obsolete_bool( "inhibit" ) /* since 3.0.0 */
 #endif
 
 #if defined(_WIN32) || defined(__OS2__)



More information about the vlc-commits mailing list