fix warning issue.
[platform/core/connectivity/smartcard-service.git] / client / ClientGDBus.cpp
old mode 100644 (file)
new mode 100755 (executable)
index eb1eb2f..8a3bb8b
@@ -30,7 +30,10 @@ using namespace std;
 /* below functions will be called when dlopen or dlclose is called */
 void __attribute__ ((constructor)) lib_init()
 {
+       /* remove for deprecated-declarations build warning: glib ver > 2.36 */
+#if !GLIB_CHECK_VERSION (2, 35, 0)
        g_type_init();
+#endif
 }
 
 void __attribute__ ((destructor)) lib_fini()