Commit c404c42d authored by Rafaël Carré's avatar Rafaël Carré

Always initialise dbus threads

parent d9d6fddf
......@@ -578,13 +578,14 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc, char *ppsz_argv[] )
/* FIXME: could be replaced by using Unix sockets */
#ifdef HAVE_DBUS_3
dbus_threads_init_default();
if( config_GetInt( p_libvlc, "one-instance" ) )
{
/* Initialise D-Bus interface, check for other instances */
DBusConnection *p_conn;
DBusError dbus_error;
dbus_threads_init_default();
dbus_error_init( &dbus_error );
/* connect to the session bus */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment