Actually set the expires flag in the notification handle so we don't just kill off all notifications as soon as we create them and exit.

This commit is contained in:
Christian Hammond 2005-07-27 09:14:42 +00:00
parent bd4f01f033
commit a6949ef276
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,10 @@
Wed Jul 27 02:12:31 PDT 2005 Christian Hammond <chipx86@chipx86.com>
* libnotify/notify.c:
- Actually set the expires flag in the notification handle so we
don't just kill off all notifications as soon as we create them
and exit.
Wed Jul 27 01:47:25 PDT 2005 Christian Hammond <chipx86@chipx86.com> Wed Jul 27 01:47:25 PDT 2005 Christian Hammond <chipx86@chipx86.com>
* libnotify/notify.c: * libnotify/notify.c:

View File

@ -937,7 +937,8 @@ notify_send_notification_varg(NotifyHandle *replaces, const char *type,
handle = _notify_handle_new(id); handle = _notify_handle_new(id);
handle->actions_table = table; handle->actions_table = table;
handle->action_count = action_count; handle->action_count = action_count;
handle->user_data = user_data; handle->user_data = user_data;
handle->expires = expires;
return handle; return handle;
} }