SVN revision: 37262
This commit is contained in:
Carsten Haitzler 2008-10-28 04:58:39 +00:00
parent e7b5030226
commit 5813cfd630
2 changed files with 25 additions and 13 deletions

View File

@ -336,6 +336,8 @@ _sel_update(Evas_Textblock_Cursor *c, Evas_Object *o, Entry *en)
}
x = y = w = h = -1;
evas_object_geometry_get(o, &x, &y, &w, &h);
if (en->have_selection)
{
EINA_LIST_FOREACH(en->sel, l, sel)
{
Evas_Textblock_Rectangle *r;
@ -354,6 +356,15 @@ _sel_update(Evas_Textblock_Cursor *c, Evas_Object *o, Entry *en)
range = eina_list_remove_list(range, range);
free(r);
}
}
else
{
while (range)
{
free(range->data);
range = eina_list_remove_list(range, range);
}
}
}
static void

View File

@ -1006,6 +1006,7 @@ _edje_var_anim_add(Edje *ed, double len, const char *fname, int val)
ea->edje = ed;
ea->func = fn;
ea->val = val;
if (!ed->var_pool->animators)
_edje_anim_list = eina_list_append(_edje_anim_list, ed);
ed->var_pool->animators = eina_list_prepend(ed->var_pool->animators, ea);
if (!_edje_animator)