Merge the code from tizen_2.4
[platform/core/connectivity/bluetooth-frwk.git] / test / le-adv / bluetooth-advertising-test.c
index 459c7a0..c409f10 100644 (file)
@@ -241,10 +241,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);