fix warning issue. 44/65244/1 accepted/tizen/common/20160408.185111 accepted/tizen/ivi/20160408.104540 accepted/tizen/mobile/20160408.104452 accepted/tizen/tv/20160408.104504 accepted/tizen/wearable/20160408.104524 submit/tizen/20160408.060307
authorHyihong Chae <hh.chae@samsung.com>
Fri, 8 Apr 2016 05:30:14 +0000 (14:30 +0900)
committerHyihong Chae <hh.chae@samsung.com>
Fri, 8 Apr 2016 05:30:14 +0000 (14:30 +0900)
Change-Id: Idb4da43235db5d4cb3a47e2bfa0133b22a227825
Signed-off-by: HyiHong Chae <hh.chae@samsung.com>
client/ClientGDBus.cpp

index 80f352d..8a3bb8b 100755 (executable)
@@ -31,7 +31,9 @@ using namespace std;
 void __attribute__ ((constructor)) lib_init()
 {
        /* remove for deprecated-declarations build warning: glib ver > 2.36 */
-       /* g_type_init(); */
+#if !GLIB_CHECK_VERSION (2, 35, 0)
+       g_type_init();
+#endif
 }
 
 void __attribute__ ((destructor)) lib_fini()