File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -37,15 +37,15 @@ impl X11Display {
3737 #[ cfg_attr( feature = "dox" , doc( cfg( feature = "xlib" ) ) ) ]
3838 #[ doc( alias = "gdk_x11_display_get_xcursor" ) ]
3939 #[ doc( alias = "get_xcursor" ) ]
40- pub unsafe fn xcursor ( & self , cursor : & gdk:: Cursor ) -> xlib:: Cursor {
40+ pub fn xcursor ( & self , cursor : & gdk:: Cursor ) -> xlib:: Cursor {
4141 ffi:: gdk_x11_display_get_xcursor ( self . to_glib_none ( ) . 0 , cursor. to_glib_none ( ) . 0 )
4242 }
4343
4444 #[ cfg( any( feature = "xlib" , feature = "dox" ) ) ]
4545 #[ cfg_attr( feature = "dox" , doc( cfg( feature = "xlib" ) ) ) ]
4646 #[ doc( alias = "gdk_x11_display_get_xrootwindow" ) ]
4747 #[ doc( alias = "get_xrootwindow" ) ]
48- pub unsafe fn xrootwindow ( & self ) -> xlib:: Window {
48+ pub fn xrootwindow ( & self ) -> xlib:: Window {
4949 ffi:: gdk_x11_display_get_xrootwindow ( self . to_glib_none ( ) . 0 )
5050 }
5151
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ impl X11Monitor {
1313 #[ cfg_attr( feature = "dox" , doc( cfg( feature = "xlib" ) ) ) ]
1414 #[ doc( alias = "gdk_x11_monitor_get_output" ) ]
1515 #[ doc( alias = "get_output" ) ]
16- pub unsafe fn output ( & self ) -> xlib:: XID {
16+ pub fn output ( & self ) -> xlib:: XID {
1717 ffi:: gdk_x11_monitor_get_output ( self . to_glib_none ( ) . 0 )
1818 }
1919}
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ impl X11Surface {
1313 #[ cfg_attr( feature = "dox" , doc( cfg( feature = "xlib" ) ) ) ]
1414 #[ doc( alias = "gdk_x11_surface_get_xid" ) ]
1515 #[ doc( alias = "get_xid" ) ]
16- pub unsafe fn xid ( & self ) -> xlib:: Window {
16+ pub fn xid ( & self ) -> xlib:: Window {
1717 ffi:: gdk_x11_surface_get_xid ( self . to_glib_none ( ) . 0 )
1818 }
1919
You can’t perform that action at this time.
0 commit comments