aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-06-28 17:58:06 +0800
committerXan Lopez <xan@igalia.com>2012-06-28 17:58:06 +0800
commitc8d755a095494d91e23e5764623ea53c72190e69 (patch)
tree1e08b20fbef5653e6ad0fc2f60aa5a7e3d41bebf /embed
parent8797404133cf7c578c29de82ccf37040348170df (diff)
downloadgsoc2013-epiphany-c8d755a095494d91e23e5764623ea53c72190e69.tar.gz
gsoc2013-epiphany-c8d755a095494d91e23e5764623ea53c72190e69.tar.zst
gsoc2013-epiphany-c8d755a095494d91e23e5764623ea53c72190e69.zip
ephy-web-view: do not duplicate the setter code for typed-address
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");
}