summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseungha.son <seungha.son@samsung.com>2016-05-19 13:59:42 +0900
committerseungha.son <seungha.son@samsung.com>2016-05-19 14:16:00 +0900
commit9e4289766a0d4a01bc203e06bb903c0b5bc4fd84 (patch)
treebaffaa3cc6a86b372fe2c50736e6bebd7e60ada8
parent16fb0526e3d5948af69026b8a5f791b6e45a0dde (diff)
downloadnotification-9e4289766a0d4a01bc203e06bb903c0b5bc4fd84.tar.gz
notification-9e4289766a0d4a01bc203e06bb903c0b5bc4fd84.tar.bz2
notification-9e4289766a0d4a01bc203e06bb903c0b5bc4fd84.zip
Delete auto_remove condiotinal statement.
Signed-off-by: seungha.son <seungha.son@samsung.com> Change-Id: I929a578faa7e7e548fa327e1432480154eebb306
-rwxr-xr-xsrc/notification_ipc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/notification_ipc.c b/src/notification_ipc.c
index 9062ac6..f412bd7 100755
--- a/src/notification_ipc.c
+++ b/src/notification_ipc.c
@@ -1427,8 +1427,8 @@ EXPORT_API GVariant *notification_ipc_make_gvariant_from_noti(notification_h not
if (noti->ongoing_flag != 0)
g_variant_builder_add(&builder, "{iv}", NOTIFICATION_DATA_TYPE_ONGOING_FLAG, g_variant_new_int32(noti->ongoing_flag));
- if (noti->auto_remove != 0)
- g_variant_builder_add(&builder, "{iv}", NOTIFICATION_DATA_TYPE_AUTO_REMOVE, g_variant_new_int32(noti->auto_remove));
+
+ g_variant_builder_add(&builder, "{iv}", NOTIFICATION_DATA_TYPE_AUTO_REMOVE, g_variant_new_int32(noti->auto_remove));
result_body = g_variant_builder_end(&builder);
body = g_variant_new("(v)", result_body);