mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
Package-Manager: Portage-2.3.40, Repoman-2.3.9 Closes: https://github.com/gentoo/gentoo/pull/8649
19 lines
559 B
Diff
19 lines
559 B
Diff
--- a/src/pidgin-libnotify.c
|
|
+++ b/src/pidgin-libnotify.c
|
|
@@ -286,7 +286,15 @@
|
|
g_free (tr_body);
|
|
return;
|
|
}
|
|
+#ifdef NOTIFY_CHECK_VERSION
|
|
+#if NOTIFY_CHECK_VERSION (0, 7, 0)
|
|
+ notification = notify_notification_new (title, tr_body, NULL);
|
|
+#else
|
|
notification = notify_notification_new (title, tr_body, NULL, NULL);
|
|
+#endif
|
|
+#else
|
|
+ notification = notify_notification_new (title, tr_body, NULL, NULL);
|
|
+#endif
|
|
purple_debug_info (PLUGIN_ID, "notify(), new: "
|
|
"title: '%s', body: '%s', buddy: '%s'\n",
|
|
title, tr_body, best_name (buddy));
|