Set libnotify icon

This commit is contained in:
yangfl 2020-10-01 04:40:19 +08:00
parent 22294ec9b0
commit 8ce6de6d8e

View file

@ -16,7 +16,7 @@ void NotificationsUninit()
} }
void NotificationsNotify(const char *pTitle, const char *pMessage) void NotificationsNotify(const char *pTitle, const char *pMessage)
{ {
NotifyNotification *pNotif = notify_notification_new(pTitle, pMessage, NULL); NotifyNotification *pNotif = notify_notification_new(pTitle, pMessage, "ddnet");
notify_notification_show(pNotif, NULL); notify_notification_show(pNotif, NULL);
g_object_unref(G_OBJECT(pNotif)); g_object_unref(G_OBJECT(pNotif));
} }