summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoyoun Kang <doyoun.kang@samsung.com>2017-03-15 17:39:04 +0900
committerDoyoun Kang <doyoun.kang@samsung.com>2017-03-15 17:39:04 +0900
commit64e86ce209de571e2dce5f660a48b29745276654 (patch)
tree4dceba88243720be65bb960b6097296d8526ff92
parentf83387e9ed80df081ce4871da7a5b4533b8e937e (diff)
downloadefl-util-64e86ce209de571e2dce5f660a48b29745276654.tar.gz
efl-util-64e86ce209de571e2dce5f660a48b29745276654.tar.bz2
efl-util-64e86ce209de571e2dce5f660a48b29745276654.zip
fixed some documentation
Change-Id: Ib4effab55abb857fb4277a379906a5bfb006814d
-rw-r--r--include/efl_util.h.in7
-rw-r--r--packaging/capi-ui-efl-util.spec1
2 files changed, 3 insertions, 5 deletions
diff --git a/include/efl_util.h.in b/include/efl_util.h.in
index ff3df31..0fbaa14 100644
--- a/include/efl_util.h.in
+++ b/include/efl_util.h.in
@@ -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
diff --git a/packaging/capi-ui-efl-util.spec b/packaging/capi-ui-efl-util.spec
index bf75a96..4c4012b 100644
--- a/packaging/capi-ui-efl-util.spec
+++ b/packaging/capi-ui-efl-util.spec
@@ -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}'`