diff options
-rwxr-xr-x | include/badge.h | 14 | ||||
-rwxr-xr-x | include/badge_internal.h | 4 |
2 files changed, 9 insertions, 9 deletions
diff --git a/include/badge.h b/include/badge.h index 7414de0..db114e6 100755 --- a/include/badge.h +++ b/include/badge.h @@ -65,7 +65,7 @@ extern "C" { int err = BADGE_ERROR_NONE; err = badge_new(app_id); - if(err != BADGE_ERROR_NONE) { + if (err != BADGE_ERROR_NONE) { return; } @@ -97,7 +97,7 @@ int badge_new(const char *writable_app_id) TIZEN_DEPRECATED_API; int err = BADGE_ERROR_NONE; err = badge_add("org.tizen.email"); - if(err != BADGE_ERROR_NONE) { + if (err != BADGE_ERROR_NONE) { return; } } @@ -127,7 +127,7 @@ int badge_add(const char *badge_app_id); int err = BADGE_ERROR_NONE; err = badge_remove(app_id); - if(err != BADGE_ERROR_NONE) { + if (err != BADGE_ERROR_NONE) { return; } @@ -159,7 +159,7 @@ int badge_remove(const char *app_id); int err = BADGE_ERROR_NONE; err = badge_set_count(app_id, 1); - if(err != BADGE_ERROR_NONE) { + if (err != BADGE_ERROR_NONE) { return; } @@ -194,7 +194,7 @@ int badge_set_count(const char *app_id, unsigned int count); int count = 0; err = badge_get_count(app_id, &count); - if(err != BADGE_ERROR_NONE) { + if (err != BADGE_ERROR_NONE) { return; } @@ -226,7 +226,7 @@ int badge_get_count(const char *app_id, unsigned int *count); int err = BADGE_ERROR_NONE; err = badge_set_display(app_id, 1); - if(err != BADGE_ERROR_NONE) { + if (err != BADGE_ERROR_NONE) { return; } @@ -262,7 +262,7 @@ int badge_set_display(const char *app_id, unsigned int is_display); int err = BADGE_ERROR_NONE; err = badge_get_display(app_id, &is_display); - if(err != BADGE_ERROR_NONE) { + if (err != BADGE_ERROR_NONE) { return; } diff --git a/include/badge_internal.h b/include/badge_internal.h index c007cb0..c140944 100755 --- a/include/badge_internal.h +++ b/include/badge_internal.h @@ -129,7 +129,7 @@ int badge_del_deferred_task( bool exist; err = badge_is_existing(app_id, &exist); - if(err != BADGE_ERROR_NONE) { + if (err != BADGE_ERROR_NONE) { return; } @@ -195,7 +195,7 @@ void badge_changed_cb_call(unsigned int action, const char *pkgname, int err = BADGE_ERROR_NONE; err = badge_create("org.tizen.sms", "org.tizen.sms2"); - if(err != BADGE_ERROR_NONE) { + if (err != BADGE_ERROR_NONE) { return; } |