From 797a5aa367dd07def9bb333bc10b84c7c3b9ae50 Mon Sep 17 00:00:00 2001 From: "seungha.son" Date: Tue, 20 Sep 2016 11:51:39 +0900 Subject: [PATCH] Fix wrong function naming Signed-off-by: seungha.son Change-Id: Icc978ec9d9dd39f59027745362004b9a910776a4 --- include/notification_internal.h | 8 ++++---- 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; -- 2.7.4