Fix warnings for win32 (#283)

This commit is contained in:
tomaka 2017-09-13 11:15:16 +02:00 committed by GitHub
parent c82fcd203f
commit ae7802c8c2
3 changed files with 0 additions and 4 deletions

View file

@ -29,7 +29,6 @@ core-graphics = "0.8"
[target.'cfg(target_os = "windows")'.dependencies] [target.'cfg(target_os = "windows")'.dependencies]
winapi = "0.2" winapi = "0.2"
shell32-sys = "0.1" shell32-sys = "0.1"
gdi32-sys = "0.1"
user32-sys = "~0.1.2" user32-sys = "~0.1.2"
kernel32-sys = "0.2" kernel32-sys = "0.2"
dwmapi-sys = "0.1" dwmapi-sys = "0.1"

View file

@ -92,8 +92,6 @@ extern crate kernel32;
#[cfg(target_os = "windows")] #[cfg(target_os = "windows")]
extern crate shell32; extern crate shell32;
#[cfg(target_os = "windows")] #[cfg(target_os = "windows")]
extern crate gdi32;
#[cfg(target_os = "windows")]
extern crate user32; extern crate user32;
#[cfg(target_os = "windows")] #[cfg(target_os = "windows")]
extern crate dwmapi; extern crate dwmapi;

View file

@ -44,7 +44,6 @@ use KeyboardInput;
use WindowAttributes; use WindowAttributes;
use WindowEvent; use WindowEvent;
use WindowId as SuperWindowId; use WindowId as SuperWindowId;
use AxisId;
/// Contains information about states and the window that the callback is going to use. /// Contains information about states and the window that the callback is going to use.
#[derive(Clone)] #[derive(Clone)]