Commit 5cce0efe authored by Bastien Nocera's avatar Bastien Nocera

obexftp: Fix crasher due to missing D-Bus threads support

Spotted by Serge Gavrilov <>

The GDbus port removed the need for us to initialise
libdbus' threads support, and commit
removed the last call to it.

However, the obexftp backend still hasn't fully been ported
to GDbus, and needs this threading support. Re-add it directly
in the backend.
parent adbe1bad
......@@ -2142,6 +2142,8 @@ g_vfs_backend_obexftp_class_init (GVfsBackendObexftpClass *klass)
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
GVfsBackendClass *backend_class = G_VFS_BACKEND_CLASS (klass);
dbus_threads_init_default ();
gobject_class->finalize = g_vfs_backend_obexftp_finalize;
backend_class->mount = do_mount;
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