[epiphany] ephy-snapshot-service: disconnect from "load-failed" signal
- From: Claudio Saavedra <csaavedra src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-snapshot-service: disconnect from "load-failed" signal
- Date: Thu, 6 Mar 2014 08:25:02 +0000 (UTC)
commit fb84c779f81a02d77426881de6285ee6fb03d732
Author: Claudio Saavedra <csaavedra igalia com>
Date: Thu Mar 6 10:11:33 2014 +0200
ephy-snapshot-service: disconnect from "load-failed" signal
Otherwise we have a dangling handler with webviews that are
unrelated to the async result at hand.
https://bugzilla.gnome.org/show_bug.cgi?id=725749
lib/ephy-snapshot-service.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/lib/ephy-snapshot-service.c b/lib/ephy-snapshot-service.c
index 4cb9230..3faf6b2 100644
--- a/lib/ephy-snapshot-service.c
+++ b/lib/ephy-snapshot-service.c
@@ -312,6 +312,7 @@ webview_load_failed_cb (WebKitWebView *webview,
GSimpleAsyncResult *result)
{
g_signal_handlers_disconnect_by_func (webview, webview_load_changed_cb, result);
+ g_signal_handlers_disconnect_by_func (webview, webview_load_failed_cb, result);
g_simple_async_result_set_error (result,
EPHY_SNAPSHOT_SERVICE_ERROR,
EPHY_SNAPSHOT_SERVICE_ERROR_WEB_VIEW,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]