mirror of
https://github.com/rust-windowing/winit.git
synced 2026-09-02 06:40:06 -04:00
Remove some unused imports
This commit is contained in:
@@ -1,8 +1,6 @@
|
|||||||
extern crate android_glue;
|
extern crate android_glue;
|
||||||
extern crate native;
|
extern crate native;
|
||||||
|
|
||||||
use libc;
|
|
||||||
use self::native::NativeTaskBuilder;
|
|
||||||
use {Event, WindowBuilder};
|
use {Event, WindowBuilder};
|
||||||
|
|
||||||
pub struct Window {
|
pub struct Window {
|
||||||
@@ -38,7 +36,6 @@ impl MonitorID {
|
|||||||
impl Window {
|
impl Window {
|
||||||
pub fn new(_builder: WindowBuilder) -> Result<Window, String> {
|
pub fn new(_builder: WindowBuilder) -> Result<Window, String> {
|
||||||
use std::{mem, ptr};
|
use std::{mem, ptr};
|
||||||
use std::task::TaskBuilder;
|
|
||||||
|
|
||||||
let native_window = unsafe { android_glue::get_native_window() };
|
let native_window = unsafe { android_glue::get_native_window() };
|
||||||
if native_window.is_null() {
|
if native_window.is_null() {
|
||||||
|
|||||||
Reference in New Issue
Block a user