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:
parent
0d9cb61bcd
commit
9e686c0e01
4
common.h
4
common.h
@ -45,6 +45,10 @@ typedef enum {
|
|||||||
#define g_slist_free_full(items, free_func) p_slist_free_full(items, free_func)
|
#define g_slist_free_full(items, free_func) p_slist_free_full(items, free_func)
|
||||||
#endif
|
#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);
|
void p_slist_free_full(GSList *items, GDestroyNotify free_func);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user