From 0589f319c8c35f35b0e6dd741804a032ffb4ecd3 Mon Sep 17 00:00:00 2001 From: Mariusz Bialonczyk Date: Mon, 3 Jun 2019 16:47:57 +0100 Subject: [PATCH] Add json-c dependency Summary: Old API retired => use yahoo weather JSON API The new API is returning data in JSON format. This commit is switching it over (currently SSL server) and parsing to have the data in par with previous data. Example data: https://www.yahoo.com/news/_tdnews/api/resource/WeatherService;woeids=839722 Fix millibar to inches of mercury divider Merge branch 'json-api' Reviewers: vtorri, bu5hm4n, stephenmhouston, raster Reviewed By: vtorri Subscribers: raster, vtorri Differential Revision: https://phab.enlightenment.org/D8095 --- src/e_mod_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/e_mod_main.c b/src/e_mod_main.c index 4335c2c..fbf0c10 100644 --- a/src/e_mod_main.c +++ b/src/e_mod_main.c @@ -933,7 +933,7 @@ _forecasts_popup_content_create(Instance *inst) if (!inst->location) return; - inst->popup = e_gadcon_popup_new(inst->gcc, E_COMP_OBJECT_TYPE_POPUP); + inst->popup = e_gadcon_popup_new(inst->gcc, 0); evas = e_comp->evas; o = e_widget_list_add(evas, 0, 0);