Set the second, replaced notification to have a default expiration.

This commit is contained in:
Christian Hammond 2006-04-26 08:07:54 +00:00
parent d5bc37978f
commit 0e1236f8c6
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Wed Apr 26 01:07:34 PDT 2006 Christian Hammond <chipx86@chipx86.com>
* tests/test-replace.c:
- Set the second, replaced notification to have a default expiration.
Tue Apr 25 23:52:42 PDT 2006 Christian Hammond <chipx86@chipx86.com> Tue Apr 25 23:52:42 PDT 2006 Christian Hammond <chipx86@chipx86.com>
* libnotify/Makefile.am: * libnotify/Makefile.am:

View File

@ -29,6 +29,7 @@ int main() {
notify_notification_update (n, "Second Summary", notify_notification_update (n, "Second Summary",
"First mesage was replaced", NULL); "First mesage was replaced", NULL);
notify_notification_set_timeout (n, NOTIFY_EXPIRES_DEFAULT);
if (!notify_notification_show (n, &error)) { if (!notify_notification_show (n, &error)) {
fprintf(stderr, "failed to send notification: %s\n", error->message); fprintf(stderr, "failed to send notification: %s\n", error->message);