aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2015-01-10 08:33:27 +0100
committertomaka <pierre.krieger1708@gmail.com>2015-01-10 08:33:27 +0100
commitf72b09bcb7efee96b05dbcfc34b4a5fd72ef37aa (patch)
treeeb5d69fa2deb0326a4dc43bddb1f4ff6be8c4051 /src
parent9d7dbf7eb039d5614976a184082163bc97a319c6 (diff)
parent469d0eafd1704d5e9a172adfc673708fc76923e9 (diff)
downloadglutin-f72b09bcb7efee96b05dbcfc34b4a5fd72ef37aa.tar.gz
glutin-f72b09bcb7efee96b05dbcfc34b4a5fd72ef37aa.zip
Merge pull request #190 from tomaka/update-rustc
Update for rust alpha 1.0
Diffstat (limited to 'src')
-rw-r--r--src/win32/init.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/win32/init.rs b/src/win32/init.rs
index 77965ea..b88cfb2 100644
--- a/src/win32/init.rs
+++ b/src/win32/init.rs
@@ -419,7 +419,7 @@ pub fn new_window(builder_dimensions: Option<(uint, uint)>, builder_title: Strin
unsafe { winapi::TranslateMessage(&msg) };
unsafe { winapi::DispatchMessageW(&msg) }; // calls `callback` (see below)
}
- }).detach();
+ });
rx.recv().unwrap()
}