Compare commits
9 commits
f756a14e8a
...
f800b57b26
Author | SHA1 | Date | |
---|---|---|---|
Alex Janka | f800b57b26 | ||
Alex Janka | c8c85c2580 | ||
Alex Janka | 6952cc2429 | ||
Alex Janka | 5db4785825 | ||
Alex Janka | ac2cc95c64 | ||
Alex Janka | 22b322cdfb | ||
Alex Janka | 1655ece898 | ||
Alex Janka | 631f53214c | ||
Alex Janka | 671f29e56d |
16
Cargo.toml
16
Cargo.toml
|
@ -19,7 +19,7 @@ default-target = "x86_64-apple-darwin"
|
|||
rustdoc-args = ["--cfg", "docsrs"]
|
||||
|
||||
[dependencies]
|
||||
bitmask-enum = "2.2.4"
|
||||
bitmask-enum = "2.2.1"
|
||||
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.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 }
|
||||
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 }
|
||||
|
||||
[dev-dependencies]
|
||||
eval = "0.4.3"
|
||||
eval = "0.4"
|
||||
|
||||
[features]
|
||||
appkit = ["core-foundation/mac_os_10_8_features"]
|
||||
|
|
|
@ -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_subtitle(&self, subtitle: &str) {
|
||||
pub fn set_subtittle(&self, subtitle: &str) {
|
||||
if !os::is_minimum_version(11) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue