aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-06-28 18:02:15 +0800
committerXan Lopez <xan@igalia.com>2012-06-28 18:02:15 +0800
commitd4dfee4e39e3b4d7cebb6072b5eb478191eedc93 (patch)
tree7d92c2633fcd4064affebeb465acb16650b487a6 /embed
parent680535623ace29e60a51728e0b33993b6d8cfc25 (diff)
downloadgsoc2013-epiphany-d4dfee4e39e3b4d7cebb6072b5eb478191eedc93.tar
gsoc2013-epiphany-d4dfee4e39e3b4d7cebb6072b5eb478191eedc93.tar.gz
gsoc2013-epiphany-d4dfee4e39e3b4d7cebb6072b5eb478191eedc93.tar.bz2
gsoc2013-epiphany-d4dfee4e39e3b4d7cebb6072b5eb478191eedc93.tar.lz
gsoc2013-epiphany-d4dfee4e39e3b4d7cebb6072b5eb478191eedc93.tar.xz
gsoc2013-epiphany-d4dfee4e39e3b4d7cebb6072b5eb478191eedc93.tar.zst
gsoc2013-epiphany-d4dfee4e39e3b4d7cebb6072b5eb478191eedc93.zip
ephy-web-view: and more type checks
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-web-view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index 3d5e03896..1c85e4ea7 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -3487,6 +3487,8 @@ ephy_web_view_set_visibility (EphyWebView *view,
const char *
ephy_web_view_get_typed_address (EphyWebView *view)
{
+ g_return_val_if_fail (EPHY_IS_WEB_VIEW (view), NULL);
+
return view->priv->typed_address;
}