mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-16 23:19:31 +00:00
Sorry this took so long, and thank you to the users who contributed fixes. This has always been a tricky package, but hopefully we won't have to go through this amount of change again. Unfortunately, Boost 1.87 is still required for now. I tried to port it to 1.88, but Sunshine uses parts of boost::process that just aren't there anymore. I'll send what I have so far upstream shortly. Bug: https://bugs.gentoo.org/955560 Bug: https://bugs.gentoo.org/956631 Closes: https://bugs.gentoo.org/947046 Closes: https://bugs.gentoo.org/951973 Closes: https://bugs.gentoo.org/956006 Closes: https://github.com/gentoo/gentoo/pull/42477 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
11 lines
750 B
Diff
11 lines
750 B
Diff
--- a/third-party/tray/src/tray_linux.c
|
|
+++ b/third-party/tray/src/tray_linux.c
|
|
@@ -100,7 +100,7 @@ static gboolean tray_update_internal(gpointer user_data) {
|
|
currentNotification = notify_notification_new(tray->notification_title, tray->notification_text, notification_icon);
|
|
if (currentNotification != NULL && NOTIFY_IS_NOTIFICATION(currentNotification)) {
|
|
if (tray->notification_cb != NULL) {
|
|
- notify_notification_add_action(currentNotification, "default", "Default", tray->notification_cb, NULL, NULL);
|
|
+ notify_notification_add_action(currentNotification, "default", "Default", NOTIFY_ACTION_CALLBACK(tray->notification_cb), NULL, NULL);
|
|
}
|
|
notify_notification_show(currentNotification, NULL);
|
|
}
|