mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-31 22:00:04 -04:00
Fix warnings for win32 (#283)
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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)]
|
||||||
|
|||||||
Reference in New Issue
Block a user