openbsd-ports/mail/claws-mail-notification/patches/patch-src_notification_popup_c
ajacoutot 6d01c2069a Fix build/run with new libnotify.
tested in a bulk by landry, thanks!
ok landry@ jasper@
2011-04-21 07:04:56 +00:00

17 lines
652 B
Plaintext

$OpenBSD: patch-src_notification_popup_c,v 1.1 2011/04/21 07:05:36 ajacoutot Exp $
Fix with libnotify>=0.7
(notify_notification_new has lost its widget argument)
--- src/notification_popup.c.orig Tue Apr 19 14:20:58 2011
+++ src/notification_popup.c Tue Apr 19 14:21:06 2011
@@ -339,7 +339,7 @@ static gboolean notification_libnotify_create(MsgInfo
break;
}
- ppopup->notification = notify_notification_new(summary, utf8_str, NULL, NULL);
+ ppopup->notification = notify_notification_new(summary, utf8_str, NULL);
g_free(utf8_str);
if(ppopup->notification == NULL) {
debug_print("Notification Plugin: Failed to create a new "