diff options
author | James Booth <boothj5@gmail.com> | 2012-06-29 00:47:14 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2012-06-29 00:47:14 +0100 |
commit | 9e686c0e01520c238b53b5620f936cebc7d5ba88 (patch) | |
tree | 6e23ee46d1811fb9df4adc59c81c99411ee2eed3 | |
parent | 0d9cb61bcdd48cc241027b3844e4b3b21b26b1c5 (diff) | |
download | profani-tty-9e686c0e01520c238b53b5620f936cebc7d5ba88.tar.gz |
Backward compatibility for libnotify pre 0.7.0
-rw-r--r-- | common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common.h b/common.h index 21f55bd0..043e2925 100644 --- a/common.h +++ b/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 |