aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-tab.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-tab.c')
-rw-r--r--src/ephy-tab.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ephy-tab.c b/src/ephy-tab.c
index 2db9f5871..273f8440c 100644
--- a/src/ephy-tab.c
+++ b/src/ephy-tab.c
@@ -502,7 +502,7 @@ ephy_tab_icon_cache_changed_cb (EphyFaviconCache *cache,
/* is this for us? */
if (tab->priv->icon_address != NULL &&
- strcmp (tab->priv->icon_address, address) != 0)
+ strcmp (tab->priv->icon_address, address) == 0)
{
/* notify */
g_object_notify (G_OBJECT (tab), "icon");
@@ -555,14 +555,14 @@ ephy_tab_favicon_cb (EphyEmbed *embed,
static void
ephy_tab_link_message_cb (EphyEmbed *embed,
- const gchar *message,
+ const char *message,
EphyTab *tab)
{
ephy_tab_set_link_message (tab, message);
}
static void
-ephy_tab_address_cb (EphyEmbed *embed, char *address, EphyTab *tab)
+ephy_tab_address_cb (EphyEmbed *embed, const char *address, EphyTab *tab)
{
if (tab->priv->address_expire == TAB_ADDRESS_EXPIRE_NOW)
{