From c3d2289b0c9144e938924cfe6ed3623ad4728f49 Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Sat, 28 Jan 2017 15:34:15 +0100 Subject: [PATCH] Remove resize_callback from WindowsAttributes --- src/lib.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 575a498e..1b5a0610 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -361,10 +361,6 @@ pub struct WindowAttributes { /// [iOS only] Enable multitouch, see [UIView#multipleTouchEnabled] /// (https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIView_Class/#//apple_ref/occ/instp/UIView/multipleTouchEnabled) pub multitouch: bool, - - /// A function called upon resizing, necessary to receive resize events on Mac and possibly - /// other systems. - pub resize_callback: Option, } impl Default for WindowAttributes { @@ -380,7 +376,6 @@ impl Default for WindowAttributes { transparent: false, decorations: true, multitouch: false, - resize_callback: None, } } }