modify description because of changing enum type
authorJunghoon, Park <jh9216.park@samsung.com>
Wed, 29 Jul 2015 02:05:27 +0000 (11:05 +0900)
committerJunghoon, Park <jh9216.park@samsung.com>
Wed, 29 Jul 2015 02:05:27 +0000 (11:05 +0900)
Change-Id: Ibfe1d58a51403b1718c9e6d3644fae3c50a42b3c
Signed-off-by: Junghoon, Park <jh9216.park@samsung.com>
org.tizen.tutorials/html/native/app_framework/widget_tutorial_n.htm

index 1d2ed1f..973fde0 100644 (file)
@@ -200,11 +200,11 @@ int widget_instance_create(widget_context_h context, bundle *content, int w, int
 </li>
 
 <li>This callback is triggered when the widget instance is destroyed. 
-<p>Release all widget resources. If the <span style="font-family: Courier New,Courier,monospace">reason</span> for the termination is not <span style="font-family: Courier New,Courier,monospace">WIDGET_APP_DESTROY_TYPE_DEFAULT</span>, store the current status with the incoming bundle.</p>
+<p>Release all widget resources. If the <span style="font-family: Courier New,Courier,monospace">reason</span> for the termination is not <span style="font-family: Courier New,Courier,monospace">WIDGET_APP_DESTROY_TYPE_PERMANENT</span>, store the current status with the incoming bundle.</p>
 <pre class="prettyprint">
 int widget_instance_destroy(widget_context_h context, widget_app_destroy_type_e reason, bundle *content, void *user_data)
 {
-&nbsp;&nbsp;&nbsp;if (reason != WIDGET_APP_DESTROY_TYPE_DEFAULT) 
+&nbsp;&nbsp;&nbsp;if (reason != WIDGET_APP_DESTROY_TYPE_PERMANENT) 
 &nbsp;&nbsp;&nbsp;{
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Save the current status at the bundle object
 &nbsp;&nbsp;&nbsp;}