diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2007-08-23 10:12:37 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2007-08-23 10:12:37 +0000 |
commit | 8af5664021b471e769b93a345f451f9a20b08ca8 (patch) | |
tree | 0ae7610eb71af7a62d5ba89c1392776a83d89e40 /hcid/dbus-database.c | |
parent | f205cd06dc4e9da2c1d5109e570008d7d80b8380 (diff) |
Trigger the service classes update through a callback
Diffstat (limited to 'hcid/dbus-database.c')
-rw-r--r-- | hcid/dbus-database.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/hcid/dbus-database.c b/hcid/dbus-database.c index 384df032..29e5b132 100644 --- a/hcid/dbus-database.c +++ b/hcid/dbus-database.c @@ -86,8 +86,6 @@ static void exit_callback(const char *name, void *user_data) else unregister_sdp_record(user_record->handle); - update_class_of_device(); - if (user_record->sender) g_free(user_record->sender); @@ -148,8 +146,6 @@ static DBusHandlerResult add_service_record(DBusConnection *conn, } } - update_class_of_device(); - sender = dbus_message_get_sender(msg); user_record->sender = g_strdup(sender); @@ -211,8 +207,6 @@ static DBusHandlerResult add_service_record_from_xml(DBusConnection *conn, sdp_record_free(sdp_record); } - update_class_of_device(); - sender = dbus_message_get_sender(msg); user_record->sender = g_strdup(sender); @@ -262,8 +256,6 @@ static DBusHandlerResult update_record(DBusConnection *conn, DBusMessage *msg, } } - update_class_of_device(); - return send_message_and_unref(conn, dbus_message_new_method_return(msg)); } @@ -366,8 +358,6 @@ static DBusHandlerResult remove_service_record(DBusConnection *conn, else unregister_sdp_record(handle); - update_class_of_device(); - if (user_record->sender) g_free(user_record->sender); |