All pastes #359200 Raw Edit

Mine

public c v1 · immutable
·published 2007-02-16 16:51 UTC
rendered paste body
static Weather *_weather_new (Evas * evas){  Weather *w;  const char *file;  char buf[4096];  w = E_NEW (Weather, 1);  w->weather_obj = edje_object_add (evas);  snprintf (buf, sizeof (buf), "%s/weather.edj",	    e_module_dir_get (weather_config->module));  if (!e_theme_edje_object_set      (w->weather_obj, "base/theme/modules/weather", "modules/weather/main"))    edje_object_file_set (w->weather_obj, buf, "modules/weather/main");  evas_object_show (w->weather_obj);  edje_object_part_text_set (w->weather_obj, "location", "");  file = e_theme_edje_file_get("base/theme/modules/weather", "modules/weather/icons/3200");  w->icon_obj = e_icon_add (evas);  e_icon_file_key_set (w->icon_obj, file, "modules/weather/icons/3200");  edje_object_part_swallow (w->weather_obj, "icon", w->icon_obj);  return w;}