33// DO NOT EDIT 
44
55use  crate :: ffi; 
6- use  glib:: { 
7-     prelude:: * , 
8-     signal:: { connect_raw,  SignalHandlerId } , 
9-     translate:: * , 
10- } ; 
11- use  std:: boxed:: Box  as  Box_ ; 
126
137glib:: wrapper! { 
148    #[ doc( alias = "GdkMacosSurface" ) ] 
@@ -19,39 +13,4 @@ glib::wrapper! {
1913    } 
2014} 
2115
22- impl  MacosSurface  { 
23-     //#[cfg(feature = "v4_8")] 
24-     //#[cfg_attr(docsrs, doc(cfg(feature = "v4_8")))] 
25-     //#[doc(alias = "gdk_macos_surface_get_native_window")] 
26-     //#[doc(alias = "get_native_window")] 
27-     //pub fn native_window(&self) -> /*Unimplemented*/Option<Basic: Pointer> { 
28-     //    unsafe { TODO: call ffi:gdk_macos_surface_get_native_window() } 
29-     //} 
30- 
31-     //pub fn native(&self) -> /*Unimplemented*/Basic: Pointer { 
32-     //    ObjectExt::property(self, "native") 
33-     //} 
34- 
35-     #[ doc( alias = "native" ) ]  
36-     pub  fn  connect_native_notify < F :  Fn ( & Self )  + ' static > ( & self ,  f :  F )  -> SignalHandlerId  { 
37-         unsafe  extern  "C"  fn  notify_native_trampoline < F :  Fn ( & MacosSurface )  + ' static > ( 
38-             this :  * mut  ffi:: GdkMacosSurface , 
39-             _param_spec :  glib:: ffi:: gpointer , 
40-             f :  glib:: ffi:: gpointer , 
41-         )  { 
42-             let  f:  & F  = & * ( f as  * const  F ) ; 
43-             f ( & from_glib_borrow ( this) ) 
44-         } 
45-         unsafe  { 
46-             let  f:  Box_ < F >  = Box_ :: new ( f) ; 
47-             connect_raw ( 
48-                 self . as_ptr ( )  as  * mut  _ , 
49-                 b"notify::native\0 " . as_ptr ( )  as  * const  _ , 
50-                 Some ( std:: mem:: transmute :: < * const  ( ) ,  unsafe  extern  "C"  fn ( ) > ( 
51-                     notify_native_trampoline :: < F >  as  * const  ( ) , 
52-                 ) ) , 
53-                 Box_ :: into_raw ( f) , 
54-             ) 
55-         } 
56-     } 
57- } 
16+ impl  MacosSurface  { } 
0 commit comments