Skip to content

Commit

Permalink
Fix release
Browse files Browse the repository at this point in the history
* Fix gui usb::nop exports for linux release build;
* Revert gtk feature flag, Debian 10 has gtk+ 3.24.5;
  • Loading branch information
arteme committed Dec 5, 2024
1 parent 390f58b commit c0dc812
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion gtk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ rust-version.workspace = true
[dependencies]
glib = "0.18"
gdk = "0.18"
gtk = { version = "0.18", features = ["v3_24_30"] }
gtk = { version = "0.18", features = ["v3_24"] }
multimap = "0.10.0"

log = "*" # defined in pod-core
Expand Down
8 changes: 4 additions & 4 deletions gui/src/usb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,18 +70,18 @@ mod nop {
use anyhow::*;
use pod_core::midi_io::{AutodetectResult, MidiInPort, MidiOutPort};

fn start_usb() {
pub fn start_usb() {
}

fn usb_list_devices() -> Vec<(String, bool)> {
pub fn usb_list_devices() -> Vec<(String, bool)> {
vec![]
}

fn usb_open_addr(_addr: &str) -> Result<(MidiInPort, MidiOutPort)> {
pub fn usb_open_addr(_addr: &str) -> Result<(MidiInPort, MidiOutPort)> {
unimplemented!()
}

fn usb_open_name(_addr: &str) -> Result<(MidiInPort, MidiOutPort)> {
pub fn usb_open_name(_addr: &str) -> Result<(MidiInPort, MidiOutPort)> {
unimplemented!()
}

Expand Down

0 comments on commit c0dc812

Please sign in to comment.