From 27ac10ebebeabcd2c12eb377ab696ac2e56fc3e0 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Thu, 15 Mar 2012 11:22:22 +0100 Subject: ephy-web-view: return an actual visit type instead of just '0' --- embed/ephy-web-view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'embed/ephy-web-view.c') 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; } -- cgit