Fix copy/paste error when termio object is deleted.
When we get the evas callback for the termio object being deleted, then we Do Not want to readd the same callback. Instead we should do evas_object_event_callback_del_full here. Signed-off-by: Chris Michael <devilhorns@comcast.net>
This commit is contained in:
parent
26474588d1
commit
81a0d28a30
|
@ -492,7 +492,7 @@ static void
|
|||
_entry_termio_del_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *info EINA_UNUSED)
|
||||
{
|
||||
Entry *en = data;
|
||||
if (en->termio) evas_object_event_callback_add
|
||||
if (en->termio) evas_object_event_callback_del_full
|
||||
(en->termio, EVAS_CALLBACK_DEL, _entry_termio_del_cb, en);
|
||||
en->termio = NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue