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; x = y = w = h = -1;
evas_object_geometry_get(o, &x, &y, &w, &h); evas_object_geometry_get(o, &x, &y, &w, &h);
if (en->have_selection)
{
EINA_LIST_FOREACH(en->sel, l, sel) EINA_LIST_FOREACH(en->sel, l, sel)
{ {
Evas_Textblock_Rectangle *r; Evas_Textblock_Rectangle *r;
@ -355,6 +357,15 @@ _sel_update(Evas_Textblock_Cursor *c, Evas_Object *o, Entry *en)
free(r); free(r);
} }
} }
else
{
while (range)
{
free(range->data);
range = eina_list_remove_list(range, range);
}
}
}
static void static void
_edje_anchor_mouse_down_cb(void *data, Evas *e, Evas_Object *obj, void *event_info) _edje_anchor_mouse_down_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)

View File

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