Enlightenment CVS committal Author : devilhorns Project : e_modules Module : weather
Dir : e_modules/weather Modified Files: e_mod_main.c Log Message: Update for correct gadcon client ids. =================================================================== RCS file: /cvs/e/e_modules/weather/e_mod_main.c,v retrieving revision 1.21 retrieving revision 1.22 diff -u -3 -r1.21 -r1.22 --- e_mod_main.c 19 May 2006 11:34:52 -0000 1.21 +++ e_mod_main.c 19 May 2006 13:36:56 -0000 1.22 @@ -207,7 +207,7 @@ Config_Item *ci; inst = data; - ci = _weather_config_item_get(inst->gcc->gadcon->id); + ci = _weather_config_item_get(inst->gcc->id); _config_weather_module(ci); } @@ -358,9 +358,9 @@ Config_Item *ci; inst = l->data; - ci = _weather_config_item_get(inst->gcc->gadcon->id); + ci = _weather_config_item_get(inst->gcc->id); if (ci->id) evas_stringshare_del(ci->id); - ci->id = evas_stringshare_add(inst->gcc->gadcon->id); + ci->id = evas_stringshare_add(inst->gcc->id); } e_config_domain_save("module.weather", conf_edd, weather_config); @@ -449,7 +449,7 @@ Config_Item *ci; inst = data; - ci = _weather_config_item_get(inst->gcc->gadcon->id); + ci = _weather_config_item_get(inst->gcc->id); if (!weather_config->server) { @@ -480,7 +480,7 @@ if (!inst) return 1; - ci = _weather_config_item_get(inst->gcc->gadcon->id); + ci = _weather_config_item_get(inst->gcc->id); ev = event; if ((!weather_config->server) || (weather_config->server != ev->server)) return 1; @@ -615,7 +615,7 @@ Config_Item *ci; inst = data; - ci = _weather_config_item_get(inst->gcc->gadcon->id); + ci = _weather_config_item_get(inst->gcc->id); if ((inst->degrees == 'F') && (ci->degrees == DEGREES_C)) { inst->temp = (inst->temp - 32) * 5.0 / 9.0; @@ -675,9 +675,9 @@ Instance *inst; inst = l->data; - if (!inst->gcc->gadcon->id) + if (!inst->gcc->id) continue; - if (!strcmp(inst->gcc->gadcon->id, ci->id)) + if (!strcmp(inst->gcc->id, ci->id)) { switch (ci->display) { ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs