fixed some documentation 47/119047/1
authorDoyoun Kang <doyoun.kang@samsung.com>
Wed, 15 Mar 2017 08:39:04 +0000 (17:39 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Wed, 15 Mar 2017 08:39:04 +0000 (17:39 +0900)
Change-Id: Ib4effab55abb857fb4277a379906a5bfb006814d

include/efl_util.h.in
packaging/capi-ui-efl-util.spec

index ff3df31..0fbaa14 100644 (file)
@@ -191,7 +191,6 @@ API int efl_util_set_window_opaque_state(Evas_Object *window, int opaque);
  * @privilege %http://tizen.org/privilege/display
  * @remarks This API needs the privilege.
  *          If the application which is not get the privilege use this API, the window manager generates the permission deny error.
- *          The application can notice this error if it set the callback function using the efl_util_set_window_screen_mode_error_cb() (non-wearable only).
  * @param[in] window The EFL window
  * @param[in] mode The screen mode
  * @return @c 0 on success, otherwise a negative error value
@@ -215,7 +214,7 @@ API int efl_util_get_window_screen_mode(Evas_Object *window, efl_util_screen_mod
 /**
  * @deprecated Deprecated since 3.0.
  * @brief Called when an error occurs for setting window's screen mode
- * @since_tizen $TZ_CFG_NONWEARABLE_24
+ * @since_tizen 2.4
  * @remarks An application can check error by the return value of efl_util_set_window_screen_mode since 3.0.
  * @param[in] window The EFL window
  * @param[in] error_code The error code (#EFL_UTIL_ERROR_PERMISSION_DENIED)
@@ -228,7 +227,7 @@ typedef void (*efl_util_window_screen_mode_error_cb)(Evas_Object *window, int er
 /**
  * @deprecated Deprecated since 3.0. Use the return value of efl_util_set_window_screen_mode() instead.
  * @brief Registers a callback function to be invoked when an error which set the screen mode.
- * @since_tizen $TZ_CFG_NONWEARABLE_24
+ * @since_tizen 2.4
  * @remarks An application can check error by the return value of efl_util_set_window_screen_mode since 3.0.
  * @param[in] window The EFL window
  * @param[in] callback The callback function to register
@@ -246,7 +245,7 @@ API int efl_util_set_window_screen_mode_error_cb(Evas_Object *window, efl_util_w
 /**
  * @deprecated Deprecated since 3.0. Use the return value of efl_util_set_window_screen_mode() instead.
  * @brief Unregisters the callback function.
- * @since_tizen $TZ_CFG_NONWEARABLE_24
+ * @since_tizen 2.4
  * @remarks An application can check error by the return value of efl_util_set_window_screen_mode since 3.0.
  * @param[in] window The EFL window
  * @return @c 0 on success, otherwise a negative error value
index bf75a96..4c4012b 100644 (file)
@@ -40,7 +40,6 @@ cp %{SOURCE1001} .
 cp -a include/efl_util.h.in include/efl_util.h
 sed -i 's/\$TZ_CFG_VER_24_OR_30\$/@if WEARABLE 3.0 @else 2.4 @endif/g'    include/efl_util.h
 sed -i 's/\$TZ_CFG_VER_24_OR_231\$/@if WEARABLE 2.3.1 @else 2.4 @endif/g'   include/efl_util.h
-sed -i 's/\$TZ_CFG_NONWEARABLE_24\$/@if WEARABLE @else 2.4 @endif/g'   include/efl_util.h
 
 %build
 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`