projects
/
platform
/
core
/
system
/
sensord.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f38c1a
)
sensord: fix build warning because of using g_type_init()
38/71338/2
author
kibak.yoon
<kibak.yoon@samsung.com>
Wed, 25 May 2016 05:44:02 +0000
(14:44 +0900)
committer
kibak.yoon
<kibak.yoon@samsung.com>
Thu, 26 May 2016 01:44:21 +0000
(10:44 +0900)
- g_type_init() should be called under glib version 2.36
Change-Id: I5291cd4ea92168ddba0a961c0f24631cc2265dfb
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
src/server/dbus_util.cpp
patch
|
blob
|
history
diff --git
a/src/server/dbus_util.cpp
b/src/server/dbus_util.cpp
index
df1ade0
..
c29b61d
100755
(executable)
--- a/
src/server/dbus_util.cpp
+++ b/
src/server/dbus_util.cpp
@@
-143,7
+143,9
@@
void reset_total_count(void)
void init_dbus(void)
{
+#ifndef GLIB_VERSION_2_36
g_type_init();
+#endif
introspection_data = g_dbus_node_info_new_for_xml(introspection_xml, NULL);
if (introspection_data == NULL) {