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

Rémi Denis-Courmont git at videolan.org
Fri Feb 2 15:50:28 CET 2018


vlc/vlc-3.0 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Feb  2 11:30:01 2018 +0200| [0cc645de9107c04f45b3ca9faae1bad501a884c6] | committer: Jean-Baptiste Kempf

dbus: remove old --inhibit option

This is not longer used for anything.

(cherry picked from commit 8131670072809412e8a155f9b173207cf9601eb2)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=0cc645de9107c04f45b3ca9faae1bad501a884c6
---

 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