summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseungha.son <seungha.son@samsung.com>2016-09-07 09:11:54 +0900
committerseungha.son <seungha.son@samsung.com>2016-09-07 09:12:31 +0900
commit159284db3ff2b4bac84c6ff1e1a28b84f97ae088 (patch)
tree4f6cc34a0ad9a2915db5116f77f67514b3c4c68f
parent6bbe3fa7812c478356b746d67e769db273fd102a (diff)
downloadbadge-159284db3ff2b4bac84c6ff1e1a28b84f97ae088.tar.gz
badge-159284db3ff2b4bac84c6ff1e1a28b84f97ae088.tar.bz2
badge-159284db3ff2b4bac84c6ff1e1a28b84f97ae088.zip
Signed-off-by: seungha.son <seungha.son@samsung.com> Change-Id: Ifdb97435dc5c4299be1111a9064768f1527b2e2c
-rwxr-xr-xinclude/badge.h14
-rwxr-xr-xinclude/badge_internal.h4
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;
}