elementary/naviframe - don't access data after user callback function. because they...
authorChunEon Park <hermet@hermet.pe.kr>
Mon, 17 Dec 2012 14:05:13 +0000 (14:05 +0000)
committerChunEon Park <hermet@hermet.pe.kr>
Mon, 17 Dec 2012 14:05:13 +0000 (14:05 +0000)
SVN revision: 81141

legacy/elementary/ChangeLog
legacy/elementary/NEWS
legacy/elementary/src/lib/elc_naviframe.c

index 5946cc2..837eed1 100644 (file)
 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.
index 93e900f..ce0e66d 100644 (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:
 
index 1fb2e32..cf3e873 100644 (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