mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
~[] to Vec in glut_windowing
This commit is contained in:
parent
81fd243f37
commit
98a78e3faf
1 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ impl Drop for Application {
|
|||
pub struct Window {
|
||||
pub glut_window: glut::Window,
|
||||
|
||||
pub event_queue: RefCell<~[WindowEvent]>,
|
||||
pub event_queue: RefCell<Vec<WindowEvent>>,
|
||||
|
||||
pub drag_origin: Point2D<c_int>,
|
||||
|
||||
|
@ -70,7 +70,7 @@ impl WindowMethods<Application> for Window {
|
|||
let window = Window {
|
||||
glut_window: glut_window,
|
||||
|
||||
event_queue: RefCell::new(~[]),
|
||||
event_queue: RefCell::new(Vec::new()),
|
||||
|
||||
drag_origin: Point2D(0 as c_int, 0),
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue