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:
parent
a8a0ff625e
commit
19b7271ed1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue