diff --git a/core-foundation/src/bundle.rs b/core-foundation/src/bundle.rs index c1b9313..0e5909f 100644 --- a/core-foundation/src/bundle.rs +++ b/core-foundation/src/bundle.rs @@ -12,9 +12,10 @@ pub use core_foundation_sys::bundle::*; use core_foundation_sys::base::kCFAllocatorDefault; -use base::TCFType; +use base::{CFType, TCFType}; use url::CFURL; use dictionary::CFDictionary; +use string::CFString; declare_TCFType!{ @@ -42,7 +43,7 @@ impl CFBundle { } } - pub fn info_dictionary(&self) -> CFDictionary { + pub fn info_dictionary(&self) -> CFDictionary { unsafe { let info_dictionary = CFBundleGetInfoDictionary(self.0); TCFType::wrap_under_get_rule(info_dictionary)