]> git.sesse.net Git - vlc/blobdiff - src/libvlc.c
Only load globalhotkeys if requested by caller
[vlc] / src / libvlc.c
index d40a0a7e1e4bcc5050b293704c429d05f86d4a43..d1aa5f864d29a5a6afbe757825e0e0811045d79a 100644 (file)
@@ -904,8 +904,6 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
      * Always load the hotkeys interface if it exists
      */
     libvlc_InternalAddIntf( p_libvlc, "hotkeys,none" );
-    if( module_exists( "globalhotkeys" ) )
-        libvlc_InternalAddIntf( p_libvlc, "globalhotkeys,none" );
 
 #ifdef HAVE_DBUS
     /* loads dbus control interface if in one-instance mode