Commit d3993855 authored by Michael Catanzaro's avatar Michael Catanzaro

location-controller: Fix no-show URIs displaying on Escape

parent 1ffd801c
......@@ -227,11 +227,12 @@ get_location_cb (EphyLocationEntry *entry,
EphyLocationController *controller)
EphyEmbed *embed;
const char *address;
embed = ephy_embed_container_get_active_child
(EPHY_EMBED_CONTAINER (controller->window));
embed = ephy_embed_container_get_active_child (EPHY_EMBED_CONTAINER (controller->window));
address = ephy_web_view_get_address (ephy_embed_get_web_view (embed));
return g_strdup (ephy_web_view_get_address (ephy_embed_get_web_view (embed)));
return ephy_embed_utils_is_no_show_address (address) ? NULL : g_strdup (address);
static char *
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment