Use proper type for g_dbus_connection_signal_subscribe() 57/136657/1
authorSeungyoun Ju <sy39.ju@samsung.com>
Thu, 22 Jun 2017 04:35:17 +0000 (13:35 +0900)
committerSeungyoun Ju <sy39.ju@samsung.com>
Fri, 30 Jun 2017 14:41:48 +0000 (23:41 +0900)
commitb9b1cc16fca25c5dafed9e274fa975fc6e75c1bc
tree311b11b94e924558c338f95022c60f67e60eb42b
parent40c5bc1ad56c03e0db36128808531af368cfd940
Use proper type for g_dbus_connection_signal_subscribe()

[Problem] g_dbus_connection_signal_subscribe() returns unsigned int for id.
 So -1 could be valid id. But it is used to check unsubscribing state.
[Cause & Measure] Change variable type for subscription id to unsigned
 int and 0 is used to check unsubscribing state.
[Checking Method] Code review

Change-Id: Iaa6b50ceb93d0e6c02d276440e2dad80504b0471
bt-api/bt-event-handler.c
bt-api/bt-telephony.c
bt-httpproxy/bt-httpproxy.c
bt-service/bt-service-event-receiver.c