Skip to content
  • Vincent Untz's avatar
    require gweather 2.22.1, do not check for libxml and the locations.xml · df19cd82
    Vincent Untz authored
    2008-04-07  Vincent Untz  <vuntz@gnome.org>
    
    	* configure.in: require gweather 2.22.1, do not check for libxml and
    	the locations.xml file for the clock applet
    	End of bug #519823.
    
    2008-04-07  Vincent Untz  <vuntz@gnome.org>
    
    	Use new gweather API, and make sure we always use data from the right
    	country. Patch by Dan Winship <danw@gnome.org>. Fix bug #519823.
    
    	* gweather-xml.c: gone, moved to libgweather
    	* clock-location.c: updated
    	* Makefile.am: updated
    	* clock.c: #include <libgweather/gweather-xml.h> rather than
    	"gweather-xml.h"
    	(find_timezone): if the weather station has a country code
    	associated with it, only return timezones that are also located in
    	that country.
    	(update_timezone): Use the tz-hint and iso-code from the location
    	data to more reliably pick a timezone. #519823.
    	(find_weather_code): Moved here from gweather-xml.c and updated to
    	look for a matching country code as well.
    
    svn path=/trunk/; revision=10984
    df19cd82