Fix wrong notification handle initialization 80/89380/1
authorseungha.son <seungha.son@samsung.com>
Fri, 23 Sep 2016 08:37:18 +0000 (17:37 +0900)
committerseungha.son <seungha.son@samsung.com>
Fri, 23 Sep 2016 08:40:25 +0000 (17:40 +0900)
Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I70db7c704c91cfff986a0b84aea501664c0c8b1d

src/notification.c

index ccb3b62..3093a4e 100755 (executable)
@@ -1429,7 +1429,7 @@ static notification_h _notification_create(notification_type_e type)
        noti->auto_remove = true;
        noti->ongoing_flag = false;
        noti->default_button_index = 0;
-       noti->type = NOTIFICATION_ONGOING_VALUE_TYPE_PERCENT;
+       noti->ongoing_value_type = NOTIFICATION_ONGOING_VALUE_TYPE_PERCENT;
        noti->timeout = 0;
        noti->event_flag = false;