notification.c (250B)
1 #include "notification.h" 2 3 void send_notification(const char *content) 4 { 5 NotifyNotification *noti = notify_notification_new("Client", content, "dialog-information"); 6 notify_notification_show(noti, NULL); 7 g_object_unref(G_OBJECT(noti)); 8 }