1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Backward compatibility for libnotify pre 0.7.0

This commit is contained in:
James Booth 2012-06-29 00:47:14 +01:00
parent 0d9cb61bcd
commit 9e686c0e01

View File

@ -45,6 +45,10 @@ typedef enum {
#define g_slist_free_full(items, free_func) p_slist_free_full(items, free_func)
#endif
#ifndef NOTIFY_CHECK_VERSION
#define notify_notification_new(summary, body, icon) notify_notification_new(summary, body, icon, NULL)
#endif
void p_slist_free_full(GSList *items, GDestroyNotify free_func);
#endif