gdbus: do not check signature twice

Message signature is already checked in generic_message(), so there's no
need to check again in the callback.
This commit is contained in:
Lucas De Marchi 2012-05-20 02:07:36 -03:00 committed by Marcel Holtmann
parent e400426267
commit 4fa967e7e2
1 changed files with 0 additions and 5 deletions

View File

@ -174,11 +174,6 @@ static DBusMessage *introspect(DBusConnection *connection,
struct generic_data *data = user_data;
DBusMessage *reply;
if (!dbus_message_has_signature(message, DBUS_TYPE_INVALID_AS_STRING)) {
error("Unexpected signature to introspect call");
return NULL;
}
if (data->introspect == NULL)
generate_introspection_xml(connection, data,
dbus_message_get_path(message));