summaryrefslogtreecommitdiff
path: root/notify.c
diff options
context:
space:
mode:
authorfadhil riyanto <me@fadev.org>2024-08-17 21:07:26 +0700
committerfadhil riyanto <me@fadev.org>2024-08-17 21:07:26 +0700
commitb2b2ae0739ed326b1ced41340a199b14776e4193 (patch)
tree7ca350ad8ade0763fd2028462f528f7a2d4f6431 /notify.c
parenta1624a92d01160a046d2042894fa42ab8d8fabfe (diff)
test add libnotify
Signed-off-by: fadhil riyanto <me@fadev.org>
Diffstat (limited to 'notify.c')
-rw-r--r--notify.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/notify.c b/notify.c
new file mode 100644
index 0000000..a657282
--- /dev/null
+++ b/notify.c
@@ -0,0 +1,11 @@
+#include <libnotify/notify.h>
+
+int main(void)
+{
+ NotifyNotification *notif;
+ notify_init("some-name");
+ notif = notify_notification_new("syx", "oke", NULL);
+
+ notify_notification_show(notif, NULL);
+
+} \ No newline at end of file