projects
/
platform
/
core
/
telephony
/
telephony-daemon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
g_type_init() is deprecated for glib >= 2.35.0. Use general setting of cmake.
[platform/core/telephony/telephony-daemon.git]
/
src
/
main.c
diff --git
a/src/main.c
b/src/main.c
index
bb905f9
..
91b1d7b
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-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