[epiphany] web-view-test: Fix return type of visit_url_cb
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] web-view-test: Fix return type of visit_url_cb
- Date: Mon, 9 May 2016 13:40:15 +0000 (UTC)
commit 050d8bb3d26e7d3887507bc82a8da869d6032ee7
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Sun Apr 24 23:05:17 2016 -0500
web-view-test: Fix return type of visit_url_cb
tartan would have caught this.
https://bugzilla.gnome.org/show_bug.cgi?id=765863
tests/ephy-web-view-test.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/tests/ephy-web-view-test.c b/tests/ephy-web-view-test.c
index 0f3d3d6..24ea8c9 100644
--- a/tests/ephy-web-view-test.c
+++ b/tests/ephy-web-view-test.c
@@ -401,7 +401,7 @@ test_ephy_web_view_provisional_load_failure_updates_back_forward_list (void)
g_object_unref (g_object_ref_sink (view));
}
-static gboolean
+static void
visit_url_cb (EphyHistoryService *service,
const char *url,
EphyHistoryPageVisit visit_type,
@@ -410,8 +410,6 @@ visit_url_cb (EphyHistoryService *service,
/* We are only loading an error page, this code should never be
* reached. */
g_assert_not_reached ();
-
- return FALSE;
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]