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:
WooHyun Jung 2013-01-23 05:29:31 +00:00
parent 2ae92dba30
commit 072ebd0c06
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View File

@ -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;
}