Merge the code from tizen_2.4
[platform/core/connectivity/bluetooth-frwk.git] / test / handsfree / bluetooth-hf-test.c
index e57dd57..1b3e2ab 100644 (file)
@@ -476,11 +476,7 @@ void startup()
 {
        TC_PRT("bluetooth framework TC startup");
 
-       if (!g_thread_supported()) {
-               g_thread_init(NULL);
-       }
-
-       dbus_g_thread_init();
+       dbus_threads_init_default();
 
        g_type_init();
        main_loop = g_main_loop_new(NULL, FALSE);