[Xfce4-commits] <midori:master> Disconnect request-queued properly to avoid lots of dialog callbacks
Christian Dywan
noreply at xfce.org
Fri Sep 25 23:10:01 CEST 2009
Updating branch refs/heads/master
to 19b7271ed1e54c95086186c8192ba0db44e0099c (commit)
from a8a0ff625e1abe325f8369980704a4eb1d88f393 (commit)
commit 19b7271ed1e54c95086186c8192ba0db44e0099c
Author: Christian Dywan <christian at twotoasts.de>
Date: Fri Sep 25 22:51:18 2009 +0200
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 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/katze/katze-http-auth.c b/katze/katze-http-auth.c
index cb2beb4..38c6ce5 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
More information about the Xfce4-commits
mailing list