diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2013-11-16 20:09:18 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-16 13:58:39 -0600 |
commit | 47a98f7eae0d072914b21b8e5f8c1dbd75640e5e (patch) | |
tree | be8263e3c726277d9202fe694a2af2aa699aeaec /desktop/pidgin-libnotify/pidgin-libnotify-0.14-libnotify-0.7.patch | |
parent | d51cbb07a79a1dbc544180fab045d310f7ec59fc (diff) |
desktop/pidgin-libnotify: Added a patch for the newer libnotify.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'desktop/pidgin-libnotify/pidgin-libnotify-0.14-libnotify-0.7.patch')
-rw-r--r-- | desktop/pidgin-libnotify/pidgin-libnotify-0.14-libnotify-0.7.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/desktop/pidgin-libnotify/pidgin-libnotify-0.14-libnotify-0.7.patch b/desktop/pidgin-libnotify/pidgin-libnotify-0.14-libnotify-0.7.patch new file mode 100644 index 000000000000..40e6c02b8152 --- /dev/null +++ b/desktop/pidgin-libnotify/pidgin-libnotify-0.14-libnotify-0.7.patch @@ -0,0 +1,18 @@ +--- src/pidgin-libnotify.c ++++ src/pidgin-libnotify.c +@@ -286,7 +286,15 @@ + g_free (tr_body); + return; + } ++#ifdef NOTIFY_CHECK_VERSION ++#if NOTIFY_CHECK_VERSION (0, 7, 0) ++ notification = notify_notification_new (title, tr_body, NULL); ++#else + notification = notify_notification_new (title, tr_body, NULL, NULL); ++#endif ++#else ++ notification = notify_notification_new (title, tr_body, NULL, NULL); ++#endif + purple_debug_info (PLUGIN_ID, "notify(), new: " + "title: '%s', body: '%s', buddy: '%s'\n", + title, tr_body, best_name (buddy)); |