/* * (C) 2016 by Christian Hesse * * This software may be used and distributed according to the terms * of the GNU General Public License, incorporated herein by reference. * * This is an example code skeleton provided by vim-skeleton. */ #include #include #include int main(int argc, char **argv) { NotifyNotification *n; notify_init("Test"); n = notify_notification_new ("Summary", "Body", NULL); notify_notification_set_timeout(n, 1500); notify_notification_show (n, NULL); sleep(1); notify_notification_update(n, "Test Timeout", "Body", NULL); notify_notification_set_timeout(n, 10000); notify_notification_show (n, NULL); return EXIT_SUCCESS; } // vim: set syntax=c: