[epiphany] e-location-entry: use new soup_session_prefetch_dns API



commit 6a9b89629bce29293b9461c5098b803b61b84ea7
Author: Diego Escalante Urrelo <diegoe igalia com>
Date:   Mon Dec 10 06:50:19 2012 -0500

    e-location-entry: use new soup_session_prefetch_dns API
    
    https://bugzilla.gnome.org/show_bug.cgi?id=689970

 lib/widgets/ephy-location-entry.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c
index 603284b..f89c6d8 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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]