From: Christian Dywan Date: Fri, 25 Sep 2009 20:51:18 +0000 (+0200) Subject: Disconnect request-queued properly to avoid lots of dialog callbacks X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19b7271ed1e54c95086186c8192ba0db44e0099c;p=midori 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. --- 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