Compare commits

..

11 commits

2 changed files with 9 additions and 9 deletions

View file

@ -19,7 +19,7 @@ default-target = "x86_64-apple-darwin"
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
bitmask-enum = "2.2.1"
bitmask-enum = "2.2.4"
objc = { version = "=0.3.0-beta.3", package = "objc2" }
block = { version = "=0.2.0-alpha.6", package = "block2" }
# Temporary: Patched versions that implement `Encode` for common types
@ -27,15 +27,15 @@ block = { version = "=0.2.0-alpha.6", package = "block2" }
core-foundation = { git = "https://github.com/madsmtm/core-foundation-rs.git", rev = "7d593d016175755e492a92ef89edca68ac3bd5cd" }
core-graphics = { git = "https://github.com/madsmtm/core-foundation-rs.git", rev = "7d593d016175755e492a92ef89edca68ac3bd5cd" }
dispatch = "0.2.0"
infer = { version = "0.15", optional = true }
lazy_static = "1.4.0"
libc = "0.2"
os_info = "3.0.1"
url = "2.1.1"
uuid = { version = "1.1", features = ["v4"], optional = true }
infer = { version = "0.16.0", optional = true }
lazy_static = "1.5.0"
libc = "0.2.157"
os_info = "3.8.2"
url = "2.5.2"
uuid = { version = "1.10.0", features = ["v4"], optional = true }
[dev-dependencies]
eval = "0.4"
eval = "0.4.3"
[features]
appkit = ["core-foundation/mac_os_10_8_features"]

View file

@ -205,7 +205,7 @@ impl<T> Window<T> {
/// underlying window. When this property is an empty string, the system removes the subtitle
/// from the window layout. Allocates and passes an `NSString` over to the Objective C runtime.
/// Does nothing when less than version 11.
pub fn set_subtittle(&self, subtitle: &str) {
pub fn set_subtitle(&self, subtitle: &str) {
if !os::is_minimum_version(11) {
return;
}