- _anchors_do() receive fileselector object as first parameter,
in _on_text_unfocused cb fileselector passed as 'data' and not as
'obj';
- when entry is unfocused, it can contain usual text or anchor-styled text,
so the only secure way to pass path is to pass sd->path.
}
static void
-_on_text_unfocused(void *data __UNUSED__,
- Evas_Object *obj,
+_on_text_unfocused(void *data,
+ Evas_Object *obj __UNUSED__,
void *event_info __UNUSED__)
{
- _anchors_do(obj, elm_object_text_get(obj));
+ ELM_FILESELECTOR_DATA_GET(data, sd);
+ _anchors_do(data, sd->path);
}
static void