[epiphany] ephy-web-view-test: disconnect signals after test is over



commit 0cc062c2ecf9b4efb69e7660529aa5925b4d1f93
Author: Xan Lopez <xan igalia com>
Date:   Fri Mar 22 11:14:50 2013 +0100

    ephy-web-view-test: disconnect signals after test is over
    
    Otherwise it will carry over to the next tests.

 tests/ephy-web-view-test.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tests/ephy-web-view-test.c b/tests/ephy-web-view-test.c
index c1d5531..62b4ef2 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));
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]