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/init.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/init.rs')
-rw-r--r-- | src/win32/init.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/win32/init.rs b/src/win32/init.rs index db08a42..ce558dc 100644 --- a/src/win32/init.rs +++ b/src/win32/init.rs @@ -6,7 +6,7 @@ use std::sync::atomics::AtomicBool; use std::ptr; use super::{event, ffi}; use super::{MonitorID, Window}; -use {Event, Hints}; +use Event; /// Stores the current window and its events dispatcher. /// @@ -15,7 +15,7 @@ use {Event, Hints}; local_data_key!(WINDOW: (ffi::HWND, Sender<Event>)) pub fn new_window(dimensions: Option<(uint, uint)>, title: &str, - _hints: &Hints, monitor: Option<MonitorID>) + monitor: Option<MonitorID>) -> Result<Window, String> { use std::mem; |