aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-web-view.c
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-03-15 18:22:22 +0800
committerXan Lopez <xan@igalia.com>2012-03-15 18:22:22 +0800
commit27ac10ebebeabcd2c12eb377ab696ac2e56fc3e0 (patch)
tree7b45b8c81b8c7f8e3e58974d655e71450181b36b /embed/ephy-web-view.c
parent82dadc0a5ca5f0155e021fcfacd815c099673e17 (diff)
downloadgsoc2013-epiphany-27ac10ebebeabcd2c12eb377ab696ac2e56fc3e0.tar.gz
gsoc2013-epiphany-27ac10ebebeabcd2c12eb377ab696ac2e56fc3e0.tar.zst
gsoc2013-epiphany-27ac10ebebeabcd2c12eb377ab696ac2e56fc3e0.zip
ephy-web-view: return an actual visit type instead of just '0'
Diffstat (limited to 'embed/ephy-web-view.c')
-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;
}