vlc/vlc-3.0 | branch: master | Rémi Denis-Courmont <r...@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 <j...@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__)

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to