aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2013-03-22 18:14:50 +0800
committerXan Lopez <xan@igalia.com>2013-03-22 18:14:50 +0800
commit0cc062c2ecf9b4efb69e7660529aa5925b4d1f93 (patch)
tree7f1d51331813da920ac72e9ef13eee81927be633
parentd97136a5d1e7c9dd6d051ecc4d8bad2180925bfd (diff)
downloadgsoc2013-epiphany-0cc062c2ecf9b4efb69e7660529aa5925b4d1f93.tar.gz
gsoc2013-epiphany-0cc062c2ecf9b4efb69e7660529aa5925b4d1f93.tar.zst
gsoc2013-epiphany-0cc062c2ecf9b4efb69e7660529aa5925b4d1f93.zip
ephy-web-view-test: disconnect signals after test is over
Otherwise it will carry over to the next tests.
-rw-r--r--tests/ephy-web-view-test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ephy-web-view-test.c b/tests/ephy-web-view-test.c
index c1d5531fd..62b4ef2e2 100644
--- a/tests/ephy-web-view-test.c
+++ b/tests/ephy-web-view-test.c
@@ -479,6 +479,7 @@ test_ephy_web_view_error_pages_not_stored_in_history (void)
#endif
g_main_loop_run (loop);
g_main_loop_unref (loop);
+ g_signal_handlers_disconnect_by_func (history_service, G_CALLBACK (visit_url_cb), NULL);
g_object_unref (g_object_ref_sink (view));
}