diff options
Diffstat (limited to 'src/notification.c')
-rwxr-xr-x | src/notification.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/notification.c b/src/notification.c index a696ddb..41dce20 100755 --- a/src/notification.c +++ b/src/notification.c @@ -1441,8 +1441,7 @@ static notification_h _notification_create(notification_type_e type) noti->ongoing_flag = false; noti->default_button_index = 0; noti->ongoing_value_type = NOTIFICATION_ONGOING_VALUE_TYPE_PERCENT; - noti->hide_timeout = 0; - noti->delete_timeout = 0; + noti->timeout = 0; noti->event_flag = false; noti->is_translation = false; @@ -1653,8 +1652,7 @@ EXPORT_API int notification_clone(notification_h noti, notification_h *clone) new_noti->ongoing_duration = noti->ongoing_duration; new_noti->auto_remove = noti->auto_remove; new_noti->default_button_index = noti->default_button_index; - new_noti->hide_timeout = noti->hide_timeout; - new_noti->delete_timeout = noti->delete_timeout; + new_noti->timeout = noti->timeout; new_noti->text_input_max_length = noti->text_input_max_length; new_noti->event_flag = noti->event_flag; new_noti->uid = noti->uid; |