forked from enlightenment/efl
elementary/notify : In _timer_cb of elm_notify, access to sd should be forbidden after smart_callback_call is called.
SVN revision: 83121
This commit is contained in:
parent
2ae92dba30
commit
072ebd0c06
|
@ -944,3 +944,7 @@
|
|||
2012-01-22 Daniel Juyung Seo (SeoZ)
|
||||
|
||||
* Enhanced diskselector add and item_append time.
|
||||
|
||||
2012-01-23 WooHyun Jung
|
||||
|
||||
* In _timer_cb of elm_notify, access to sd should be forbidden after smart_callback_call is called.
|
||||
|
|
|
@ -238,13 +238,13 @@ _timer_cb(void *data)
|
|||
|
||||
ELM_NOTIFY_DATA_GET(obj, sd);
|
||||
|
||||
sd->timer = NULL;
|
||||
if (!evas_object_visible_get(obj)) goto end;
|
||||
|
||||
evas_object_hide(obj);
|
||||
evas_object_smart_callback_call(obj, SIG_TIMEOUT, NULL);
|
||||
|
||||
end:
|
||||
sd->timer = NULL;
|
||||
return ECORE_CALLBACK_CANCEL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue