aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--embed/ephy-web-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index 0678f78d8..2f6579e7e 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -3809,7 +3809,7 @@ ephy_web_view_is_loading_homepage (EphyWebView *view)
EphyHistoryPageVisitType
ephy_web_view_get_visit_type (EphyWebView *view)
{
- g_return_val_if_fail (EPHY_IS_WEB_VIEW (view), 0);
+ g_return_val_if_fail (EPHY_IS_WEB_VIEW (view), EPHY_PAGE_VISIT_NONE);
return view->priv->visit_type;
}