Tasks: Remove these useless code lines. No point in fetching geometry

if we are not going to use it for anything ;)



SVN revision: 72199
This commit is contained in:
Christopher Michael 2012-06-15 17:21:19 +00:00
parent 63473e0435
commit 4c3d81f1ad
1 changed files with 4 additions and 4 deletions

View File

@ -223,8 +223,8 @@ _gc_init(E_Gadcon *gc, const char *name, const char *id, const char *style __UNU
Tasks *tasks; Tasks *tasks;
Evas_Object *o; Evas_Object *o;
E_Gadcon_Client *gcc; E_Gadcon_Client *gcc;
Evas_Coord x, y, w, h; /* Evas_Coord x, y, w, h; */
int cx, cy, cw, ch; /* int cx, cy, cw, ch; */
tasks = _tasks_new(gc->evas, gc->zone, id); tasks = _tasks_new(gc->evas, gc->zone, id);
@ -233,8 +233,8 @@ _gc_init(E_Gadcon *gc, const char *name, const char *id, const char *style __UNU
gcc->data = tasks; gcc->data = tasks;
tasks->gcc = gcc; tasks->gcc = gcc;
e_gadcon_canvas_zone_geometry_get(gcc->gadcon, &cx, &cy, &cw, &ch); /* e_gadcon_canvas_zone_geometry_get(gcc->gadcon, &cx, &cy, &cw, &ch); */
evas_object_geometry_get(o, &x, &y, &w, &h); /* evas_object_geometry_get(o, &x, &y, &w, &h); */
tasks_config->tasks = eina_list_append(tasks_config->tasks, tasks); tasks_config->tasks = eina_list_append(tasks_config->tasks, tasks);