mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-19 01:26:21 +00:00
Backward compatibility for libnotify pre 0.7.0
This commit is contained in:
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)
|
||||
#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
|
||||
|
||||
Reference in New Issue
Block a user