elemetary: spinner - free the longpress_timer when unfocused
Summary: It needs to delete when widget unfocused. @minkyu Gets from tizen. 0bc1a19703dc204c8d347794bae0290006f4bde5 Reviewers: jpeg, Jaehyun_Cho, minkyu, cedric Subscribers: minkyu, cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5750 Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
This commit is contained in:
parent
d78620e001
commit
533537c0f2
|
@ -579,6 +579,7 @@ _efl_ui_spin_button_efl_ui_focus_object_on_focus_update(Eo *obj, Efl_Ui_Spin_But
|
|||
{
|
||||
ELM_SAFE_FREE(sd->delay_change_timer, ecore_timer_del);
|
||||
ELM_SAFE_FREE(sd->spin_timer, ecore_timer_del);
|
||||
ELM_SAFE_FREE(sd->longpress_timer, ecore_timer_del);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -941,6 +941,7 @@ _elm_spinner_efl_ui_focus_object_on_focus_update(Eo *obj, Elm_Spinner_Data *sd)
|
|||
{
|
||||
ELM_SAFE_FREE(sd->delay_change_timer, ecore_timer_del);
|
||||
ELM_SAFE_FREE(sd->spin_timer, ecore_timer_del);
|
||||
ELM_SAFE_FREE(sd->longpress_timer, ecore_timer_del);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue