From d4dfee4e39e3b4d7cebb6072b5eb478191eedc93 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Thu, 28 Jun 2012 12:02:15 +0200 Subject: ephy-web-view: and more type checks --- embed/ephy-web-view.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'embed') 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; } -- cgit