aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-web-view.c9
1 files changed, 2 insertions, 7 deletions
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");
}