aboutsummaryrefslogtreecommitdiffstats
path: root/src/win32
diff options
context:
space:
mode:
authorPierre Krieger <pierre.krieger1708@gmail.com>2015-01-09 23:06:14 +0100
committerPierre Krieger <pierre.krieger1708@gmail.com>2015-01-10 08:23:20 +0100
commit469d0eafd1704d5e9a172adfc673708fc76923e9 (patch)
treeeb5d69fa2deb0326a4dc43bddb1f4ff6be8c4051 /src/win32
parent9d7dbf7eb039d5614976a184082163bc97a319c6 (diff)
downloadglutin-469d0eafd1704d5e9a172adfc673708fc76923e9.tar.gz
glutin-469d0eafd1704d5e9a172adfc673708fc76923e9.zip
Update for rust alpha 1.0
Diffstat (limited to 'src/win32')
-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()
}