aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r--src/ephy-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index dcba93e42..9f751ea8b 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -1086,12 +1086,12 @@ update_favicon_control (EphyWindow *window)
cache = ephy_embed_shell_get_favicon_cache
(EPHY_EMBED_SHELL (ephy_shell));
- location = ephy_tab_get_location (window->priv->active_tab);
+ location = ephy_tab_get_favicon_url (window->priv->active_tab);
if (location)
{
GdkPixbuf *pixbuf;
- pixbuf = ephy_favicon_cache_lookup_direct (cache, location);
+ pixbuf = ephy_favicon_cache_get (cache, location);
gtk_window_set_icon (GTK_WINDOW (window), pixbuf);
}