Commit aea6232c authored by Michael Catanzaro's avatar Michael Catanzaro

window: Pass address from embed to security popover

It's wrong to try to use the address from the title widget here, because
the user could edit it to say whatever he wants, and it will crash if
there is no text in the location entry. Instead, get the address from
the web view.
parent 43489a7d
......@@ -2914,7 +2914,7 @@ title_widget_lock_clicked_cb (EphyTitleWidget *title_widget,
ephy_web_view_get_security_level (view, &security_level, &certificate, &tls_errors);
security_popover = ephy_security_popover_new (GTK_WIDGET (title_widget),
ephy_title_widget_get_address (title_widget),
ephy_web_view_get_address (view),
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