From bf69959df3783f311c5ae27e05a9b7b1a0b54694 Mon Sep 17 00:00:00 2001 From: Daehyeon Jung Date: Fri, 8 Apr 2016 18:00:03 +0900 Subject: [PATCH] Fix widget_app_destroy_type_e Change-Id: I77c1fb8a1e6db6138d08285ff9f1c97d87ffb582 --- include/widget_app.h | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/include/widget_app.h b/include/widget_app.h index 3c935cd..3b49868 100755 --- a/include/widget_app.h +++ b/include/widget_app.h @@ -38,13 +38,8 @@ extern "C" { * @since_tizen 2.3.1 */ typedef enum widget_app_destroy_type { - WIDGET_APP_DESTROY_TYPE_DEFAULT = 0x00, /**< Deleted */ - WIDGET_APP_DESTROY_TYPE_UPGRADE = 0x01, /**< Deleted for upgrading */ - WIDGET_APP_DESTROY_TYPE_UNINSTALL = 0x02, /**< Deleted by uninstalling */ - WIDGET_APP_DESTROY_TYPE_TERMINATE = 0x03, /**< Deleted for reboot device */ - WIDGET_APP_DESTROY_TYPE_FAULT = 0x04, /**< Deleted by system-fault */ - WIDGET_APP_DESTROY_TYPE_TEMPORARY = 0x05, /**< Temporarly deleted, will be created again */ - WIDGET_APP_DESTROY_TYPE_UNKNOWN = 0x06 /**< Undefined reason */ + WIDGET_APP_DESTROY_TYPE_PERMANENT = 0x00, /* User deleted this widget from the viewer */ + WIDGET_APP_DESTROY_TYPE_TEMPORARY = 0x01, /* Widget is deleted because of other reasons (e.g. widget process is terminated temporarily by the system) */ } widget_app_destroy_type_e; /**< Delete type */ /** @@ -83,7 +78,7 @@ typedef int (*widget_instance_create_cb)(widget_context_h context, bundle *conte * * @details The callback function is called before widget instance is destroyed. * In this callback, you can finalize resources for this instance. - * If reason is not #WIDGET_APP_DESTROY_TYPE_DEFAULT, It should store the current status by using incoming bundle. + * If reason is not #WIDGET_APP_DESTROY_TYPE_TEMPORARY, It should store the current status by using incoming bundle. * * @param[in] context The context of widget instance. * @param[in] reason The reason for destruction -- 2.7.4