diff options
author | seungha.son <seungha.son@samsung.com> | 2016-09-20 11:51:39 +0900 |
---|---|---|
committer | seungha.son <seungha.son@samsung.com> | 2016-09-20 12:55:57 +0900 |
commit | 797a5aa367dd07def9bb333bc10b84c7c3b9ae50 (patch) | |
tree | becc494300b890d3b0d3037a0e7a30dc8e2f6e8b | |
parent | 1a3acd7e3f047f73df92142433a35e53dc5e8ab7 (diff) | |
download | notification-797a5aa367dd07def9bb333bc10b84c7c3b9ae50.tar.gz notification-797a5aa367dd07def9bb333bc10b84c7c3b9ae50.tar.bz2 notification-797a5aa367dd07def9bb333bc10b84c7c3b9ae50.zip |
Fix wrong function naming
Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: Icc978ec9d9dd39f59027745362004b9a910776a4
-rw-r--r-- | include/notification_internal.h | 8 | ||||
-rwxr-xr-x | src/notification_internal.c | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/include/notification_internal.h b/include/notification_internal.h index e90cd7d..cce350b 100644 --- a/include/notification_internal.h +++ b/include/notification_internal.h @@ -921,7 +921,7 @@ int notification_set_ongoing_value_type(notification_h noti, notification_ongoin } * @endcode */ -int nofication_get_ongoing_time(notification_h noti, int *current, int *duration); +int notification_get_ongoing_time(notification_h noti, int *current, int *duration); /** * @brief Sets the notification ongoing time when ongoint type value is set NOTIFICATION_ONGOING_VALUE_TYPE_TIME. @@ -961,7 +961,7 @@ int nofication_get_ongoing_time(notification_h noti, int *current, int *duration } * @endcode */ -int nofication_set_ongoing_time(notification_h noti, int current, int duration); +int notification_set_ongoing_time(notification_h noti, int current, int duration); /** * @brief Gets the time that notification is hidden. @@ -996,7 +996,7 @@ int nofication_set_ongoing_time(notification_h noti, int current, int duration); } * @endcode */ -int nofication_get_hide_timeout(notification_h noti, int *timeout); +int notification_get_hide_timeout(notification_h noti, int *timeout); /** * @brief Sets the time that notification is hidden. @@ -1030,7 +1030,7 @@ int nofication_get_hide_timeout(notification_h noti, int *timeout); } * @endcode */ -int nofication_set_hide_timeout(notification_h noti, int timeout); +int notification_set_hide_timeout(notification_h noti, int timeout); /** * @brief This function translate localized texts diff --git a/src/notification_internal.c b/src/notification_internal.c index 39a37d7..f3e400f 100755 --- a/src/notification_internal.c +++ b/src/notification_internal.c @@ -1354,7 +1354,7 @@ EXPORT_API int notification_set_ongoing_value_type(notification_h noti, notifica return NOTIFICATION_ERROR_NONE; } -EXPORT_API int nofication_get_ongoing_time(notification_h noti, int *current, int *duration) +EXPORT_API int notification_get_ongoing_time(notification_h noti, int *current, int *duration) { if (noti == NULL || current == NULL || duration == NULL) return NOTIFICATION_ERROR_INVALID_PARAMETER; @@ -1376,7 +1376,7 @@ EXPORT_API int notification_set_ongoing_time(notification_h noti, int current, i return NOTIFICATION_ERROR_NONE; } -EXPORT_API int nofication_get_hide_timeout(notification_h noti, int *timeout) +EXPORT_API int notification_get_hide_timeout(notification_h noti, int *timeout) { if (noti == NULL || timeout == NULL) return NOTIFICATION_ERROR_INVALID_PARAMETER; @@ -1386,7 +1386,7 @@ EXPORT_API int nofication_get_hide_timeout(notification_h noti, int *timeout) return NOTIFICATION_ERROR_NONE; } -EXPORT_API int nofication_set_hide_timeout(notification_h noti, int timeout) +EXPORT_API int notification_set_hide_timeout(notification_h noti, int timeout) { if (noti == NULL) return NOTIFICATION_ERROR_INVALID_PARAMETER; |