summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>2017-01-02 17:17:04 +0100
committerDavid Seifert <soap@gentoo.org>2017-01-04 12:12:29 +0200
commit676142c32485c80ad357572e0d87b19f5f3b422b (patch)
treeeef750f9846319e84c7ade0ef114a59cad1dde19 /media-plugins
parentmedia-libs/speex: remove unused patch (diff)
downloadgentoo-676142c32485c80ad357572e0d87b19f5f3b422b.tar.gz
gentoo-676142c32485c80ad357572e0d87b19f5f3b422b.tar.bz2
gentoo-676142c32485c80ad357572e0d87b19f5f3b422b.zip
media-plugins/gmpc-libnotify: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/3305
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/gmpc-libnotify/files/gmpc-libnotify-0.20.0-libnotify-0.7.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/media-plugins/gmpc-libnotify/files/gmpc-libnotify-0.20.0-libnotify-0.7.patch b/media-plugins/gmpc-libnotify/files/gmpc-libnotify-0.20.0-libnotify-0.7.patch
deleted file mode 100644
index 601b6f27c646..000000000000
--- a/media-plugins/gmpc-libnotify/files/gmpc-libnotify-0.20.0-libnotify-0.7.patch
+++ /dev/null
@@ -1,37 +0,0 @@
---- src/plugin.c
-+++ src/plugin.c
-@@ -28,6 +28,10 @@
- #include <gmpc/misc.h>
- #include <config.h>
-
-+#ifndef NOTIFY_CHECK_VERSION
-+#define NOTIFY_CHECK_VERSION(x,y,z) 0
-+#endif
-+
- #define LOG_DOMAIN "LibNotifyPlugin"
-
- extern GtkStatusIcon *tray_icon2_gsi;
-@@ -149,15 +153,23 @@
- if(not == NULL)
- {
- // notify_notification_close(not, NULL);
-+#if NOTIFY_CHECK_VERSION (0, 7, 0)
-+ not = notify_notification_new(summary, buffer,NULL);
-+#else
- not = notify_notification_new(summary, buffer,NULL, NULL);
-+#endif
- }
- else{
- notify_notification_update(not, summary, buffer, NULL);
- }
- notify_notification_set_urgency(not, NOTIFY_URGENCY_LOW);
-
-+#if NOTIFY_CHECK_VERSION (0, 7, 0)
-+ /* notify_notification_attach_to_status_icon was removed */
-+#else
- if(cfg_get_single_value_as_int_with_default(config, "libnotify-plugin", "attach-to-tray", TRUE))
- notify_notification_attach_to_status_icon(not, tray_icon2_gsi);
-+#endif
-
- g_free(summary);
- /* Add the song to the widget */