diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-12-19 13:17:42 -0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-12-19 13:17:42 -0800 |
commit | 771829488c36eb8ee9ce09a12ecb7517e3cf4f04 (patch) | |
tree | f3a99098a145e65fd2cd522566d5f1b47b5749cd /src/provider.c | |
parent | 3204daaa8670ac4bf09dbfc5507c198409086153 (diff) | |
download | connman-771829488c36eb8ee9ce09a12ecb7517e3cf4f04.tar.gz connman-771829488c36eb8ee9ce09a12ecb7517e3cf4f04.tar.bz2 connman-771829488c36eb8ee9ce09a12ecb7517e3cf4f04.zip |
Rename D-Bus helper for basic dictionary types
Diffstat (limited to 'src/provider.c')
-rw-r--r-- | src/provider.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/provider.c b/src/provider.c index ec3cf3b2..7a003727 100644 --- a/src/provider.c +++ b/src/provider.c @@ -423,26 +423,26 @@ static DBusMessage *get_properties(DBusConnection *conn, connman_dbus_dict_open(&array, &dict); if (provider->name != NULL) - connman_dbus_dict_append_variant(&dict, "Name", + connman_dbus_dict_append_basic(&dict, "Name", DBUS_TYPE_STRING, &provider->name); if (str != NULL) - connman_dbus_dict_append_variant(&dict, "Type", + connman_dbus_dict_append_basic(&dict, "Type", DBUS_TYPE_STRING, &provider->type); str = state2string(provider->state); if (str != NULL) - connman_dbus_dict_append_variant(&dict, "State", + connman_dbus_dict_append_basic(&dict, "State", DBUS_TYPE_STRING, &str); str = error2string(provider->error); if (str != NULL) - connman_dbus_dict_append_variant(&dict, "Error", + connman_dbus_dict_append_basic(&dict, "Error", DBUS_TYPE_STRING, &str); required = TRUE; - connman_dbus_dict_append_variant(&dict, "PassphraseRequired", + connman_dbus_dict_append_basic(&dict, "PassphraseRequired", DBUS_TYPE_BOOLEAN, &required); connman_dbus_dict_close(&array, &dict); |