[libgweather] iwin: actually queue the request for forecast-list



commit 73d9b7fcd3801c0d1634c15520fe3a85d370c8dc
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Thu Jun 21 19:25:44 2012 +0200

    iwin: actually queue the request for forecast-list
    
    The previous fix for %f formatting removed too much code, including
    that queuing the HTTP request.

 libgweather/weather-iwin.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/libgweather/weather-iwin.c b/libgweather/weather-iwin.c
index 331922c..f2baefa 100644
--- a/libgweather/weather-iwin.c
+++ b/libgweather/weather-iwin.c
@@ -419,6 +419,9 @@ iwin_start_open (GWeatherInfo *info)
 	g_ascii_dtostr (lonstr, sizeof(lonstr), RADIANS_TO_DEGREES (loc->longitude));
 	url = g_strdup_printf ("http://www.weather.gov/forecasts/xml/sample_products/browser_interface/ndfdBrowserClientByDay.php?&lat=%s&lon=%s&format=24+hourly&startDate=%04d-%02d-%02d&numDays=7";,
 			       latstr, lonstr, 1900 + tm.tm_year, 1 + tm.tm_mon, tm.tm_mday);
+	msg = soup_message_new ("GET", url);
+	g_free (url);
+	soup_session_queue_message (priv->session, msg, iwin_finish, info);
 
         priv->requests_pending++;
         return;



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