diff options
author | Michael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com> | 2017-01-06 10:01:43 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-01-15 10:46:56 +0100 |
commit | f1b03b60bea6a9bdb3aa0487a9c4084e9752784b (patch) | |
tree | 43809dc0c9319a548665ba22f74f0e30c56854f5 /media-sound | |
parent | media-plugins/gimp-lqr: remove unused patch (diff) | |
download | gentoo-f1b03b60bea6a9bdb3aa0487a9c4084e9752784b.tar.gz gentoo-f1b03b60bea6a9bdb3aa0487a9c4084e9752784b.tar.bz2 gentoo-f1b03b60bea6a9bdb3aa0487a9c4084e9752784b.zip |
media-sound/lxmusic: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/3343
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/lxmusic/files/lxmusic-0.4.5-libnotify-0.7.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/media-sound/lxmusic/files/lxmusic-0.4.5-libnotify-0.7.patch b/media-sound/lxmusic/files/lxmusic-0.4.5-libnotify-0.7.patch deleted file mode 100644 index 01f513de4c3a..000000000000 --- a/media-sound/lxmusic/files/lxmusic-0.4.5-libnotify-0.7.patch +++ /dev/null @@ -1,27 +0,0 @@ -Upstream: -https://sourceforge.net/tracker/?func=detail&aid=3529198&group_id=180858&atid=894869 -Index: lxmusic-0.4.5/src/lxmusic-notify.c -=================================================================== ---- lxmusic-0.4.5.orig/src/lxmusic-notify.c -+++ lxmusic-0.4.5/src/lxmusic-notify.c -@@ -84,9 +84,20 @@ LXMusicNotification lxmusic_do_notify_pr - else - g_string_append( message, title ); - struct _LXMusicNotification *lxn = g_new ( struct _LXMusicNotification, 1); -+#ifdef NOTIFY_CHECK_VERSION -+#if NOTIFY_CHECK_VERSION (0, 7, 0) -+ lxn->notify = notify_notification_new (summary, message->str, NULL); -+#else - lxn->notify = notify_notification_new (summary, message->str, NULL, NULL); -+#endif -+#else -+ lxn->notify = notify_notification_new (summary, message->str, NULL, NULL); -+#endif - notify_notification_set_urgency (lxn->notify, NOTIFY_URGENCY_NORMAL); -+#if !defined(NOTIFY_VERSION_MINOR) || (NOTIFY_VERSION_MAJOR == 0 && NOTIFY_VERSION_MINOR < 7) -+ notify_notification_attach_to_status_icon(notify, priv->statusIcon); - notify_notification_attach_to_status_icon( lxn->notify, status_icon ); -+#endif - notify_notification_set_timeout (lxn->notify, NOTIFY_EXPIRES_DEFAULT); - g_string_free( message, TRUE ); - return lxn; |