Disconnect request-queued properly to avoid lots of dialog callbacks

The wrong user data argument passed when disconnecting request-queued
would lead to the callback not being disconnected, which led to a
number of dialogs relative to the number of opened websites being spawned.
This commit is contained in:
Christian Dywan 2009-09-25 22:51:18 +02:00
parent a8a0ff625e
commit 19b7271ed1

View file

@ -295,7 +295,7 @@ katze_http_auth_session_request_queued_cb (SoupSession* session,
g_signal_connect (session, "authenticate",
G_CALLBACK (katze_http_auth_session_authenticate_cb), http_auth);
g_signal_handlers_disconnect_by_func (session,
katze_http_auth_session_request_queued_cb, NULL);
katze_http_auth_session_request_queued_cb, http_auth);
}
static void