diff options
author | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2013-07-17 09:45:25 +0200 |
---|---|---|
committer | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2013-07-23 09:03:34 +0200 |
commit | 5d92b1ecd8957b5b1d2e81d92c2494c63b9d6489 (patch) | |
tree | 9f08898af38689949c5f942e99d46833522144f0 /plugins/bluetooth.c | |
parent | 647ecc0c05f666ef8b18e20c47fc9d2ade22a6aa (diff) | |
download | connman-5d92b1ecd8957b5b1d2e81d92c2494c63b9d6489.tar.gz |
plugins: Use dbus_bool_t with D-Bus functions
When we start using stdbool, the size of the stdbool does not
match with dbus_bool_t which is important. Therefore fix all
places where we use currently connman_bool_t instead of
dbus_bool_t to access D-Bus layer.
Diffstat (limited to 'plugins/bluetooth.c')
-rw-r--r-- | plugins/bluetooth.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c index 4aac1e03..199e4904 100644 --- a/plugins/bluetooth.c +++ b/plugins/bluetooth.c @@ -77,7 +77,7 @@ static const char *proxy_get_string(GDBusProxy *proxy, const char *property) static connman_bool_t proxy_get_bool(GDBusProxy *proxy, const char *property) { DBusMessageIter iter; - connman_bool_t value; + dbus_bool_t value; if (g_dbus_proxy_get_property(proxy, property, &iter) == FALSE) return FALSE; @@ -495,7 +495,7 @@ out: static int bluetooth_device_enable(struct connman_device *device) { GDBusProxy *proxy = connman_device_get_data(device); - connman_bool_t device_powered = TRUE; + dbus_bool_t device_powered = TRUE; const char *path; if (proxy == NULL) @@ -556,7 +556,7 @@ out: static int bluetooth_device_disable(struct connman_device *device) { GDBusProxy *proxy = connman_device_get_data(device); - connman_bool_t device_powered = FALSE; + dbus_bool_t device_powered = FALSE; const char *path; if (proxy == NULL) |