From c8d755a095494d91e23e5764623ea53c72190e69 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Thu, 28 Jun 2012 11:58:06 +0200 Subject: ephy-web-view: do not duplicate the setter code for typed-address --- embed/ephy-web-view.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'embed') diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c index c2e8572ae..cf7e6628e 100644 --- a/embed/ephy-web-view.c +++ b/embed/ephy-web-view.c @@ -3057,13 +3057,8 @@ ephy_web_view_set_address (EphyWebView *view, strcmp (address, "about:blank") == 0; _ephy_web_view_set_is_blank (view, is_blank); - if (ephy_web_view_is_loading (view) && - priv->typed_address != NULL) { - g_free (priv->typed_address); - priv->typed_address = NULL; - - g_object_notify (object, "typed-address"); - } + if (ephy_web_view_is_loading (view) && priv->typed_address != NULL) + ephy_web_view_set_typed_address (view, NULL); g_object_notify (object, "address"); } -- cgit