[libnotify] Add a never expires test case



commit eed6a066cfbea1427f24763e985dd36e23179eec
Author: William Jon McCann <jmccann redhat com>
Date:   Wed Jun 23 23:15:45 2010 -0400

    Add a never expires test case

 tests/test-basic.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/test-basic.c b/tests/test-basic.c
index 88dbe43..073785b 100644
--- a/tests/test-basic.c
+++ b/tests/test-basic.c
@@ -64,7 +64,7 @@ main ()
                                      NULL,
                                      NULL,
                                      NULL);
-        notify_notification_set_timeout (n, 3000);      //3 seconds
+        notify_notification_set_timeout (n, NOTIFY_EXPIRES_NEVER);
 
         if (!notify_notification_show (n, NULL)) {
                 fprintf (stderr, "failed to send notification\n");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]