Skip to content
This repository was archived by the owner on Jul 10, 2023. It is now read-only.

Commit b351692

Browse files
author
bors-servo
authored
Auto merge of #158 - paulrouget:appearanceNames, r=jdm
Add appearance names <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/cocoa-rs/158) <!-- Reviewable:end -->
2 parents 1b69af6 + 142bf3b commit b351692

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "cocoa"
33
description = "Bindings to Cocoa for OS X"
44
homepage = "https://github.com/servo/cocoa-rs"
55
repository = "https://github.com/servo/cocoa-rs"
6-
version = "0.8.0"
6+
version = "0.8.1"
77
authors = ["The Servo Project Developers"]
88
license = "MIT / Apache-2.0"
99

src/appkit.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ extern {
8181
// Pasteboard reading options - OS X v10.6 and later. (NSString *)
8282
pub static NSPasteboardURLReadingFileURLsOnlyKey: id;
8383
pub static NSPasteboardURLReadingContentsConformToTypesKey: id;
84+
85+
// NSAppearance names. (NSString *)
86+
pub static NSAppearanceNameVibrantDark: id;
87+
pub static NSAppearanceNameVibrantLight: id;
8488
}
8589

8690
pub const NSAppKitVersionNumber10_0: f64 = 577.0;

0 commit comments

Comments
 (0)