forked from enlightenment/efl
elementary/entry : When string in entry is changed, access to sd should be forbidden after smart_callback_call is called.
SVN revision: 83001
This commit is contained in:
parent
3428d24364
commit
a98bec12c1
|
@ -932,3 +932,7 @@
|
||||||
2013-01-18 Thiep Ha (thiep.ha@samsung.com)
|
2013-01-18 Thiep Ha (thiep.ha@samsung.com)
|
||||||
|
|
||||||
* Fix memory leak of the ctxpopup and callback function to be a ctxpoup obj is delivered to.
|
* Fix memory leak of the ctxpopup and callback function to be a ctxpoup obj is delivered to.
|
||||||
|
|
||||||
|
2013-01-19 WooHyun Jung
|
||||||
|
|
||||||
|
* When string in entry is changed, access to sd should be forbidden after smart_callback_call is called.
|
||||||
|
|
|
@ -1463,10 +1463,7 @@ _entry_changed_handle(void *data,
|
||||||
evas_event_thaw_eval(evas_object_evas_get(data));
|
evas_event_thaw_eval(evas_object_evas_get(data));
|
||||||
if ((sd->auto_save) && (sd->file))
|
if ((sd->auto_save) && (sd->file))
|
||||||
sd->delay_write = ecore_timer_add(2.0, _delay_write, data);
|
sd->delay_write = ecore_timer_add(2.0, _delay_write, data);
|
||||||
/* callback - this could call callbacks that delete the
|
|
||||||
* entry... thus... any access to sd after this could be
|
|
||||||
* invalid */
|
|
||||||
evas_object_smart_callback_call(data, event, NULL);
|
|
||||||
_return_key_enabled_check(data);
|
_return_key_enabled_check(data);
|
||||||
text = edje_object_part_text_get(sd->entry_edje, "elm.text");
|
text = edje_object_part_text_get(sd->entry_edje, "elm.text");
|
||||||
if (text)
|
if (text)
|
||||||
|
@ -1476,6 +1473,10 @@ _entry_changed_handle(void *data,
|
||||||
else
|
else
|
||||||
_elm_entry_guide_update(data, EINA_FALSE);
|
_elm_entry_guide_update(data, EINA_FALSE);
|
||||||
}
|
}
|
||||||
|
/* callback - this could call callbacks that delete the
|
||||||
|
* entry... thus... any access to sd after this could be
|
||||||
|
* invalid */
|
||||||
|
evas_object_smart_callback_call(data, event, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue