aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-base-embed.c
diff options
context:
space:
mode:
Diffstat (limited to 'embed/ephy-base-embed.c')
-rw-r--r--embed/ephy-base-embed.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/embed/ephy-base-embed.c b/embed/ephy-base-embed.c
index 79e7146f3..2ca7a1490 100644
--- a/embed/ephy-base-embed.c
+++ b/embed/ephy-base-embed.c
@@ -1189,8 +1189,8 @@ ephy_base_embed_set_icon_address (EphyBaseEmbed *embed,
{
GObject *object = G_OBJECT (embed);
EphyBaseEmbedPrivate *priv = embed->priv;
- /* EphyHistory *history;
- EphyBookmarks *eb;*/
+ EphyHistory *history;
+ /* EphyBookmarks *eb;*/
g_free (priv->icon_address);
priv->icon_address = g_strdup (address);
@@ -1203,12 +1203,9 @@ ephy_base_embed_set_icon_address (EphyBaseEmbed *embed,
}
if (priv->icon_address) {
- /* FIXME: we need to put this somewhere inside src?/
- history = EPHY_HISTORY
- (ephy_embed_shell_get_global_history (embed_shell));
- ephy_history_set_icon (history, priv->address,
- priv->icon_address);
-
+ history = EPHY_HISTORY (ephy_embed_shell_get_global_history (embed_shell));
+ ephy_history_set_icon (history, priv->address, priv->icon_address);
+ /*
eb = ephy_shell_get_bookmarks (ephy_shell);
ephy_bookmarks_set_icon (eb, priv->address,
priv->icon_address);*/