mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 22:31:30 +11:00
Fix warnings for win32 (#283)
This commit is contained in:
parent
c82fcd203f
commit
ae7802c8c2
|
@ -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)]
|
||||||
|
|
Loading…
Reference in a new issue