update guide doc by replacing printf with dlog_print
authorMyoungJune Park <mj2004.park@samsung.com>
Tue, 30 Aug 2016 08:18:17 +0000 (17:18 +0900)
committerMyoungJune Park <mj2004.park@samsung.com>
Tue, 6 Sep 2016 06:54:04 +0000 (15:54 +0900)
Change-Id: Idcc67bce85cee1821053d53a06efae3878adaee9
Signed-off-by: MyoungJune Park <mj2004.park@samsung.com>
org.tizen.guides/html/native/device/settings_n.htm

index d118a86..d884b53 100644 (file)
 void 
 _img_cb(system_settings_key_e key, void *user_data)
 {
-&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;THIS IS CALLED BY USER APPLICATION WHEN THE WALLPAPER CHANGES \n&quot;);
+&nbsp;&nbsp;&nbsp;&nbsp;dlog_print(DLOG_INFO, LOG_TAG, &quot;THIS IS CALLED BY USER APPLICATION WHEN THE WALLPAPER CHANGES \n&quot;);
 }
 
 /* NOTIFIER 1 - Registering a callback function */
@@ -264,7 +264,7 @@ char * path;
 
 /* GETTER */
 system_settings_get_value_string(SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN, &amp;path);
-printf(&quot;path of the current wallpaper is %s \n&quot;, path);
+dlog_print(DLOG_INFO, LOG_TAG, &quot;path of the current wallpaper is %s \n&quot;, path);
 
 /* NOTIFIER 2 - Deregistering a callback function */
 system_settings_unset_changed_cb(SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN);
@@ -435,4 +435,4 @@ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga
 </script>
 
 </body>
-</html>
\ No newline at end of file
+</html>