diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-12-19 13:23:15 -0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-12-19 13:23:15 -0800 |
commit | 7bc004006cb45f73276ef56edc03dac4177becc3 (patch) | |
tree | bfcedb35928e20c965c7c51cf0e0ae251a554f59 /src/profile.c | |
parent | 771829488c36eb8ee9ce09a12ecb7517e3cf4f04 (diff) | |
download | connman-7bc004006cb45f73276ef56edc03dac4177becc3.tar.gz connman-7bc004006cb45f73276ef56edc03dac4177becc3.tar.bz2 connman-7bc004006cb45f73276ef56edc03dac4177becc3.zip |
Add user data argument to D-Bus array property helpers
Diffstat (limited to 'src/profile.c')
-rw-r--r-- | src/profile.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/profile.c b/src/profile.c index fe9ddb8f..808a7c07 100644 --- a/src/profile.c +++ b/src/profile.c @@ -72,7 +72,7 @@ static void profiles_changed(void) dbus_message_iter_init_append(signal, &iter); connman_dbus_property_append_variable_array(&iter, "Profiles", - DBUS_TYPE_OBJECT_PATH, __connman_profile_list); + DBUS_TYPE_OBJECT_PATH, __connman_profile_list, NULL); g_dbus_send_message(connection, signal); } @@ -167,10 +167,10 @@ static gboolean services_changed(gpointer user_data) dbus_message_iter_init_append(signal, &iter); if (g_strcmp0(profile->ident, PROFILE_DEFAULT_IDENT) == 0) connman_dbus_property_append_variable_array(&iter, "Services", - DBUS_TYPE_OBJECT_PATH, __connman_service_list); + DBUS_TYPE_OBJECT_PATH, __connman_service_list, NULL); else connman_dbus_property_append_variable_array(&iter, "Services", - DBUS_TYPE_OBJECT_PATH, NULL); + DBUS_TYPE_OBJECT_PATH, NULL, NULL); g_dbus_send_message(connection, signal); @@ -184,7 +184,7 @@ static gboolean services_changed(gpointer user_data) dbus_message_iter_init_append(signal, &iter); connman_dbus_property_append_variable_array(&iter, "Services", - DBUS_TYPE_OBJECT_PATH, __connman_service_list); + DBUS_TYPE_OBJECT_PATH, __connman_service_list, NULL); g_dbus_send_message(connection, signal); |