aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-tab.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-08-09 21:50:41 +0800
committerChristian Persch <chpe@src.gnome.org>2005-08-09 21:50:41 +0800
commitce0119a469c4abb7df49c162e4e38cd040801ca6 (patch)
tree166f64050ee1e5d8c5d46f929fe803a44f442221 /src/ephy-tab.c
parentc412a3fe4bf2735a601e71a6cb030dbc434a2a67 (diff)
downloadgsoc2013-epiphany-ce0119a469c4abb7df49c162e4e38cd040801ca6.tar.gz
gsoc2013-epiphany-ce0119a469c4abb7df49c162e4e38cd040801ca6.tar.zst
gsoc2013-epiphany-ce0119a469c4abb7df49c162e4e38cd040801ca6.zip
Typo fixes.Release174
2005-08-09 Christian Persch <chpe@cvs.gnome.org> * NEWS: Typo fixes. * src/ephy-tab.c: (ephy_tab_net_state_cb): Removed favicon fallback code.
Diffstat (limited to 'src/ephy-tab.c')
-rw-r--r--src/ephy-tab.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/ephy-tab.c b/src/ephy-tab.c
index b843dd2cd..051a77f88 100644
--- a/src/ephy-tab.c
+++ b/src/ephy-tab.c
@@ -1239,36 +1239,6 @@ ephy_tab_set_icon_address (EphyTab *tab,
}
static void
-ephy_tab_set_fallback_icon_address (EphyTab *tab)
-{
- EphyTabPrivate *priv = tab->priv;
- GnomeVFSURI *uri;
- char *icon_address;
-
- /* If the site didn't specify a site icon, we fall back to
- * favicon.ico, see bug #116678.
- */
-
- if (priv->icon_address != NULL ||
- priv->address == NULL ||
- !(g_str_has_prefix (priv->address, "http://") ||
- g_str_has_prefix (priv->address, "https://"))) return;
-
- uri = gnome_vfs_uri_new (priv->address);
- if (uri == NULL) return;
-
- /* FIXME: support host:port ? */
- icon_address = g_strconcat (gnome_vfs_uri_get_scheme (uri), "://",
- gnome_vfs_uri_get_host_name (uri),
- "/favicon.ico", NULL);
-
- ephy_tab_set_icon_address (tab, icon_address);
-
- g_free (icon_address);
- gnome_vfs_uri_unref (uri);
-}
-
-static void
ephy_tab_file_monitor_cancel (EphyTab *tab)
{
EphyTabPrivate *priv = tab->priv;
@@ -1770,7 +1740,6 @@ ephy_tab_net_state_cb (EphyEmbed *embed,
ephy_tab_set_load_percent (tab, 100);
ephy_tab_set_load_status (tab, FALSE);
ephy_tab_update_navigation_flags (tab, embed);
- ephy_tab_set_fallback_icon_address (tab);
g_free (priv->loading_title);
priv->loading_title = NULL;