diff --git a/gdk4-macos/src/auto/macos_surface.rs b/gdk4-macos/src/auto/macos_surface.rs index 8dc628bd49ec..dfd1615d78c7 100644 --- a/gdk4-macos/src/auto/macos_surface.rs +++ b/gdk4-macos/src/auto/macos_surface.rs @@ -46,7 +46,7 @@ impl MacosSurface { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::native\0".as_ptr() as *const _, + c"notify::native".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_native_trampoline:: as *const (), )), diff --git a/gdk4-macos/src/auto/versions.txt b/gdk4-macos/src/auto/versions.txt index 5af8e497d2f0..74c43b552360 100644 --- a/gdk4-macos/src/auto/versions.txt +++ b/gdk4-macos/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) -from gir-files (https://github.com/gtk-rs/gir-files @ c05f5cc23cb7) +Generated by gir (https://github.com/gtk-rs/gir @ 8c3c93b02091) +from gir-files (https://github.com/gtk-rs/gir-files @ b19fc8902d65) diff --git a/gdk4-macos/sys/versions.txt b/gdk4-macos/sys/versions.txt index 5af8e497d2f0..74c43b552360 100644 --- a/gdk4-macos/sys/versions.txt +++ b/gdk4-macos/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) -from gir-files (https://github.com/gtk-rs/gir-files @ c05f5cc23cb7) +Generated by gir (https://github.com/gtk-rs/gir @ 8c3c93b02091) +from gir-files (https://github.com/gtk-rs/gir-files @ b19fc8902d65) diff --git a/gdk4-wayland/src/auto/versions.txt b/gdk4-wayland/src/auto/versions.txt index 5af8e497d2f0..74c43b552360 100644 --- a/gdk4-wayland/src/auto/versions.txt +++ b/gdk4-wayland/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) -from gir-files (https://github.com/gtk-rs/gir-files @ c05f5cc23cb7) +Generated by gir (https://github.com/gtk-rs/gir @ 8c3c93b02091) +from gir-files (https://github.com/gtk-rs/gir-files @ b19fc8902d65) diff --git a/gdk4-wayland/sys/versions.txt b/gdk4-wayland/sys/versions.txt index 5af8e497d2f0..74c43b552360 100644 --- a/gdk4-wayland/sys/versions.txt +++ b/gdk4-wayland/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) -from gir-files (https://github.com/gtk-rs/gir-files @ c05f5cc23cb7) +Generated by gir (https://github.com/gtk-rs/gir @ 8c3c93b02091) +from gir-files (https://github.com/gtk-rs/gir-files @ b19fc8902d65) diff --git a/gdk4-win32/src/auto/versions.txt b/gdk4-win32/src/auto/versions.txt index 5af8e497d2f0..74c43b552360 100644 --- a/gdk4-win32/src/auto/versions.txt +++ b/gdk4-win32/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) -from gir-files (https://github.com/gtk-rs/gir-files @ c05f5cc23cb7) +Generated by gir (https://github.com/gtk-rs/gir @ 8c3c93b02091) +from gir-files (https://github.com/gtk-rs/gir-files @ b19fc8902d65) diff --git a/gdk4-win32/sys/versions.txt b/gdk4-win32/sys/versions.txt index 5af8e497d2f0..74c43b552360 100644 --- a/gdk4-win32/sys/versions.txt +++ b/gdk4-win32/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) -from gir-files (https://github.com/gtk-rs/gir-files @ c05f5cc23cb7) +Generated by gir (https://github.com/gtk-rs/gir @ 8c3c93b02091) +from gir-files (https://github.com/gtk-rs/gir-files @ b19fc8902d65) diff --git a/gdk4-x11/src/auto/versions.txt b/gdk4-x11/src/auto/versions.txt index 5af8e497d2f0..74c43b552360 100644 --- a/gdk4-x11/src/auto/versions.txt +++ b/gdk4-x11/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) -from gir-files (https://github.com/gtk-rs/gir-files @ c05f5cc23cb7) +Generated by gir (https://github.com/gtk-rs/gir @ 8c3c93b02091) +from gir-files (https://github.com/gtk-rs/gir-files @ b19fc8902d65) diff --git a/gdk4-x11/src/auto/x11_screen.rs b/gdk4-x11/src/auto/x11_screen.rs index 85fec0dd5422..855fba40018e 100644 --- a/gdk4-x11/src/auto/x11_screen.rs +++ b/gdk4-x11/src/auto/x11_screen.rs @@ -71,7 +71,7 @@ impl X11Screen { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"window-manager-changed\0".as_ptr() as *const _, + c"window-manager-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( window_manager_changed_trampoline:: as *const (), )), diff --git a/gdk4-x11/sys/versions.txt b/gdk4-x11/sys/versions.txt index 5af8e497d2f0..74c43b552360 100644 --- a/gdk4-x11/sys/versions.txt +++ b/gdk4-x11/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) -from gir-files (https://github.com/gtk-rs/gir-files @ c05f5cc23cb7) +Generated by gir (https://github.com/gtk-rs/gir @ 8c3c93b02091) +from gir-files (https://github.com/gtk-rs/gir-files @ b19fc8902d65) diff --git a/gdk4/src/auto/cicp_params.rs b/gdk4/src/auto/cicp_params.rs index a6807d7ec998..9d68f1eadc44 100644 --- a/gdk4/src/auto/cicp_params.rs +++ b/gdk4/src/auto/cicp_params.rs @@ -27,7 +27,7 @@ impl CicpParams { } #[doc(alias = "gdk_cicp_params_build_color_state")] - pub fn build_color_state(&self) -> Result, glib::Error> { + pub fn build_color_state(&self) -> Result { unsafe { let mut error = std::ptr::null_mut(); let ret = ffi::gdk_cicp_params_build_color_state(self.to_glib_none().0, &mut error); @@ -117,7 +117,7 @@ impl CicpParams { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::color-primaries\0".as_ptr() as *const _, + c"notify::color-primaries".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_color_primaries_trampoline:: as *const (), )), @@ -145,7 +145,7 @@ impl CicpParams { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::matrix-coefficients\0".as_ptr() as *const _, + c"notify::matrix-coefficients".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_matrix_coefficients_trampoline:: as *const (), )), @@ -170,7 +170,7 @@ impl CicpParams { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::range\0".as_ptr() as *const _, + c"notify::range".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_range_trampoline:: as *const (), )), @@ -198,7 +198,7 @@ impl CicpParams { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::transfer-function\0".as_ptr() as *const _, + c"notify::transfer-function".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_transfer_function_trampoline:: as *const (), )), diff --git a/gdk4/src/auto/clipboard.rs b/gdk4/src/auto/clipboard.rs index 91fe1874e7be..ae75dc47736e 100644 --- a/gdk4/src/auto/clipboard.rs +++ b/gdk4/src/auto/clipboard.rs @@ -340,7 +340,7 @@ impl Clipboard { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"changed\0".as_ptr() as *const _, + c"changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( changed_trampoline:: as *const (), )), @@ -363,7 +363,7 @@ impl Clipboard { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::content\0".as_ptr() as *const _, + c"notify::content".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_content_trampoline:: as *const (), )), @@ -386,7 +386,7 @@ impl Clipboard { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::formats\0".as_ptr() as *const _, + c"notify::formats".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_formats_trampoline:: as *const (), )), @@ -409,7 +409,7 @@ impl Clipboard { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::local\0".as_ptr() as *const _, + c"notify::local".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_local_trampoline:: as *const (), )), diff --git a/gdk4/src/auto/content_formats.rs b/gdk4/src/auto/content_formats.rs index 2cef38f3a6df..67ec0bbf66b5 100644 --- a/gdk4/src/auto/content_formats.rs +++ b/gdk4/src/auto/content_formats.rs @@ -73,6 +73,13 @@ impl ContentFormats { } } + #[cfg(feature = "v4_18")] + #[cfg_attr(docsrs, doc(cfg(feature = "v4_18")))] + #[doc(alias = "gdk_content_formats_is_empty")] + pub fn is_empty(&self) -> bool { + unsafe { from_glib(ffi::gdk_content_formats_is_empty(self.to_glib_none().0)) } + } + #[doc(alias = "gdk_content_formats_match")] #[doc(alias = "match")] pub fn match_(&self, second: &ContentFormats) -> bool { diff --git a/gdk4/src/auto/content_provider.rs b/gdk4/src/auto/content_provider.rs index bea48c3f8af7..45d32462c4c2 100644 --- a/gdk4/src/auto/content_provider.rs +++ b/gdk4/src/auto/content_provider.rs @@ -182,7 +182,7 @@ pub trait ContentProviderExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"content-changed\0".as_ptr() as *const _, + c"content-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( content_changed_trampoline:: as *const (), )), @@ -208,7 +208,7 @@ pub trait ContentProviderExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::formats\0".as_ptr() as *const _, + c"notify::formats".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_formats_trampoline:: as *const (), )), @@ -234,7 +234,7 @@ pub trait ContentProviderExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::storable-formats\0".as_ptr() as *const _, + c"notify::storable-formats".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_storable_formats_trampoline:: as *const (), )), diff --git a/gdk4/src/auto/device.rs b/gdk4/src/auto/device.rs index ef71d92f8c8c..4726ee0868c3 100644 --- a/gdk4/src/auto/device.rs +++ b/gdk4/src/auto/device.rs @@ -215,7 +215,7 @@ pub trait DeviceExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"changed\0".as_ptr() as *const _, + c"changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( changed_trampoline:: as *const (), )), @@ -244,7 +244,7 @@ pub trait DeviceExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"tool-changed\0".as_ptr() as *const _, + c"tool-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( tool_changed_trampoline:: as *const (), )), @@ -270,7 +270,7 @@ pub trait DeviceExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::caps-lock-state\0".as_ptr() as *const _, + c"notify::caps-lock-state".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_caps_lock_state_trampoline:: as *const (), )), @@ -293,7 +293,7 @@ pub trait DeviceExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::direction\0".as_ptr() as *const _, + c"notify::direction".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_direction_trampoline:: as *const (), )), @@ -319,7 +319,7 @@ pub trait DeviceExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::has-bidi-layouts\0".as_ptr() as *const _, + c"notify::has-bidi-layouts".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_has_bidi_layouts_trampoline:: as *const (), )), @@ -345,7 +345,7 @@ pub trait DeviceExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::modifier-state\0".as_ptr() as *const _, + c"notify::modifier-state".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_modifier_state_trampoline:: as *const (), )), @@ -368,7 +368,7 @@ pub trait DeviceExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::n-axes\0".as_ptr() as *const _, + c"notify::n-axes".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_n_axes_trampoline:: as *const (), )), @@ -394,7 +394,7 @@ pub trait DeviceExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::num-lock-state\0".as_ptr() as *const _, + c"notify::num-lock-state".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_num_lock_state_trampoline:: as *const (), )), @@ -420,7 +420,7 @@ pub trait DeviceExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::scroll-lock-state\0".as_ptr() as *const _, + c"notify::scroll-lock-state".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_scroll_lock_state_trampoline:: as *const (), )), @@ -443,7 +443,7 @@ pub trait DeviceExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::seat\0".as_ptr() as *const _, + c"notify::seat".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_seat_trampoline:: as *const (), )), @@ -466,7 +466,7 @@ pub trait DeviceExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::tool\0".as_ptr() as *const _, + c"notify::tool".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_tool_trampoline:: as *const (), )), diff --git a/gdk4/src/auto/display.rs b/gdk4/src/auto/display.rs index 3e165b9e25f4..2393ccc11ff9 100644 --- a/gdk4/src/auto/display.rs +++ b/gdk4/src/auto/display.rs @@ -307,7 +307,7 @@ pub trait DisplayExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"closed\0".as_ptr() as *const _, + c"closed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( closed_trampoline:: as *const (), )), @@ -329,7 +329,7 @@ pub trait DisplayExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"opened\0".as_ptr() as *const _, + c"opened".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( opened_trampoline:: as *const (), )), @@ -355,7 +355,7 @@ pub trait DisplayExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"seat-added\0".as_ptr() as *const _, + c"seat-added".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( seat_added_trampoline:: as *const (), )), @@ -384,7 +384,7 @@ pub trait DisplayExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"seat-removed\0".as_ptr() as *const _, + c"seat-removed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( seat_removed_trampoline:: as *const (), )), @@ -413,7 +413,7 @@ pub trait DisplayExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"setting-changed\0".as_ptr() as *const _, + c"setting-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( setting_changed_trampoline:: as *const (), )), @@ -436,7 +436,7 @@ pub trait DisplayExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::composited\0".as_ptr() as *const _, + c"notify::composited".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_composited_trampoline:: as *const (), )), @@ -464,7 +464,7 @@ pub trait DisplayExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::dmabuf-formats\0".as_ptr() as *const _, + c"notify::dmabuf-formats".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_dmabuf_formats_trampoline:: as *const (), )), @@ -490,7 +490,7 @@ pub trait DisplayExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::input-shapes\0".as_ptr() as *const _, + c"notify::input-shapes".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_input_shapes_trampoline:: as *const (), )), @@ -513,7 +513,7 @@ pub trait DisplayExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::rgba\0".as_ptr() as *const _, + c"notify::rgba".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_rgba_trampoline:: as *const (), )), @@ -541,7 +541,7 @@ pub trait DisplayExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::shadow-width\0".as_ptr() as *const _, + c"notify::shadow-width".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_shadow_width_trampoline:: as *const (), )), diff --git a/gdk4/src/auto/display_manager.rs b/gdk4/src/auto/display_manager.rs index b059894cd767..898355ea900b 100644 --- a/gdk4/src/auto/display_manager.rs +++ b/gdk4/src/auto/display_manager.rs @@ -86,7 +86,7 @@ impl DisplayManager { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"display-opened\0".as_ptr() as *const _, + c"display-opened".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( display_opened_trampoline:: as *const (), )), @@ -109,7 +109,7 @@ impl DisplayManager { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::default-display\0".as_ptr() as *const _, + c"notify::default-display".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_default_display_trampoline:: as *const (), )), diff --git a/gdk4/src/auto/dmabuf_texture_builder.rs b/gdk4/src/auto/dmabuf_texture_builder.rs index f53242bb08b4..b8b92c518c3a 100644 --- a/gdk4/src/auto/dmabuf_texture_builder.rs +++ b/gdk4/src/auto/dmabuf_texture_builder.rs @@ -270,7 +270,7 @@ impl DmabufTextureBuilder { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::color-state\0".as_ptr() as *const _, + c"notify::color-state".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_color_state_trampoline:: as *const (), )), @@ -295,7 +295,7 @@ impl DmabufTextureBuilder { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::display\0".as_ptr() as *const _, + c"notify::display".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_display_trampoline:: as *const (), )), @@ -320,7 +320,7 @@ impl DmabufTextureBuilder { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::fourcc\0".as_ptr() as *const _, + c"notify::fourcc".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_fourcc_trampoline:: as *const (), )), @@ -345,7 +345,7 @@ impl DmabufTextureBuilder { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::height\0".as_ptr() as *const _, + c"notify::height".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_height_trampoline:: as *const (), )), @@ -370,7 +370,7 @@ impl DmabufTextureBuilder { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::modifier\0".as_ptr() as *const _, + c"notify::modifier".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_modifier_trampoline:: as *const (), )), @@ -395,7 +395,7 @@ impl DmabufTextureBuilder { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::n-planes\0".as_ptr() as *const _, + c"notify::n-planes".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_n_planes_trampoline:: as *const (), )), @@ -422,7 +422,7 @@ impl DmabufTextureBuilder { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::premultiplied\0".as_ptr() as *const _, + c"notify::premultiplied".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_premultiplied_trampoline:: as *const (), )), @@ -449,7 +449,7 @@ impl DmabufTextureBuilder { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::update-region\0".as_ptr() as *const _, + c"notify::update-region".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_update_region_trampoline:: as *const (), )), @@ -476,7 +476,7 @@ impl DmabufTextureBuilder { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::update-texture\0".as_ptr() as *const _, + c"notify::update-texture".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_update_texture_trampoline:: as *const (), )), @@ -501,7 +501,7 @@ impl DmabufTextureBuilder { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::width\0".as_ptr() as *const _, + c"notify::width".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_width_trampoline:: as *const (), )), diff --git a/gdk4/src/auto/drag.rs b/gdk4/src/auto/drag.rs index d003ec28bd05..0a826a66d9a4 100644 --- a/gdk4/src/auto/drag.rs +++ b/gdk4/src/auto/drag.rs @@ -148,7 +148,7 @@ pub trait DragExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"cancel\0".as_ptr() as *const _, + c"cancel".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( cancel_trampoline:: as *const (), )), @@ -170,7 +170,7 @@ pub trait DragExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"dnd-finished\0".as_ptr() as *const _, + c"dnd-finished".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( dnd_finished_trampoline:: as *const (), )), @@ -192,7 +192,7 @@ pub trait DragExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"drop-performed\0".as_ptr() as *const _, + c"drop-performed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( drop_performed_trampoline:: as *const (), )), @@ -215,7 +215,7 @@ pub trait DragExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::actions\0".as_ptr() as *const _, + c"notify::actions".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_actions_trampoline:: as *const (), )), @@ -238,7 +238,7 @@ pub trait DragExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::display\0".as_ptr() as *const _, + c"notify::display".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_display_trampoline:: as *const (), )), @@ -264,7 +264,7 @@ pub trait DragExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::selected-action\0".as_ptr() as *const _, + c"notify::selected-action".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_selected_action_trampoline:: as *const (), )), diff --git a/gdk4/src/auto/drop.rs b/gdk4/src/auto/drop.rs index db441535deb2..c2755010ccbb 100644 --- a/gdk4/src/auto/drop.rs +++ b/gdk4/src/auto/drop.rs @@ -153,7 +153,7 @@ impl Drop { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::display\0".as_ptr() as *const _, + c"notify::display".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_display_trampoline:: as *const (), )), diff --git a/gdk4/src/auto/frame_clock.rs b/gdk4/src/auto/frame_clock.rs index 774c61a9ee2a..aa72dbdcc715 100644 --- a/gdk4/src/auto/frame_clock.rs +++ b/gdk4/src/auto/frame_clock.rs @@ -118,7 +118,7 @@ impl FrameClock { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"after-paint\0".as_ptr() as *const _, + c"after-paint".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( after_paint_trampoline:: as *const (), )), @@ -140,7 +140,7 @@ impl FrameClock { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"before-paint\0".as_ptr() as *const _, + c"before-paint".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( before_paint_trampoline:: as *const (), )), @@ -162,7 +162,7 @@ impl FrameClock { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"flush-events\0".as_ptr() as *const _, + c"flush-events".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( flush_events_trampoline:: as *const (), )), @@ -184,7 +184,7 @@ impl FrameClock { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"layout\0".as_ptr() as *const _, + c"layout".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( layout_trampoline:: as *const (), )), @@ -206,7 +206,7 @@ impl FrameClock { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"paint\0".as_ptr() as *const _, + c"paint".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( paint_trampoline:: as *const (), )), @@ -228,7 +228,7 @@ impl FrameClock { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"resume-events\0".as_ptr() as *const _, + c"resume-events".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( resume_events_trampoline:: as *const (), )), @@ -250,7 +250,7 @@ impl FrameClock { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"update\0".as_ptr() as *const _, + c"update".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( update_trampoline:: as *const (), )), diff --git a/gdk4/src/auto/gl_context.rs b/gdk4/src/auto/gl_context.rs index 7337fdc51ef5..fda34a61730b 100644 --- a/gdk4/src/auto/gl_context.rs +++ b/gdk4/src/auto/gl_context.rs @@ -264,7 +264,7 @@ pub trait GLContextExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::allowed-apis\0".as_ptr() as *const _, + c"notify::allowed-apis".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_allowed_apis_trampoline:: as *const (), )), @@ -289,7 +289,7 @@ pub trait GLContextExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::api\0".as_ptr() as *const _, + c"notify::api".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_api_trampoline:: as *const (), )), diff --git a/gdk4/src/auto/gl_texture_builder.rs b/gdk4/src/auto/gl_texture_builder.rs index 8275c471d2e7..160fa999e68f 100644 --- a/gdk4/src/auto/gl_texture_builder.rs +++ b/gdk4/src/auto/gl_texture_builder.rs @@ -151,7 +151,7 @@ impl GLTextureBuilder { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::color-state\0".as_ptr() as *const _, + c"notify::color-state".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_color_state_trampoline:: as *const (), )), diff --git a/gdk4/src/auto/memory_texture_builder.rs b/gdk4/src/auto/memory_texture_builder.rs index 07a6b36f50fe..cedd638964a6 100644 --- a/gdk4/src/auto/memory_texture_builder.rs +++ b/gdk4/src/auto/memory_texture_builder.rs @@ -199,7 +199,7 @@ impl MemoryTextureBuilder { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::bytes\0".as_ptr() as *const _, + c"notify::bytes".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_bytes_trampoline:: as *const (), )), @@ -229,7 +229,7 @@ impl MemoryTextureBuilder { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::color-state\0".as_ptr() as *const _, + c"notify::color-state".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_color_state_trampoline:: as *const (), )), @@ -259,7 +259,7 @@ impl MemoryTextureBuilder { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::format\0".as_ptr() as *const _, + c"notify::format".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_format_trampoline:: as *const (), )), @@ -289,7 +289,7 @@ impl MemoryTextureBuilder { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::height\0".as_ptr() as *const _, + c"notify::height".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_height_trampoline:: as *const (), )), @@ -319,7 +319,7 @@ impl MemoryTextureBuilder { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::stride\0".as_ptr() as *const _, + c"notify::stride".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_stride_trampoline:: as *const (), )), @@ -349,7 +349,7 @@ impl MemoryTextureBuilder { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::update-region\0".as_ptr() as *const _, + c"notify::update-region".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_update_region_trampoline:: as *const (), )), @@ -379,7 +379,7 @@ impl MemoryTextureBuilder { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::update-texture\0".as_ptr() as *const _, + c"notify::update-texture".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_update_texture_trampoline:: as *const (), )), @@ -409,7 +409,7 @@ impl MemoryTextureBuilder { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::width\0".as_ptr() as *const _, + c"notify::width".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_width_trampoline:: as *const (), )), diff --git a/gdk4/src/auto/monitor.rs b/gdk4/src/auto/monitor.rs index bf0d16447751..e8af1cef552f 100644 --- a/gdk4/src/auto/monitor.rs +++ b/gdk4/src/auto/monitor.rs @@ -147,7 +147,7 @@ pub trait MonitorExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"invalidate\0".as_ptr() as *const _, + c"invalidate".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( invalidate_trampoline:: as *const (), )), @@ -170,7 +170,7 @@ pub trait MonitorExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::connector\0".as_ptr() as *const _, + c"notify::connector".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_connector_trampoline:: as *const (), )), @@ -195,7 +195,7 @@ pub trait MonitorExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::description\0".as_ptr() as *const _, + c"notify::description".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_description_trampoline:: as *const (), )), @@ -218,7 +218,7 @@ pub trait MonitorExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::geometry\0".as_ptr() as *const _, + c"notify::geometry".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_geometry_trampoline:: as *const (), )), @@ -241,7 +241,7 @@ pub trait MonitorExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::height-mm\0".as_ptr() as *const _, + c"notify::height-mm".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_height_mm_trampoline:: as *const (), )), @@ -267,7 +267,7 @@ pub trait MonitorExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::manufacturer\0".as_ptr() as *const _, + c"notify::manufacturer".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_manufacturer_trampoline:: as *const (), )), @@ -290,7 +290,7 @@ pub trait MonitorExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::model\0".as_ptr() as *const _, + c"notify::model".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_model_trampoline:: as *const (), )), @@ -316,7 +316,7 @@ pub trait MonitorExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::refresh-rate\0".as_ptr() as *const _, + c"notify::refresh-rate".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_refresh_rate_trampoline:: as *const (), )), @@ -341,7 +341,7 @@ pub trait MonitorExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::scale\0".as_ptr() as *const _, + c"notify::scale".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_scale_trampoline:: as *const (), )), @@ -367,7 +367,7 @@ pub trait MonitorExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::scale-factor\0".as_ptr() as *const _, + c"notify::scale-factor".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_scale_factor_trampoline:: as *const (), )), @@ -393,7 +393,7 @@ pub trait MonitorExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::subpixel-layout\0".as_ptr() as *const _, + c"notify::subpixel-layout".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_subpixel_layout_trampoline:: as *const (), )), @@ -416,7 +416,7 @@ pub trait MonitorExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::valid\0".as_ptr() as *const _, + c"notify::valid".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_valid_trampoline:: as *const (), )), @@ -439,7 +439,7 @@ pub trait MonitorExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::width-mm\0".as_ptr() as *const _, + c"notify::width-mm".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_width_mm_trampoline:: as *const (), )), diff --git a/gdk4/src/auto/paintable.rs b/gdk4/src/auto/paintable.rs index 04f4a43dc02f..739a7aa6dab6 100644 --- a/gdk4/src/auto/paintable.rs +++ b/gdk4/src/auto/paintable.rs @@ -136,7 +136,7 @@ pub trait PaintableExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"invalidate-contents\0".as_ptr() as *const _, + c"invalidate-contents".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( invalidate_contents_trampoline:: as *const (), )), @@ -158,7 +158,7 @@ pub trait PaintableExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"invalidate-size\0".as_ptr() as *const _, + c"invalidate-size".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( invalidate_size_trampoline:: as *const (), )), diff --git a/gdk4/src/auto/seat.rs b/gdk4/src/auto/seat.rs index 02f29335687d..8ad5f4db4a54 100644 --- a/gdk4/src/auto/seat.rs +++ b/gdk4/src/auto/seat.rs @@ -90,7 +90,7 @@ pub trait SeatExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"device-added\0".as_ptr() as *const _, + c"device-added".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( device_added_trampoline:: as *const (), )), @@ -119,7 +119,7 @@ pub trait SeatExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"device-removed\0".as_ptr() as *const _, + c"device-removed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( device_removed_trampoline:: as *const (), )), @@ -148,7 +148,7 @@ pub trait SeatExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"tool-added\0".as_ptr() as *const _, + c"tool-added".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( tool_added_trampoline:: as *const (), )), @@ -177,7 +177,7 @@ pub trait SeatExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"tool-removed\0".as_ptr() as *const _, + c"tool-removed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( tool_removed_trampoline:: as *const (), )), diff --git a/gdk4/src/auto/surface.rs b/gdk4/src/auto/surface.rs index f5cba7d9e6db..c2e56358593d 100644 --- a/gdk4/src/auto/surface.rs +++ b/gdk4/src/auto/surface.rs @@ -287,7 +287,7 @@ pub trait SurfaceExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"enter-monitor\0".as_ptr() as *const _, + c"enter-monitor".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( enter_monitor_trampoline:: as *const (), )), @@ -317,7 +317,7 @@ pub trait SurfaceExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"event\0".as_ptr() as *const _, + c"event".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( event_trampoline:: as *const (), )), @@ -345,7 +345,7 @@ pub trait SurfaceExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"layout\0".as_ptr() as *const _, + c"layout".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( layout_trampoline:: as *const (), )), @@ -374,7 +374,7 @@ pub trait SurfaceExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"leave-monitor\0".as_ptr() as *const _, + c"leave-monitor".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( leave_monitor_trampoline:: as *const (), )), @@ -407,7 +407,7 @@ pub trait SurfaceExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"render\0".as_ptr() as *const _, + c"render".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( render_trampoline:: as *const (), )), @@ -430,7 +430,7 @@ pub trait SurfaceExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::cursor\0".as_ptr() as *const _, + c"notify::cursor".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_cursor_trampoline:: as *const (), )), @@ -453,7 +453,7 @@ pub trait SurfaceExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::height\0".as_ptr() as *const _, + c"notify::height".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_height_trampoline:: as *const (), )), @@ -476,7 +476,7 @@ pub trait SurfaceExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::mapped\0".as_ptr() as *const _, + c"notify::mapped".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_mapped_trampoline:: as *const (), )), @@ -501,7 +501,7 @@ pub trait SurfaceExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::scale\0".as_ptr() as *const _, + c"notify::scale".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_scale_trampoline:: as *const (), )), @@ -527,7 +527,7 @@ pub trait SurfaceExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::scale-factor\0".as_ptr() as *const _, + c"notify::scale-factor".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_scale_factor_trampoline:: as *const (), )), @@ -550,7 +550,7 @@ pub trait SurfaceExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::width\0".as_ptr() as *const _, + c"notify::width".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_width_trampoline:: as *const (), )), diff --git a/gdk4/src/auto/toplevel.rs b/gdk4/src/auto/toplevel.rs index 2e418a207652..035a740b3d2b 100644 --- a/gdk4/src/auto/toplevel.rs +++ b/gdk4/src/auto/toplevel.rs @@ -270,7 +270,7 @@ pub trait ToplevelExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::decorated\0".as_ptr() as *const _, + c"notify::decorated".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_decorated_trampoline:: as *const (), )), @@ -293,7 +293,7 @@ pub trait ToplevelExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::deletable\0".as_ptr() as *const _, + c"notify::deletable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_deletable_trampoline:: as *const (), )), @@ -319,7 +319,7 @@ pub trait ToplevelExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::fullscreen-mode\0".as_ptr() as *const _, + c"notify::fullscreen-mode".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_fullscreen_mode_trampoline:: as *const (), )), @@ -342,7 +342,7 @@ pub trait ToplevelExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::icon-list\0".as_ptr() as *const _, + c"notify::icon-list".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_icon_list_trampoline:: as *const (), )), @@ -365,7 +365,7 @@ pub trait ToplevelExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::modal\0".as_ptr() as *const _, + c"notify::modal".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_modal_trampoline:: as *const (), )), @@ -391,7 +391,7 @@ pub trait ToplevelExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::shortcuts-inhibited\0".as_ptr() as *const _, + c"notify::shortcuts-inhibited".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_shortcuts_inhibited_trampoline:: as *const (), )), @@ -414,7 +414,7 @@ pub trait ToplevelExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::startup-id\0".as_ptr() as *const _, + c"notify::startup-id".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_startup_id_trampoline:: as *const (), )), @@ -437,7 +437,7 @@ pub trait ToplevelExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::state\0".as_ptr() as *const _, + c"notify::state".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_state_trampoline:: as *const (), )), @@ -460,7 +460,7 @@ pub trait ToplevelExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::title\0".as_ptr() as *const _, + c"notify::title".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_title_trampoline:: as *const (), )), @@ -486,7 +486,7 @@ pub trait ToplevelExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::transient-for\0".as_ptr() as *const _, + c"notify::transient-for".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_transient_for_trampoline:: as *const (), )), diff --git a/gdk4/src/auto/versions.txt b/gdk4/src/auto/versions.txt index 5af8e497d2f0..74c43b552360 100644 --- a/gdk4/src/auto/versions.txt +++ b/gdk4/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) -from gir-files (https://github.com/gtk-rs/gir-files @ c05f5cc23cb7) +Generated by gir (https://github.com/gtk-rs/gir @ 8c3c93b02091) +from gir-files (https://github.com/gtk-rs/gir-files @ b19fc8902d65) diff --git a/gdk4/src/auto/vulkan_context.rs b/gdk4/src/auto/vulkan_context.rs index 9beacf914a87..24e73a210a51 100644 --- a/gdk4/src/auto/vulkan_context.rs +++ b/gdk4/src/auto/vulkan_context.rs @@ -33,7 +33,7 @@ impl VulkanContext { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"images-updated\0".as_ptr() as *const _, + c"images-updated".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( images_updated_trampoline:: as *const (), )), diff --git a/gdk4/sys/src/lib.rs b/gdk4/sys/src/lib.rs index df07ed285c69..030cac15fd2b 100644 --- a/gdk4/sys/src/lib.rs +++ b/gdk4/sys/src/lib.rs @@ -4080,6 +4080,9 @@ extern "C" { formats: *const GdkContentFormats, n_mime_types: *mut size_t, ) -> *const *const c_char; + #[cfg(feature = "v4_18")] + #[cfg_attr(docsrs, doc(cfg(feature = "v4_18")))] + pub fn gdk_content_formats_is_empty(formats: *mut GdkContentFormats) -> gboolean; pub fn gdk_content_formats_match( first: *const GdkContentFormats, second: *const GdkContentFormats, diff --git a/gdk4/sys/versions.txt b/gdk4/sys/versions.txt index 5af8e497d2f0..74c43b552360 100644 --- a/gdk4/sys/versions.txt +++ b/gdk4/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) -from gir-files (https://github.com/gtk-rs/gir-files @ c05f5cc23cb7) +Generated by gir (https://github.com/gtk-rs/gir @ 8c3c93b02091) +from gir-files (https://github.com/gtk-rs/gir-files @ b19fc8902d65) diff --git a/gir b/gir index 1b34ebba86cb..8c3c93b02091 160000 --- a/gir +++ b/gir @@ -1 +1 @@ -Subproject commit 1b34ebba86cb5c5c6b474b1693f8aeb55b88477d +Subproject commit 8c3c93b020919539f9abcdd477848ef6cf609657 diff --git a/gsk4/src/auto/renderer.rs b/gsk4/src/auto/renderer.rs index 7025bdfea9a9..ccc407412d36 100644 --- a/gsk4/src/auto/renderer.rs +++ b/gsk4/src/auto/renderer.rs @@ -136,7 +136,7 @@ pub trait GskRendererExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::realized\0".as_ptr() as *const _, + c"notify::realized".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_realized_trampoline:: as *const (), )), @@ -159,7 +159,7 @@ pub trait GskRendererExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::surface\0".as_ptr() as *const _, + c"notify::surface".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_surface_trampoline:: as *const (), )), diff --git a/gsk4/src/auto/versions.txt b/gsk4/src/auto/versions.txt index 5af8e497d2f0..74c43b552360 100644 --- a/gsk4/src/auto/versions.txt +++ b/gsk4/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) -from gir-files (https://github.com/gtk-rs/gir-files @ c05f5cc23cb7) +Generated by gir (https://github.com/gtk-rs/gir @ 8c3c93b02091) +from gir-files (https://github.com/gtk-rs/gir-files @ b19fc8902d65) diff --git a/gsk4/sys/versions.txt b/gsk4/sys/versions.txt index 5af8e497d2f0..74c43b552360 100644 --- a/gsk4/sys/versions.txt +++ b/gsk4/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) -from gir-files (https://github.com/gtk-rs/gir-files @ c05f5cc23cb7) +Generated by gir (https://github.com/gtk-rs/gir @ 8c3c93b02091) +from gir-files (https://github.com/gtk-rs/gir-files @ b19fc8902d65) diff --git a/gtk4/src/auto/about_dialog.rs b/gtk4/src/auto/about_dialog.rs index fcdc48b3ca77..812069353c11 100644 --- a/gtk4/src/auto/about_dialog.rs +++ b/gtk4/src/auto/about_dialog.rs @@ -360,7 +360,7 @@ impl AboutDialog { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"activate-link\0".as_ptr() as *const _, + c"activate-link".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( activate_link_trampoline:: as *const (), )), @@ -383,7 +383,7 @@ impl AboutDialog { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::artists\0".as_ptr() as *const _, + c"notify::artists".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_artists_trampoline:: as *const (), )), @@ -406,7 +406,7 @@ impl AboutDialog { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::authors\0".as_ptr() as *const _, + c"notify::authors".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_authors_trampoline:: as *const (), )), @@ -429,7 +429,7 @@ impl AboutDialog { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::comments\0".as_ptr() as *const _, + c"notify::comments".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_comments_trampoline:: as *const (), )), @@ -452,7 +452,7 @@ impl AboutDialog { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::copyright\0".as_ptr() as *const _, + c"notify::copyright".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_copyright_trampoline:: as *const (), )), @@ -475,7 +475,7 @@ impl AboutDialog { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::documenters\0".as_ptr() as *const _, + c"notify::documenters".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_documenters_trampoline:: as *const (), )), @@ -498,7 +498,7 @@ impl AboutDialog { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::license\0".as_ptr() as *const _, + c"notify::license".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_license_trampoline:: as *const (), )), @@ -521,7 +521,7 @@ impl AboutDialog { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::license-type\0".as_ptr() as *const _, + c"notify::license-type".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_license_type_trampoline:: as *const (), )), @@ -544,7 +544,7 @@ impl AboutDialog { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::logo\0".as_ptr() as *const _, + c"notify::logo".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_logo_trampoline:: as *const (), )), @@ -567,7 +567,7 @@ impl AboutDialog { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::logo-icon-name\0".as_ptr() as *const _, + c"notify::logo-icon-name".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_logo_icon_name_trampoline:: as *const (), )), @@ -590,7 +590,7 @@ impl AboutDialog { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::program-name\0".as_ptr() as *const _, + c"notify::program-name".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_program_name_trampoline:: as *const (), )), @@ -616,7 +616,7 @@ impl AboutDialog { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::system-information\0".as_ptr() as *const _, + c"notify::system-information".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_system_information_trampoline:: as *const (), )), @@ -642,7 +642,7 @@ impl AboutDialog { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::translator-credits\0".as_ptr() as *const _, + c"notify::translator-credits".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_translator_credits_trampoline:: as *const (), )), @@ -665,7 +665,7 @@ impl AboutDialog { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::version\0".as_ptr() as *const _, + c"notify::version".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_version_trampoline:: as *const (), )), @@ -688,7 +688,7 @@ impl AboutDialog { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::website\0".as_ptr() as *const _, + c"notify::website".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_website_trampoline:: as *const (), )), @@ -711,7 +711,7 @@ impl AboutDialog { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::website-label\0".as_ptr() as *const _, + c"notify::website-label".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_website_label_trampoline:: as *const (), )), @@ -734,7 +734,7 @@ impl AboutDialog { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::wrap-license\0".as_ptr() as *const _, + c"notify::wrap-license".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_wrap_license_trampoline:: as *const (), )), diff --git a/gtk4/src/auto/accessible.rs b/gtk4/src/auto/accessible.rs index 8b971495683d..e42ba9c80a25 100644 --- a/gtk4/src/auto/accessible.rs +++ b/gtk4/src/auto/accessible.rs @@ -226,7 +226,7 @@ pub trait AccessibleExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::accessible-role\0".as_ptr() as *const _, + c"notify::accessible-role".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_accessible_role_trampoline:: as *const (), )), diff --git a/gtk4/src/auto/action_bar.rs b/gtk4/src/auto/action_bar.rs index d9d1d0d99054..20d5a4648519 100644 --- a/gtk4/src/auto/action_bar.rs +++ b/gtk4/src/auto/action_bar.rs @@ -103,7 +103,7 @@ impl ActionBar { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::revealed\0".as_ptr() as *const _, + c"notify::revealed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_revealed_trampoline:: as *const (), )), diff --git a/gtk4/src/auto/actionable.rs b/gtk4/src/auto/actionable.rs index b2848705be46..3d79f93c079f 100644 --- a/gtk4/src/auto/actionable.rs +++ b/gtk4/src/auto/actionable.rs @@ -95,7 +95,7 @@ pub trait ActionableExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::action-name\0".as_ptr() as *const _, + c"notify::action-name".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_action_name_trampoline:: as *const (), )), @@ -121,7 +121,7 @@ pub trait ActionableExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::action-target\0".as_ptr() as *const _, + c"notify::action-target".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_action_target_trampoline:: as *const (), )), diff --git a/gtk4/src/auto/adjustment.rs b/gtk4/src/auto/adjustment.rs index 0143b5a8b2f2..c9eefff656d0 100644 --- a/gtk4/src/auto/adjustment.rs +++ b/gtk4/src/auto/adjustment.rs @@ -257,7 +257,7 @@ pub trait AdjustmentExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"changed\0".as_ptr() as *const _, + c"changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( changed_trampoline:: as *const (), )), @@ -279,7 +279,7 @@ pub trait AdjustmentExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"value-changed\0".as_ptr() as *const _, + c"value-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( value_changed_trampoline:: as *const (), )), @@ -302,7 +302,7 @@ pub trait AdjustmentExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::lower\0".as_ptr() as *const _, + c"notify::lower".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_lower_trampoline:: as *const (), )), @@ -328,7 +328,7 @@ pub trait AdjustmentExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::page-increment\0".as_ptr() as *const _, + c"notify::page-increment".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_page_increment_trampoline:: as *const (), )), @@ -354,7 +354,7 @@ pub trait AdjustmentExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::page-size\0".as_ptr() as *const _, + c"notify::page-size".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_page_size_trampoline:: as *const (), )), @@ -380,7 +380,7 @@ pub trait AdjustmentExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::step-increment\0".as_ptr() as *const _, + c"notify::step-increment".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_step_increment_trampoline:: as *const (), )), @@ -403,7 +403,7 @@ pub trait AdjustmentExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::upper\0".as_ptr() as *const _, + c"notify::upper".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_upper_trampoline:: as *const (), )), @@ -426,7 +426,7 @@ pub trait AdjustmentExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::value\0".as_ptr() as *const _, + c"notify::value".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_value_trampoline:: as *const (), )), diff --git a/gtk4/src/auto/alert_dialog.rs b/gtk4/src/auto/alert_dialog.rs index 3c280423875e..cb8b57c3254a 100644 --- a/gtk4/src/auto/alert_dialog.rs +++ b/gtk4/src/auto/alert_dialog.rs @@ -215,7 +215,7 @@ impl AlertDialog { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::buttons\0".as_ptr() as *const _, + c"notify::buttons".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_buttons_trampoline:: as *const (), )), @@ -240,7 +240,7 @@ impl AlertDialog { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::cancel-button\0".as_ptr() as *const _, + c"notify::cancel-button".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_cancel_button_trampoline:: as *const (), )), @@ -265,7 +265,7 @@ impl AlertDialog { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::default-button\0".as_ptr() as *const _, + c"notify::default-button".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_default_button_trampoline:: as *const (), )), @@ -290,7 +290,7 @@ impl AlertDialog { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::detail\0".as_ptr() as *const _, + c"notify::detail".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_detail_trampoline:: as *const (), )), @@ -315,7 +315,7 @@ impl AlertDialog { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::message\0".as_ptr() as *const _, + c"notify::message".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_message_trampoline:: as *const (), )), @@ -340,7 +340,7 @@ impl AlertDialog { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::modal\0".as_ptr() as *const _, + c"notify::modal".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_modal_trampoline:: as *const (), )), diff --git a/gtk4/src/auto/app_chooser_button.rs b/gtk4/src/auto/app_chooser_button.rs index 357a937aacbe..c81fe748ed44 100644 --- a/gtk4/src/auto/app_chooser_button.rs +++ b/gtk4/src/auto/app_chooser_button.rs @@ -191,7 +191,7 @@ impl AppChooserButton { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"activate\0".as_ptr() as *const _, + c"activate".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( activate_trampoline:: as *const (), )), @@ -219,7 +219,7 @@ impl AppChooserButton { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"changed\0".as_ptr() as *const _, + c"changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( changed_trampoline:: as *const (), )), @@ -279,7 +279,7 @@ impl AppChooserButton { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::heading\0".as_ptr() as *const _, + c"notify::heading".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_heading_trampoline:: as *const (), )), @@ -302,7 +302,7 @@ impl AppChooserButton { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::modal\0".as_ptr() as *const _, + c"notify::modal".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_modal_trampoline:: as *const (), )), @@ -330,7 +330,7 @@ impl AppChooserButton { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-default-item\0".as_ptr() as *const _, + c"notify::show-default-item".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_default_item_trampoline:: as *const (), )), @@ -355,7 +355,7 @@ impl AppChooserButton { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-dialog-item\0".as_ptr() as *const _, + c"notify::show-dialog-item".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_dialog_item_trampoline:: as *const (), )), diff --git a/gtk4/src/auto/app_chooser_dialog.rs b/gtk4/src/auto/app_chooser_dialog.rs index 0b9b8f52fab5..fbce25a4eb8b 100644 --- a/gtk4/src/auto/app_chooser_dialog.rs +++ b/gtk4/src/auto/app_chooser_dialog.rs @@ -118,7 +118,7 @@ impl AppChooserDialog { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::heading\0".as_ptr() as *const _, + c"notify::heading".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_heading_trampoline:: as *const (), )), diff --git a/gtk4/src/auto/app_chooser_widget.rs b/gtk4/src/auto/app_chooser_widget.rs index 9aea93dbb953..f5a2b0346e38 100644 --- a/gtk4/src/auto/app_chooser_widget.rs +++ b/gtk4/src/auto/app_chooser_widget.rs @@ -214,7 +214,7 @@ impl AppChooserWidget { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"application-activated\0".as_ptr() as *const _, + c"application-activated".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( application_activated_trampoline:: as *const (), )), @@ -242,7 +242,7 @@ impl AppChooserWidget { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"application-selected\0".as_ptr() as *const _, + c"application-selected".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( application_selected_trampoline:: as *const (), )), @@ -265,7 +265,7 @@ impl AppChooserWidget { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::default-text\0".as_ptr() as *const _, + c"notify::default-text".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_default_text_trampoline:: as *const (), )), @@ -288,7 +288,7 @@ impl AppChooserWidget { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-all\0".as_ptr() as *const _, + c"notify::show-all".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_all_trampoline:: as *const (), )), @@ -311,7 +311,7 @@ impl AppChooserWidget { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-default\0".as_ptr() as *const _, + c"notify::show-default".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_default_trampoline:: as *const (), )), @@ -334,7 +334,7 @@ impl AppChooserWidget { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-fallback\0".as_ptr() as *const _, + c"notify::show-fallback".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_fallback_trampoline:: as *const (), )), @@ -357,7 +357,7 @@ impl AppChooserWidget { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-other\0".as_ptr() as *const _, + c"notify::show-other".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_other_trampoline:: as *const (), )), @@ -382,7 +382,7 @@ impl AppChooserWidget { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-recommended\0".as_ptr() as *const _, + c"notify::show-recommended".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_recommended_trampoline:: as *const (), )), diff --git a/gtk4/src/auto/application.rs b/gtk4/src/auto/application.rs index 5e58259f827d..f4ee2cb88585 100644 --- a/gtk4/src/auto/application.rs +++ b/gtk4/src/auto/application.rs @@ -288,7 +288,7 @@ pub trait GtkApplicationExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"query-end\0".as_ptr() as *const _, + c"query-end".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( query_end_trampoline:: as *const (), )), @@ -317,7 +317,7 @@ pub trait GtkApplicationExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"window-added\0".as_ptr() as *const _, + c"window-added".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( window_added_trampoline:: as *const (), )), @@ -346,7 +346,7 @@ pub trait GtkApplicationExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"window-removed\0".as_ptr() as *const _, + c"window-removed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( window_removed_trampoline:: as *const (), )), @@ -372,7 +372,7 @@ pub trait GtkApplicationExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::active-window\0".as_ptr() as *const _, + c"notify::active-window".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_active_window_trampoline:: as *const (), )), @@ -395,7 +395,7 @@ pub trait GtkApplicationExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::menubar\0".as_ptr() as *const _, + c"notify::menubar".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_menubar_trampoline:: as *const (), )), @@ -421,7 +421,7 @@ pub trait GtkApplicationExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::register-session\0".as_ptr() as *const _, + c"notify::register-session".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_register_session_trampoline:: as *const (), )), @@ -447,7 +447,7 @@ pub trait GtkApplicationExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::screensaver-active\0".as_ptr() as *const _, + c"notify::screensaver-active".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_screensaver_active_trampoline:: as *const (), )), diff --git a/gtk4/src/auto/application_window.rs b/gtk4/src/auto/application_window.rs index 349e7ca927cd..4353d6e6e0dd 100644 --- a/gtk4/src/auto/application_window.rs +++ b/gtk4/src/auto/application_window.rs @@ -488,7 +488,7 @@ pub trait ApplicationWindowExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-menubar\0".as_ptr() as *const _, + c"notify::show-menubar".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_menubar_trampoline:: as *const (), )), diff --git a/gtk4/src/auto/aspect_frame.rs b/gtk4/src/auto/aspect_frame.rs index bbf8c91fa25b..acf82f5f482e 100644 --- a/gtk4/src/auto/aspect_frame.rs +++ b/gtk4/src/auto/aspect_frame.rs @@ -133,7 +133,7 @@ impl AspectFrame { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::child\0".as_ptr() as *const _, + c"notify::child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_child_trampoline:: as *const (), )), @@ -156,7 +156,7 @@ impl AspectFrame { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::obey-child\0".as_ptr() as *const _, + c"notify::obey-child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_obey_child_trampoline:: as *const (), )), @@ -179,7 +179,7 @@ impl AspectFrame { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::ratio\0".as_ptr() as *const _, + c"notify::ratio".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_ratio_trampoline:: as *const (), )), @@ -202,7 +202,7 @@ impl AspectFrame { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::xalign\0".as_ptr() as *const _, + c"notify::xalign".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_xalign_trampoline:: as *const (), )), @@ -225,7 +225,7 @@ impl AspectFrame { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::yalign\0".as_ptr() as *const _, + c"notify::yalign".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_yalign_trampoline:: as *const (), )), diff --git a/gtk4/src/auto/assistant.rs b/gtk4/src/auto/assistant.rs index 9323ff2d84c1..c3d95ff1c944 100644 --- a/gtk4/src/auto/assistant.rs +++ b/gtk4/src/auto/assistant.rs @@ -326,7 +326,7 @@ impl Assistant { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"apply\0".as_ptr() as *const _, + c"apply".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( apply_trampoline:: as *const (), )), @@ -349,7 +349,7 @@ impl Assistant { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"cancel\0".as_ptr() as *const _, + c"cancel".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( cancel_trampoline:: as *const (), )), @@ -372,7 +372,7 @@ impl Assistant { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"close\0".as_ptr() as *const _, + c"close".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( close_trampoline:: as *const (), )), @@ -395,7 +395,7 @@ impl Assistant { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"escape\0".as_ptr() as *const _, + c"escape".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( escape_trampoline:: as *const (), )), @@ -424,7 +424,7 @@ impl Assistant { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"prepare\0".as_ptr() as *const _, + c"prepare".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( prepare_trampoline:: as *const (), )), @@ -447,7 +447,7 @@ impl Assistant { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::pages\0".as_ptr() as *const _, + c"notify::pages".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_pages_trampoline:: as *const (), )), diff --git a/gtk4/src/auto/assistant_page.rs b/gtk4/src/auto/assistant_page.rs index cd6befbe54b5..b184a8447ea9 100644 --- a/gtk4/src/auto/assistant_page.rs +++ b/gtk4/src/auto/assistant_page.rs @@ -76,7 +76,7 @@ impl AssistantPage { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::complete\0".as_ptr() as *const _, + c"notify::complete".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_complete_trampoline:: as *const (), )), @@ -100,7 +100,7 @@ impl AssistantPage { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::page-type\0".as_ptr() as *const _, + c"notify::page-type".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_page_type_trampoline:: as *const (), )), @@ -124,7 +124,7 @@ impl AssistantPage { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::title\0".as_ptr() as *const _, + c"notify::title".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_title_trampoline:: as *const (), )), diff --git a/gtk4/src/auto/at_context.rs b/gtk4/src/auto/at_context.rs index 34e79926e6f4..832e19b982f2 100644 --- a/gtk4/src/auto/at_context.rs +++ b/gtk4/src/auto/at_context.rs @@ -79,7 +79,7 @@ impl ATContext { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"state-change\0".as_ptr() as *const _, + c"state-change".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( state_change_trampoline:: as *const (), )), @@ -102,7 +102,7 @@ impl ATContext { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::accessible-role\0".as_ptr() as *const _, + c"notify::accessible-role".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_accessible_role_trampoline:: as *const (), )), @@ -125,7 +125,7 @@ impl ATContext { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::display\0".as_ptr() as *const _, + c"notify::display".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_display_trampoline:: as *const (), )), diff --git a/gtk4/src/auto/bookmark_list.rs b/gtk4/src/auto/bookmark_list.rs index 57acb0a13bc7..e9cbc816b34d 100644 --- a/gtk4/src/auto/bookmark_list.rs +++ b/gtk4/src/auto/bookmark_list.rs @@ -77,7 +77,7 @@ impl BookmarkList { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::attributes\0".as_ptr() as *const _, + c"notify::attributes".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_attributes_trampoline:: as *const (), )), @@ -100,7 +100,7 @@ impl BookmarkList { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::io-priority\0".as_ptr() as *const _, + c"notify::io-priority".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_io_priority_trampoline:: as *const (), )), @@ -123,7 +123,7 @@ impl BookmarkList { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::loading\0".as_ptr() as *const _, + c"notify::loading".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_loading_trampoline:: as *const (), )), diff --git a/gtk4/src/auto/bool_filter.rs b/gtk4/src/auto/bool_filter.rs index 4856234c9e0f..c0d9115ba18b 100644 --- a/gtk4/src/auto/bool_filter.rs +++ b/gtk4/src/auto/bool_filter.rs @@ -86,7 +86,7 @@ impl BoolFilter { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::expression\0".as_ptr() as *const _, + c"notify::expression".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_expression_trampoline:: as *const (), )), @@ -109,7 +109,7 @@ impl BoolFilter { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::invert\0".as_ptr() as *const _, + c"notify::invert".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_invert_trampoline:: as *const (), )), diff --git a/gtk4/src/auto/box_.rs b/gtk4/src/auto/box_.rs index cb16f488c261..0dd9beb6f94e 100644 --- a/gtk4/src/auto/box_.rs +++ b/gtk4/src/auto/box_.rs @@ -430,7 +430,7 @@ pub trait BoxExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::baseline-child\0".as_ptr() as *const _, + c"notify::baseline-child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_baseline_child_trampoline:: as *const (), )), @@ -456,7 +456,7 @@ pub trait BoxExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::baseline-position\0".as_ptr() as *const _, + c"notify::baseline-position".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_baseline_position_trampoline:: as *const (), )), @@ -479,7 +479,7 @@ pub trait BoxExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::homogeneous\0".as_ptr() as *const _, + c"notify::homogeneous".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_homogeneous_trampoline:: as *const (), )), @@ -502,7 +502,7 @@ pub trait BoxExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::spacing\0".as_ptr() as *const _, + c"notify::spacing".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_spacing_trampoline:: as *const (), )), diff --git a/gtk4/src/auto/box_layout.rs b/gtk4/src/auto/box_layout.rs index 21f00ebc5c87..d62f7268730b 100644 --- a/gtk4/src/auto/box_layout.rs +++ b/gtk4/src/auto/box_layout.rs @@ -120,7 +120,7 @@ impl BoxLayout { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::baseline-child\0".as_ptr() as *const _, + c"notify::baseline-child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_baseline_child_trampoline:: as *const (), )), @@ -146,7 +146,7 @@ impl BoxLayout { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::baseline-position\0".as_ptr() as *const _, + c"notify::baseline-position".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_baseline_position_trampoline:: as *const (), )), @@ -169,7 +169,7 @@ impl BoxLayout { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::homogeneous\0".as_ptr() as *const _, + c"notify::homogeneous".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_homogeneous_trampoline:: as *const (), )), @@ -192,7 +192,7 @@ impl BoxLayout { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::spacing\0".as_ptr() as *const _, + c"notify::spacing".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_spacing_trampoline:: as *const (), )), diff --git a/gtk4/src/auto/builder.rs b/gtk4/src/auto/builder.rs index 9bf1e521d604..fea67fead0ec 100644 --- a/gtk4/src/auto/builder.rs +++ b/gtk4/src/auto/builder.rs @@ -353,7 +353,7 @@ impl Builder { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::current-object\0".as_ptr() as *const _, + c"notify::current-object".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_current_object_trampoline:: as *const (), )), @@ -376,7 +376,7 @@ impl Builder { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::scope\0".as_ptr() as *const _, + c"notify::scope".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_scope_trampoline:: as *const (), )), @@ -402,7 +402,7 @@ impl Builder { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::translation-domain\0".as_ptr() as *const _, + c"notify::translation-domain".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_translation_domain_trampoline:: as *const (), )), diff --git a/gtk4/src/auto/button.rs b/gtk4/src/auto/button.rs index 538b6d4c920c..cf72c3e8324d 100644 --- a/gtk4/src/auto/button.rs +++ b/gtk4/src/auto/button.rs @@ -470,7 +470,7 @@ pub trait ButtonExt: IsA