diff options
author | tomaka <pierre.krieger1708@gmail.com> | 2014-08-02 09:49:54 +0200 |
---|---|---|
committer | tomaka <pierre.krieger1708@gmail.com> | 2014-08-02 09:49:54 +0200 |
commit | af756b9add1afb3c752ee2dec9e2d11fcbf5b2e0 (patch) | |
tree | c087244f783b60dff1baf46d7f7cc6f6d206fc50 /src/win32/mod.rs | |
parent | 959613870c23e2ca26bee268c46f8062095c2382 (diff) | |
parent | 5dda16702164d59a75d8c36373cf29a8d7f4d58f (diff) | |
download | glutin-af756b9add1afb3c752ee2dec9e2d11fcbf5b2e0.tar.gz glutin-af756b9add1afb3c752ee2dec9e2d11fcbf5b2e0.zip |
Merge pull request #8 from tomaka/breaking-api-changes
Add WindowBuilder and iterators for events
Diffstat (limited to 'src/win32/mod.rs')
-rw-r--r-- | src/win32/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/win32/mod.rs b/src/win32/mod.rs index 7558245..0d44a75 100644 --- a/src/win32/mod.rs +++ b/src/win32/mod.rs @@ -1,6 +1,6 @@ use std::sync::atomics::AtomicBool; use std::ptr; -use {Event, Hints}; +use Event; pub use self::monitor::{MonitorID, get_available_monitors, get_primary_monitor}; @@ -36,10 +36,10 @@ pub struct Window { impl Window { /// See the docs if the crate root file. pub fn new(dimensions: Option<(uint, uint)>, title: &str, - hints: &Hints, monitor: Option<MonitorID>) + monitor: Option<MonitorID>) -> Result<Window, String> { - init::new_window(dimensions, title, hints, monitor) + init::new_window(dimensions, title, monitor) } /// See the docs if the crate root file. |