[libgweather] location: initialize timezone_cache



commit 07c8179aa25488c46acf8c87a7783af85b85d157
Author: Will Thompson <wjt endlessm com>
Date:   Fri Dec 16 14:27:46 2016 +0000

    location: initialize timezone_cache
    
    https://bugzilla.gnome.org/show_bug.cgi?id=776170

 libgweather/gweather-location.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libgweather/gweather-location.c b/libgweather/gweather-location.c
index 1721e0a..ccbb8ee 100644
--- a/libgweather/gweather-location.c
+++ b/libgweather/gweather-location.c
@@ -144,6 +144,7 @@ location_new_from_xml (GWeatherParser *parser, GWeatherLocationLevel level,
     if (level == GWEATHER_LOCATION_WORLD) {
        loc->metar_code_cache = g_hash_table_ref (parser->metar_code_cache);
        loc->country_code_cache = g_hash_table_ref (parser->country_code_cache);
+       loc->timezone_cache = g_hash_table_ref (parser->timezone_cache);
     }
     children = g_ptr_array_new ();
 


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