* @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
/**
* @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)
/**
* @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
/**
* @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
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}'`