Start dbus always, move inhibit and dbus startup to vlc
[vlc.git] / bin / vlc.c
index 2b18719..057266b 100644 (file)
--- a/bin/vlc.c
+++ b/bin/vlc.c
@@ -209,6 +209,10 @@ int main( int i_argc, const char *ppsz_argv[] )
 #if !defined (HAVE_MAEMO) && !defined __APPLE__ && !defined (__OS2__)
     libvlc_add_intf (vlc, "globalhotkeys,none");
 #endif
+#ifdef HAVE_DBUS
+    libvlc_add_intf (vlc, "dbus,none");
+    libvlc_add_intf (vlc, "inhibit,none");
+#endif
     if (libvlc_add_intf (vlc, NULL))
         goto out;