Compare commits
11 commits
f800b57b26
...
f756a14e8a
Author | SHA1 | Date | |
---|---|---|---|
Alex Janka | f756a14e8a | ||
Alex Janka | ee5988ff53 | ||
Alex Janka | da22feaebb | ||
Alex Janka | fedc3cebb6 | ||
Alex Janka | 0ab38ad14f | ||
Alex Janka | abbf078482 | ||
Alex Janka | 1d6e666335 | ||
Alex Janka | e7d057b193 | ||
Alex Janka | 52064424ec | ||
Alex Janka | 366c5e7138 | ||
7ffe39891c |
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.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"]
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue