[epiphany] ephy-web-view: return an actual visit type instead of just '0'
- From: Xan Lopez <xan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-web-view: return an actual visit type instead of just '0'
- Date: Thu, 15 Mar 2012 10:23:24 +0000 (UTC)
commit 27ac10ebebeabcd2c12eb377ab696ac2e56fc3e0
Author: Xan Lopez <xan igalia com>
Date: Thu Mar 15 11:22:22 2012 +0100
ephy-web-view: return an actual visit type instead of just '0'
embed/ephy-web-view.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index 0678f78..2f6579e 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]