Merge the code from tizen_2.4
[platform/core/connectivity/bluetooth-frwk.git] / test / gatt-test / bluetooth-gatt-test.c
index 9aab4e8..d2ae5b1 100644 (file)
@@ -231,10 +231,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);