diff -ur pidgin-libnotify-0.14/src/pidgin-libnotify.c pidgin-libnotify-0.14.new/src/pidgin-libnotify.c --- pidgin-libnotify-0.14/src/pidgin-libnotify.c 2008-12-14 17:45:51.000000000 +0000 +++ pidgin-libnotify-0.14.new/src/pidgin-libnotify.c 2011-03-14 21:09:23.523914000 +0000 @@ -286,7 +286,12 @@ g_free (tr_body); return; } +/* the fourth argument was removed in libnotify 0.7.0 */ +#if !defined(NOTIFY_VERSION_MINOR) || (NOTIFY_VERSION_MAJOR == 0 && NOTIFY_VERSION_MINOR < 7) notification = notify_notification_new (title, tr_body, NULL, NULL); +#else + notification = notify_notification_new (title, tr_body, NULL); +#endif purple_debug_info (PLUGIN_ID, "notify(), new: " "title: '%s', body: '%s', buddy: '%s'\n", title, tr_body, best_name (buddy));