static struct {
char *font_name;
int font_size;
+
+ Eina_List *handle_list;
} s_info = {
.font_name = NULL,
.font_size = -100,
+
+ .handle_list = NULL,
};
static inline double scale_get(void)
return NULL;
}
+ s_info.handle_list = eina_list_append(s_info.handle_list, handle);
+
return handle;
}
handle = _handle;
+ if (!eina_list_data_find(s_info.handle_list, handle)) {
+ DbgPrint("Not found (already deleted?)\n");
+ return LB_STATUS_ERROR_NOT_EXIST;
+ }
+
+ s_info.handle_list = eina_list_remove(s_info.handle_list, handle);
+
edje = eina_list_nth(handle->obj_list, 0);
if (edje)
evas_object_del(edje);
PUBLIC int script_fini(void)
{
int ret;
+ Eina_List *l;
+ Eina_List *n;
+ struct info *handle;
+
+ EINA_LIST_FOREACH_SAFE(s_info.handle_list, l, n, handle) {
+ script_destroy(handle);
+ }
+
ret = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_FONT_SIZE);
- ret = system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_FONT_TYPE);
+ ret = vconf_ignore_key_changed("db/setting/accessibility/font_name", font_changed_cb);
ret = vconf_ignore_key_changed(VCONFKEY_SETAPPL_ACCESSIBILITY_TTS, access_cb);
elm_shutdown();
return LB_STATUS_SUCCESS;