From 19b7271ed1e54c95086186c8192ba0db44e0099c Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Fri, 25 Sep 2009 22:51:18 +0200 Subject: [PATCH] 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. --- katze/katze-http-auth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/katze/katze-http-auth.c b/katze/katze-http-auth.c index cb2beb40..38c6ce5c 100644 --- a/katze/katze-http-auth.c +++ b/katze/katze-http-auth.c @@ -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 -- 2.39.5