aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorManuel Rego Casasnovas <rego@igalia.com>2013-03-13 00:41:27 +0800
committerXan Lopez <xan@igalia.com>2013-03-13 02:20:07 +0800
commit3e7587c89c40f8031d64f126aec0c53bf47f0634 (patch)
treeda89362115036bf1189375521a970cacef394978 /embed
parent6de928f0da88649212af2ea0c5d809053d454f84 (diff)
downloadgsoc2013-epiphany-3e7587c89c40f8031d64f126aec0c53bf47f0634.tar
gsoc2013-epiphany-3e7587c89c40f8031d64f126aec0c53bf47f0634.tar.gz
gsoc2013-epiphany-3e7587c89c40f8031d64f126aec0c53bf47f0634.tar.bz2
gsoc2013-epiphany-3e7587c89c40f8031d64f126aec0c53bf47f0634.tar.lz
gsoc2013-epiphany-3e7587c89c40f8031d64f126aec0c53bf47f0634.tar.xz
gsoc2013-epiphany-3e7587c89c40f8031d64f126aec0c53bf47f0634.tar.zst
gsoc2013-epiphany-3e7587c89c40f8031d64f126aec0c53bf47f0634.zip
Fix download tests in WK2
Modify ephy_download_dispose to disconnect WebKitDownload from all the handlers. https://bugzilla.gnome.org/show_bug.cgi?id=694579
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-download.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/embed/ephy-download.c b/embed/ephy-download.c
index 445748299..df27b6efe 100644
--- a/embed/ephy-download.c
+++ b/embed/ephy-download.c
@@ -677,6 +677,7 @@ ephy_download_dispose (GObject *object)
priv = download->priv;
if (priv->download) {
+ g_signal_handlers_disconnect_matched (priv->download, G_SIGNAL_MATCH_DATA, 0, 0, 0, 0, download);
g_object_unref (priv->download);
priv->download = NULL;
}