summaryrefslogtreecommitdiff
path: root/media-plugins/deadbeef-infobar/files/deadbeef-infobar-load-gtk2-and-gtk3-version-fix.diff
blob: 1ed84ba04ae784b8f6c279f484852427f059fec6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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"