freebsd-ports/audio/jack-rack/files/patch-src_plugin_slot_callbacks.c
Pietro Cerutti 126365b36e - Update to 1.4.6
- Respect DATADIR
2008-08-27 15:09:41 +00:00

18 lines
586 B
C

--- src/plugin_slot_callbacks.c.orig 2008-08-27 16:45:43.000000000 +0200
+++ src/plugin_slot_callbacks.c 2008-08-27 16:49:19.000000000 +0200
@@ -109,6 +109,7 @@
ui = plugin_slot->jack_rack->ui;
+#ifdef HAVE_ALSA
g_object_set_data (G_OBJECT (ui->midi_menu_item),
"jack-rack-ctrl-type",
GINT_TO_POINTER(2/*PLUGIN_ENABLE_CONTROL*/));
@@ -117,6 +118,7 @@
plugin_slot);
gtk_menu_popup (GTK_MENU (ui->midi_menu), NULL, NULL, NULL, NULL, event->button, event->time);
+#endif
return TRUE;
}
}