summaryrefslogtreecommitdiff
path: root/plugins/ofono.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-12-19 13:13:47 -0800
committerMarcel Holtmann <marcel@holtmann.org>2009-12-19 13:13:47 -0800
commit3204daaa8670ac4bf09dbfc5507c198409086153 (patch)
tree7a8116b8cadca0bd9a5aa98d0acf8c25d474f2e6 /plugins/ofono.c
parente45a1a34604973498c3fa509c44913b20fd1d9ec (diff)
downloadconnman-3204daaa8670ac4bf09dbfc5507c198409086153.tar.gz
connman-3204daaa8670ac4bf09dbfc5507c198409086153.tar.bz2
connman-3204daaa8670ac4bf09dbfc5507c198409086153.zip
Rename D-Bus helper for basic property types
Diffstat (limited to 'plugins/ofono.c')
-rw-r--r--plugins/ofono.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/ofono.c b/plugins/ofono.c
index fac7d50d..4a2b4d23 100644
--- a/plugins/ofono.c
+++ b/plugins/ofono.c
@@ -111,7 +111,7 @@ static int gprs_change_powered(const char *path, dbus_bool_t powered)
dbus_message_set_auto_start(message, FALSE);
dbus_message_iter_init_append(message, &iter);
- connman_dbus_property_append_variant(&iter, "Powered",
+ connman_dbus_property_append_basic(&iter, "Powered",
DBUS_TYPE_BOOLEAN, &powered);
if (dbus_connection_send_with_reply(connection, message,
@@ -382,7 +382,7 @@ static int set_network_active(struct connman_network *network,
dbus_message_set_auto_start(message, FALSE);
dbus_message_iter_init_append(message, &iter);
- connman_dbus_property_append_variant(&iter, "Active",
+ connman_dbus_property_append_basic(&iter, "Active",
DBUS_TYPE_BOOLEAN, &active);
if (dbus_connection_send_with_reply(connection, message,
@@ -718,7 +718,7 @@ static int modem_change_powered(const char *path, dbus_bool_t powered)
dbus_message_set_auto_start(message, FALSE);
dbus_message_iter_init_append(message, &iter);
- connman_dbus_property_append_variant(&iter, "Powered",
+ connman_dbus_property_append_basic(&iter, "Powered",
DBUS_TYPE_BOOLEAN, &powered);
if (dbus_connection_send_with_reply(connection, message,