First of all, it is the correct way to use of timer.
If a toolkit does not support the default label,
then it is not able to make an object have focus (highlight)
because app_tracker_context_valid_check in _focus_widget returns
APP_TRACKER_CONTEXT_NOT_VALID.
Change-Id: I6b2db7b8afd7598d63820121725ac11a22281be0
if (!atd->root || object_has_defunct_state(atd->root)) {
ERROR("Cannot rebuild navigation context. Active window is defunct.");
- return FALSE;
+ goto end;
}
if (atd->view_content_changed_ecd && atd->view_content_changed_ecd->func) {
if (!dli) {
ERROR("Default label info is NULL!");
- return FALSE;
+ goto end;
}
WindowActivateInfoType window_activate_info_type =
g_object_unref(dli->obj);
g_free(dli);
}
+
+end:
atd->timer = 0;
DEBUG("END");
return FALSE;