aboutsummaryrefslogtreecommitdiffstats
path: root/lib/widgets
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <diegoe@igalia.com>2012-12-10 19:50:19 +0800
committerDiego Escalante Urrelo <diegoe@igalia.com>2012-12-10 23:23:45 +0800
commit6a9b89629bce29293b9461c5098b803b61b84ea7 (patch)
treeebfd0a7a97c1abb33c9a579fac42f46445880795 /lib/widgets
parentbf1c437d6d91bafd35fd156eff0265c45bd7dbc0 (diff)
downloadgsoc2013-epiphany-6a9b89629bce29293b9461c5098b803b61b84ea7.tar
gsoc2013-epiphany-6a9b89629bce29293b9461c5098b803b61b84ea7.tar.gz
gsoc2013-epiphany-6a9b89629bce29293b9461c5098b803b61b84ea7.tar.bz2
gsoc2013-epiphany-6a9b89629bce29293b9461c5098b803b61b84ea7.tar.lz
gsoc2013-epiphany-6a9b89629bce29293b9461c5098b803b61b84ea7.tar.xz
gsoc2013-epiphany-6a9b89629bce29293b9461c5098b803b61b84ea7.tar.zst
gsoc2013-epiphany-6a9b89629bce29293b9461c5098b803b61b84ea7.zip
e-location-entry: use new soup_session_prefetch_dns API
https://bugzilla.gnome.org/show_bug.cgi?id=689970
Diffstat (limited to 'lib/widgets')
-rw-r--r--lib/widgets/ephy-location-entry.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c
index 603284b96..f89c6d834 100644
--- a/lib/widgets/ephy-location-entry.c
+++ b/lib/widgets/ephy-location-entry.c
@@ -945,7 +945,8 @@ do_dns_prefetch (PrefetchHelper *helper)
#else
SoupSession *session = webkit_get_default_session ();
- soup_session_prepare_for_uri (session, helper->uri);
+ if (helper->uri)
+ soup_session_prefetch_dns (session, helper->uri->host, NULL, NULL, NULL);
#endif
helper->entry->priv->dns_prefetch_handler = 0;