g_type_init() is deprecated for glib >= 2.35.0. Use general setting of cmake.
[platform/core/telephony/telephony-daemon.git] / src / main.c
index bb905f9..91b1d7b 100644 (file)
@@ -250,7 +250,9 @@ int main(int argc, char *argv[])
 
        info("plugin_path: [%s]", plugin_path);
 
+#if !GLIB_CHECK_VERSION(2,35,0)
        g_type_init();
+#endif
 #if !GLIB_CHECK_VERSION (2, 31, 0)
        g_thread_init(NULL);
 #endif