elementary/naviframe - don't access data after user callback function. because they can delete widget itself.

SVN revision: 81141
This commit is contained in:
ChunEon Park 2012-12-17 14:05:13 +00:00
parent e257f49885
commit ee5a6cf126
3 changed files with 7 additions and 2 deletions

View File

@ -818,3 +818,7 @@
2012-12-17 Chueon Park (Hermet)
* Fix the popup that returned invalid action buttons.
2012-12-17 Chueon Park (Hermet)
* Makes naviframe safety even if someone deletes the naviframe in transition finished cb.

View File

@ -94,6 +94,7 @@ Fixes:
* Now, dummy object is always smart member of naviframe.
* Fix naviframe's resize object problem when item was deleted.
* Fix the popup that returned invalid action buttons.
* Fix the naviframe to not have crash even if user deletes the naviframe in the transition finished cb.
Removals:

View File

@ -1059,10 +1059,10 @@ _on_item_show_finished(void *data,
elm_widget_tree_unfocusable_set(it->content, it->content_unfocusable);
evas_object_smart_callback_call(WIDGET(it), SIG_TRANSITION_FINISHED, data);
if (sd->freeze_events)
evas_object_freeze_events_set(VIEW(it), EINA_FALSE);
evas_object_smart_callback_call(WIDGET(it), SIG_TRANSITION_FINISHED, data);
}
static void