Skip to content

Commit

Permalink
fix(wry): correctly use the linux-headers feature
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog committed Dec 5, 2022
1 parent 17b391d commit 64a72ff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changes/fix-protocol-headers.md
@@ -0,0 +1,5 @@
---
"wry": patch
---

Fixes usage of the `linux-headers` feature.
2 changes: 1 addition & 1 deletion src/webview/webkitgtk/web_context.rs
Expand Up @@ -351,7 +351,7 @@ where

request.finish_with_response(&response);
}
#[cfg(not(feature = "header"))]
#[cfg(not(feature = "linux-headers"))]
request.finish(&input, buffer.len() as i64, content_type)
}
Err(_) => request.finish_error(&mut glib::Error::new(
Expand Down

0 comments on commit 64a72ff

Please sign in to comment.