summaryrefslogtreecommitdiff
path: root/media-plugins/deadbeef-infobar/files/deadbeef-infobar-load-gtk2-and-gtk3-version-fix.diff
diff options
context:
space:
mode:
authorAlexe-Cristia Moldovan <contact@crism.ro>2015-06-18 15:10:15 +0300
committerAlexe-Cristia Moldovan <contact@crism.ro>2015-06-18 15:10:15 +0300
commita8da050bbbbe6352753c07b7b1d4753dbcf8eb7a (patch)
treeac98ee727877dfadccb41a14676982b7fa206d97 /media-plugins/deadbeef-infobar/files/deadbeef-infobar-load-gtk2-and-gtk3-version-fix.diff
parentdc45a05bcf51a824e2837ae148f39283e81ff40f (diff)
add deadbeef plugins
Diffstat (limited to 'media-plugins/deadbeef-infobar/files/deadbeef-infobar-load-gtk2-and-gtk3-version-fix.diff')
-rw-r--r--media-plugins/deadbeef-infobar/files/deadbeef-infobar-load-gtk2-and-gtk3-version-fix.diff15
1 files changed, 15 insertions, 0 deletions
diff --git a/media-plugins/deadbeef-infobar/files/deadbeef-infobar-load-gtk2-and-gtk3-version-fix.diff b/media-plugins/deadbeef-infobar/files/deadbeef-infobar-load-gtk2-and-gtk3-version-fix.diff
new file mode 100644
index 00000000..1ed84ba0
--- /dev/null
+++ b/media-plugins/deadbeef-infobar/files/deadbeef-infobar-load-gtk2-and-gtk3-version-fix.diff
@@ -0,0 +1,15 @@
+diff -r b870df1b662c infobar.c
+--- a/infobar.c Thu Jan 30 15:13:12 2014 +0200
++++ b/infobar.c Thu Jul 10 09:00:29 2014 +0200
+@@ -333,6 +333,11 @@
+ .plugin.version_major = 1,
+ .plugin.version_minor = 4,
+ .plugin.type = DB_PLUGIN_MISC,
++#if !GTK_CHECK_VERSION(3, 0, 0)
++ .plugin.id = "infobar_gtk2",
++#else
++ .plugin.id = "infobar_gtk3",
++#endif
+ .plugin.name = "Infobar",
+ .plugin.descr = "Infobar plugin for DeadBeeF audio player.\nFetches and shows:\n"
+ "- song's lyrics;\n- artist's biography;\n- list of similar artists.\n\n"