diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-27 01:02:18 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-27 01:02:18 +0200 |
commit | ea0eca4f717d7f4408273613a566f3550d27085b (patch) | |
tree | b1c1fa062823bb36bbd8bb9dab6437c83c229eec /src/jo_n_notify.c | |
parent | Makefile change (diff) | |
download | lowbat-bsd-ea0eca4f717d7f4408273613a566f3550d27085b.tar.gz lowbat-bsd-ea0eca4f717d7f4408273613a566f3550d27085b.tar.bz2 lowbat-bsd-ea0eca4f717d7f4408273613a566f3550d27085b.tar.xz lowbat-bsd-ea0eca4f717d7f4408273613a566f3550d27085b.tar.zst lowbat-bsd-ea0eca4f717d7f4408273613a566f3550d27085b.zip |
Rewrite started
Diffstat (limited to 'src/jo_n_notify.c')
-rw-r--r-- | src/jo_n_notify.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/jo_n_notify.c b/src/jo_n_notify.c deleted file mode 100644 index f98ea1d..0000000 --- a/src/jo_n_notify.c +++ /dev/null @@ -1,31 +0,0 @@ -/****************************************************************************************/ -/* */ -/* File : jo_n_notify.c /_________/ */ -/* Author : Joe | */ -/* Date : 04/2020 | */ -/* Info : Uses libnotify lib to notify | */ -/* / | */ -/* \ / */ -/* \_____/ */ -/* */ -/****************************************************************************************/ - -#include <jo_n_notify.h> - -void -jo_n_notify -(const char head[], - const char body[], - NotifyUrgency u, - int32_t t) -{ - NotifyNotification *n; - - notify_init(JO_LOWBAT); - n = notify_notification_new(head, body, NULL); - notify_notification_set_urgency(n, u); - notify_notification_set_timeout(n, t); - notify_notification_show(n, NULL); - notify_uninit(); - n = NULL; -} |