agent: pass the right call-id in the secrets callback

This commit is contained in:
Dan Williams 2011-01-19 17:17:41 -06:00
parent 8ff556be3c
commit ec55e32ee6

View file

@ -160,7 +160,7 @@ secrets_callback (DBusGProxy *proxy,
dbus_g_proxy_end_call (proxy, call, &error,
DBUS_TYPE_G_MAP_OF_MAP_OF_VARIANT, &secrets,
G_TYPE_INVALID);
r->callback (r->agent, r, secrets, error, r->callback_data);
r->callback (r->agent, r->call, secrets, error, r->callback_data);
if (secrets)
g_hash_table_unref (secrets);
g_clear_error (&error);