From 34cea100a883285bd45af75bba0e179313f1a822 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 16 Dec 2024 20:00:48 +0200 Subject: [PATCH 1/4] Update gir --- gir | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gir b/gir index 1b34ebba86cb..be3ecc201d39 160000 --- a/gir +++ b/gir @@ -1 +1 @@ -Subproject commit 1b34ebba86cb5c5c6b474b1693f8aeb55b88477d +Subproject commit be3ecc201d39c77befa1eb3abad2a3eed3c83eb0 From a98496f6739ce0e7ed7319e8be4590bc07ff280d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 16 Dec 2024 20:01:08 +0200 Subject: [PATCH 2/4] Update gir-files --- gir-files | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gir-files b/gir-files index dfdf5ed146d5..3ede86d6a218 160000 --- a/gir-files +++ b/gir-files @@ -1 +1 @@ -Subproject commit dfdf5ed146d5ad7ea808997ef518f71e5b1f343d +Subproject commit 3ede86d6a21889d58809d8bdaab33e995fda8c15 From 184c641f2ef812f7d0b20fe8dec78d95f88c45f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 16 Dec 2024 20:02:58 +0200 Subject: [PATCH 3/4] Regenerate with latest gir / gir-files Fixes https://github.com/gtk-rs/gtk-rs-core/issues/1599 --- gdk-pixbuf/src/auto/pixbuf_loader.rs | 8 +++---- gdk-pixbuf/src/auto/pixbuf_simple_anim.rs | 2 +- gdk-pixbuf/src/auto/versions.txt | 4 ++-- gdk-pixbuf/sys/versions.txt | 4 ++-- gio/src/auto/action.rs | 10 ++++---- gio/src/auto/app_info_monitor.rs | 2 +- gio/src/auto/app_launch_context.rs | 6 ++--- gio/src/auto/application.rs | 28 +++++++++++----------- gio/src/auto/application_command_line.rs | 2 +- gio/src/auto/buffered_input_stream.rs | 2 +- gio/src/auto/buffered_output_stream.rs | 4 ++-- gio/src/auto/charset_converter.rs | 2 +- gio/src/auto/data_input_stream.rs | 4 ++-- gio/src/auto/data_output_stream.rs | 2 +- gio/src/auto/dbus_auth_observer.rs | 4 ++-- gio/src/auto/dbus_connection.rs | 21 ++++++++-------- gio/src/auto/dbus_interface_skeleton.rs | 4 ++-- gio/src/auto/dbus_message.rs | 2 +- gio/src/auto/dbus_object.rs | 4 ++-- gio/src/auto/dbus_object_manager.rs | 8 +++---- gio/src/auto/dbus_object_manager_server.rs | 2 +- gio/src/auto/dbus_object_skeleton.rs | 4 ++-- gio/src/auto/dbus_proxy.rs | 17 ++++++------- gio/src/auto/dbus_server.rs | 6 ++--- gio/src/auto/debug_controller.rs | 2 +- gio/src/auto/debug_controller_dbus.rs | 2 +- gio/src/auto/drive.rs | 8 +++---- gio/src/auto/dtls_client_connection.rs | 6 ++--- gio/src/auto/dtls_connection.rs | 24 +++++++++---------- gio/src/auto/dtls_server_connection.rs | 2 +- gio/src/auto/file_monitor.rs | 6 ++--- gio/src/auto/filename_completer.rs | 2 +- gio/src/auto/filter_input_stream.rs | 2 +- gio/src/auto/filter_output_stream.rs | 2 +- gio/src/auto/inet_address.rs | 20 ++++++++-------- gio/src/auto/inet_address_mask.rs | 6 ++--- gio/src/auto/io_stream.rs | 2 +- gio/src/auto/list_model.rs | 2 +- gio/src/auto/memory_monitor.rs | 2 +- gio/src/auto/memory_output_stream.rs | 2 +- gio/src/auto/menu_model.rs | 2 +- gio/src/auto/mount.rs | 6 ++--- gio/src/auto/mount_operation.rs | 26 ++++++++++---------- gio/src/auto/network_monitor.rs | 8 +++---- gio/src/auto/network_service.rs | 2 +- gio/src/auto/permission.rs | 6 ++--- gio/src/auto/power_profile_monitor.rs | 2 +- gio/src/auto/proxy_address_enumerator.rs | 2 +- gio/src/auto/resolver.rs | 4 ++-- gio/src/auto/settings.rs | 6 ++--- gio/src/auto/simple_action.rs | 4 ++-- gio/src/auto/simple_proxy_resolver.rs | 4 ++-- gio/src/auto/socket.rs | 20 ++++++++-------- gio/src/auto/socket_address.rs | 2 +- gio/src/auto/socket_client.rs | 20 ++++++++-------- gio/src/auto/socket_listener.rs | 4 ++-- gio/src/auto/socket_service.rs | 4 ++-- gio/src/auto/tcp_connection.rs | 2 +- gio/src/auto/themed_icon.rs | 2 +- gio/src/auto/threaded_socket_service.rs | 2 +- gio/src/auto/tls_certificate.rs | 12 +++++----- gio/src/auto/tls_client_connection.rs | 6 ++--- gio/src/auto/tls_connection.rs | 24 +++++++++---------- gio/src/auto/tls_file_database.rs | 2 +- gio/src/auto/tls_password.rs | 6 ++--- gio/src/auto/tls_server_connection.rs | 2 +- gio/src/auto/unix_mount_monitor.rs | 4 ++-- gio/src/auto/versions.txt | 4 ++-- gio/src/auto/vfs.rs | 28 ++++++++++++---------- gio/src/auto/volume.rs | 4 ++-- gio/src/auto/volume_monitor.rs | 24 +++++++++---------- gio/src/auto/zlib_compressor.rs | 2 +- gio/src/auto/zlib_decompressor.rs | 2 +- gio/sys/versions.txt | 4 ++-- glib/gobject-sys/src/lib.rs | 2 +- glib/gobject-sys/versions.txt | 4 ++-- glib/src/auto/versions.txt | 4 ++-- glib/src/gobject/auto/binding_group.rs | 2 +- glib/sys/src/lib.rs | 3 +++ glib/sys/versions.txt | 4 ++-- graphene/src/auto/versions.txt | 4 ++-- graphene/sys/versions.txt | 4 ++-- pango/src/auto/font_family.rs | 6 ++--- pango/src/auto/versions.txt | 4 ++-- pango/sys/versions.txt | 4 ++-- pangocairo/src/auto/versions.txt | 4 ++-- pangocairo/sys/versions.txt | 4 ++-- 87 files changed, 276 insertions(+), 267 deletions(-) diff --git a/gdk-pixbuf/src/auto/pixbuf_loader.rs b/gdk-pixbuf/src/auto/pixbuf_loader.rs index 6858726fac88..581b57c18a81 100644 --- a/gdk-pixbuf/src/auto/pixbuf_loader.rs +++ b/gdk-pixbuf/src/auto/pixbuf_loader.rs @@ -166,7 +166,7 @@ pub trait PixbufLoaderExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"area-prepared\0".as_ptr() as *const _, + c"area-prepared".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( area_prepared_trampoline:: as *const (), )), @@ -204,7 +204,7 @@ pub trait PixbufLoaderExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"area-updated\0".as_ptr() as *const _, + c"area-updated".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( area_updated_trampoline:: as *const (), )), @@ -226,7 +226,7 @@ pub trait PixbufLoaderExt: 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 (), )), @@ -257,7 +257,7 @@ pub trait PixbufLoaderExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"size-prepared\0".as_ptr() as *const _, + c"size-prepared".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( size_prepared_trampoline:: as *const (), )), diff --git a/gdk-pixbuf/src/auto/pixbuf_simple_anim.rs b/gdk-pixbuf/src/auto/pixbuf_simple_anim.rs index 9b6ce27398dd..214a640b0e59 100644 --- a/gdk-pixbuf/src/auto/pixbuf_simple_anim.rs +++ b/gdk-pixbuf/src/auto/pixbuf_simple_anim.rs @@ -61,7 +61,7 @@ impl PixbufSimpleAnim { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::loop\0".as_ptr() as *const _, + c"notify::loop".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_loop_trampoline:: as *const (), )), diff --git a/gdk-pixbuf/src/auto/versions.txt b/gdk-pixbuf/src/auto/versions.txt index 558f7e6574ab..1a56b9ecf195 100644 --- a/gdk-pixbuf/src/auto/versions.txt +++ b/gdk-pixbuf/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 @ dfdf5ed146d5) +Generated by gir (https://github.com/gtk-rs/gir @ be3ecc201d39) +from gir-files (https://github.com/gtk-rs/gir-files @ 3ede86d6a218) diff --git a/gdk-pixbuf/sys/versions.txt b/gdk-pixbuf/sys/versions.txt index 558f7e6574ab..1a56b9ecf195 100644 --- a/gdk-pixbuf/sys/versions.txt +++ b/gdk-pixbuf/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 @ dfdf5ed146d5) +Generated by gir (https://github.com/gtk-rs/gir @ be3ecc201d39) +from gir-files (https://github.com/gtk-rs/gir-files @ 3ede86d6a218) diff --git a/gio/src/auto/action.rs b/gio/src/auto/action.rs index fc7c7265e2a9..9eb383484bd7 100644 --- a/gio/src/auto/action.rs +++ b/gio/src/auto/action.rs @@ -136,7 +136,7 @@ pub trait ActionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::enabled\0".as_ptr() as *const _, + c"notify::enabled".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_enabled_trampoline:: as *const (), )), @@ -159,7 +159,7 @@ pub trait ActionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::name\0".as_ptr() as *const _, + c"notify::name".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_name_trampoline:: as *const (), )), @@ -185,7 +185,7 @@ pub trait ActionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::parameter-type\0".as_ptr() as *const _, + c"notify::parameter-type".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_parameter_type_trampoline:: as *const (), )), @@ -208,7 +208,7 @@ pub trait ActionExt: 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 (), )), @@ -231,7 +231,7 @@ pub trait ActionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::state-type\0".as_ptr() as *const _, + c"notify::state-type".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_state_type_trampoline:: as *const (), )), diff --git a/gio/src/auto/app_info_monitor.rs b/gio/src/auto/app_info_monitor.rs index cf9ba1d15308..e1a6e3d32c3d 100644 --- a/gio/src/auto/app_info_monitor.rs +++ b/gio/src/auto/app_info_monitor.rs @@ -38,7 +38,7 @@ impl AppInfoMonitor { 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 (), )), diff --git a/gio/src/auto/app_launch_context.rs b/gio/src/auto/app_launch_context.rs index d2f8653c3cec..106738cd4593 100644 --- a/gio/src/auto/app_launch_context.rs +++ b/gio/src/auto/app_launch_context.rs @@ -124,7 +124,7 @@ pub trait AppLaunchContextExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"launch-failed\0".as_ptr() as *const _, + c"launch-failed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( launch_failed_trampoline:: as *const (), )), @@ -162,7 +162,7 @@ pub trait AppLaunchContextExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"launch-started\0".as_ptr() as *const _, + c"launch-started".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( launch_started_trampoline:: as *const (), )), @@ -196,7 +196,7 @@ pub trait AppLaunchContextExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"launched\0".as_ptr() as *const _, + c"launched".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( launched_trampoline:: as *const (), )), diff --git a/gio/src/auto/application.rs b/gio/src/auto/application.rs index 1f0be0c90db3..f98d10328cbc 100644 --- a/gio/src/auto/application.rs +++ b/gio/src/auto/application.rs @@ -454,7 +454,7 @@ pub trait ApplicationExt: IsA + 'static { 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 (), )), @@ -486,7 +486,7 @@ pub trait ApplicationExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"command-line\0".as_ptr() as *const _, + c"command-line".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( command_line_trampoline:: as *const (), )), @@ -518,7 +518,7 @@ pub trait ApplicationExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"handle-local-options\0".as_ptr() as *const _, + c"handle-local-options".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( handle_local_options_trampoline:: as *const (), )), @@ -545,7 +545,7 @@ pub trait ApplicationExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"name-lost\0".as_ptr() as *const _, + c"name-lost".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( name_lost_trampoline:: as *const (), )), @@ -567,7 +567,7 @@ pub trait ApplicationExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"shutdown\0".as_ptr() as *const _, + c"shutdown".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( shutdown_trampoline:: as *const (), )), @@ -589,7 +589,7 @@ pub trait ApplicationExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"startup\0".as_ptr() as *const _, + c"startup".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( startup_trampoline:: as *const (), )), @@ -615,7 +615,7 @@ pub trait ApplicationExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::application-id\0".as_ptr() as *const _, + c"notify::application-id".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_application_id_trampoline:: as *const (), )), @@ -638,7 +638,7 @@ pub trait ApplicationExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::flags\0".as_ptr() as *const _, + c"notify::flags".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_flags_trampoline:: as *const (), )), @@ -664,7 +664,7 @@ pub trait ApplicationExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::inactivity-timeout\0".as_ptr() as *const _, + c"notify::inactivity-timeout".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_inactivity_timeout_trampoline:: as *const (), )), @@ -687,7 +687,7 @@ pub trait ApplicationExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::is-busy\0".as_ptr() as *const _, + c"notify::is-busy".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_is_busy_trampoline:: as *const (), )), @@ -713,7 +713,7 @@ pub trait ApplicationExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::is-registered\0".as_ptr() as *const _, + c"notify::is-registered".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_is_registered_trampoline:: as *const (), )), @@ -739,7 +739,7 @@ pub trait ApplicationExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::is-remote\0".as_ptr() as *const _, + c"notify::is-remote".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_is_remote_trampoline:: as *const (), )), @@ -765,7 +765,7 @@ pub trait ApplicationExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::resource-base-path\0".as_ptr() as *const _, + c"notify::resource-base-path".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_resource_base_path_trampoline:: as *const (), )), @@ -790,7 +790,7 @@ pub trait ApplicationExt: IsA + 'static { 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 (), )), diff --git a/gio/src/auto/application_command_line.rs b/gio/src/auto/application_command_line.rs index 51ccbb676a9c..b1179cae8287 100644 --- a/gio/src/auto/application_command_line.rs +++ b/gio/src/auto/application_command_line.rs @@ -197,7 +197,7 @@ pub trait ApplicationCommandLineExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::is-remote\0".as_ptr() as *const _, + c"notify::is-remote".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_is_remote_trampoline:: as *const (), )), diff --git a/gio/src/auto/buffered_input_stream.rs b/gio/src/auto/buffered_input_stream.rs index 9d67441ffb31..6b4d53ef91d2 100644 --- a/gio/src/auto/buffered_input_stream.rs +++ b/gio/src/auto/buffered_input_stream.rs @@ -265,7 +265,7 @@ pub trait BufferedInputStreamExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::buffer-size\0".as_ptr() as *const _, + c"notify::buffer-size".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_buffer_size_trampoline:: as *const (), )), diff --git a/gio/src/auto/buffered_output_stream.rs b/gio/src/auto/buffered_output_stream.rs index cbd42e5d6d81..ffad10cee8c8 100644 --- a/gio/src/auto/buffered_output_stream.rs +++ b/gio/src/auto/buffered_output_stream.rs @@ -165,7 +165,7 @@ pub trait BufferedOutputStreamExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::auto-grow\0".as_ptr() as *const _, + c"notify::auto-grow".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_auto_grow_trampoline:: as *const (), )), @@ -191,7 +191,7 @@ pub trait BufferedOutputStreamExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::buffer-size\0".as_ptr() as *const _, + c"notify::buffer-size".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_buffer_size_trampoline:: as *const (), )), diff --git a/gio/src/auto/charset_converter.rs b/gio/src/auto/charset_converter.rs index a1e345f937c5..b71e81d6b3d6 100644 --- a/gio/src/auto/charset_converter.rs +++ b/gio/src/auto/charset_converter.rs @@ -97,7 +97,7 @@ impl CharsetConverter { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::use-fallback\0".as_ptr() as *const _, + c"notify::use-fallback".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_use_fallback_trampoline:: as *const (), )), diff --git a/gio/src/auto/data_input_stream.rs b/gio/src/auto/data_input_stream.rs index 301f8903d8ef..576d1e9065fd 100644 --- a/gio/src/auto/data_input_stream.rs +++ b/gio/src/auto/data_input_stream.rs @@ -288,7 +288,7 @@ pub trait DataInputStreamExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::byte-order\0".as_ptr() as *const _, + c"notify::byte-order".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_byte_order_trampoline:: as *const (), )), @@ -314,7 +314,7 @@ pub trait DataInputStreamExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::newline-type\0".as_ptr() as *const _, + c"notify::newline-type".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_newline_type_trampoline:: as *const (), )), diff --git a/gio/src/auto/data_output_stream.rs b/gio/src/auto/data_output_stream.rs index 392beaf34f8f..e274045efd36 100644 --- a/gio/src/auto/data_output_stream.rs +++ b/gio/src/auto/data_output_stream.rs @@ -316,7 +316,7 @@ pub trait DataOutputStreamExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::byte-order\0".as_ptr() as *const _, + c"notify::byte-order".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_byte_order_trampoline:: as *const (), )), diff --git a/gio/src/auto/dbus_auth_observer.rs b/gio/src/auto/dbus_auth_observer.rs index 56a26c07ba6a..d27dede1b213 100644 --- a/gio/src/auto/dbus_auth_observer.rs +++ b/gio/src/auto/dbus_auth_observer.rs @@ -73,7 +73,7 @@ impl DBusAuthObserver { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"allow-mechanism\0".as_ptr() as *const _, + c"allow-mechanism".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( allow_mechanism_trampoline:: as *const (), )), @@ -111,7 +111,7 @@ impl DBusAuthObserver { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"authorize-authenticated-peer\0".as_ptr() as *const _, + c"authorize-authenticated-peer".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( authorize_authenticated_peer_trampoline:: as *const (), )), diff --git a/gio/src/auto/dbus_connection.rs b/gio/src/auto/dbus_connection.rs index 9867d4834418..3a7f7caf3784 100644 --- a/gio/src/auto/dbus_connection.rs +++ b/gio/src/auto/dbus_connection.rs @@ -221,7 +221,7 @@ impl DBusConnection { #[cfg_attr(docsrs, doc(cfg(unix)))] #[doc(alias = "g_dbus_connection_call_with_unix_fd_list")] pub fn call_with_unix_fd_list< - P: FnOnce(Result<(glib::Variant, UnixFDList), glib::Error>) + 'static, + P: FnOnce(Result<(glib::Variant, Option), glib::Error>) + 'static, >( &self, bus_name: Option<&str>, @@ -249,7 +249,7 @@ impl DBusConnection { let user_data: Box_> = Box_::new(glib::thread_guard::ThreadGuard::new(callback)); unsafe extern "C" fn call_with_unix_fd_list_trampoline< - P: FnOnce(Result<(glib::Variant, UnixFDList), glib::Error>) + 'static, + P: FnOnce(Result<(glib::Variant, Option), glib::Error>) + 'static, >( _source_object: *mut glib::gobject_ffi::GObject, res: *mut crate::ffi::GAsyncResult, @@ -308,8 +308,9 @@ impl DBusConnection { fd_list: Option<&(impl IsA + Clone + 'static)>, ) -> Pin< Box_< - dyn std::future::Future> - + 'static, + dyn std::future::Future< + Output = Result<(glib::Variant, Option), glib::Error>, + > + 'static, >, > { let bus_name = bus_name.map(ToOwned::to_owned); @@ -356,7 +357,7 @@ impl DBusConnection { timeout_msec: i32, fd_list: Option<&impl IsA>, cancellable: Option<&impl IsA>, - ) -> Result<(glib::Variant, UnixFDList), glib::Error> { + ) -> Result<(glib::Variant, Option), glib::Error> { unsafe { let mut out_fd_list = std::ptr::null_mut(); let mut error = std::ptr::null_mut(); @@ -992,7 +993,7 @@ impl DBusConnection { 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 (), )), @@ -1020,7 +1021,7 @@ impl DBusConnection { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::capabilities\0".as_ptr() as *const _, + c"notify::capabilities".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_capabilities_trampoline:: as *const (), )), @@ -1048,7 +1049,7 @@ impl DBusConnection { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::closed\0".as_ptr() as *const _, + c"notify::closed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_closed_trampoline:: as *const (), )), @@ -1076,7 +1077,7 @@ impl DBusConnection { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::exit-on-close\0".as_ptr() as *const _, + c"notify::exit-on-close".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_exit_on_close_trampoline:: as *const (), )), @@ -1104,7 +1105,7 @@ impl DBusConnection { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::unique-name\0".as_ptr() as *const _, + c"notify::unique-name".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_unique_name_trampoline:: as *const (), )), diff --git a/gio/src/auto/dbus_interface_skeleton.rs b/gio/src/auto/dbus_interface_skeleton.rs index 1acd9f8f522b..d370d7291676 100644 --- a/gio/src/auto/dbus_interface_skeleton.rs +++ b/gio/src/auto/dbus_interface_skeleton.rs @@ -190,7 +190,7 @@ pub trait DBusInterfaceSkeletonExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"g-authorize-method\0".as_ptr() as *const _, + c"g-authorize-method".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( g_authorize_method_trampoline:: as *const (), )), @@ -216,7 +216,7 @@ pub trait DBusInterfaceSkeletonExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::g-flags\0".as_ptr() as *const _, + c"notify::g-flags".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_g_flags_trampoline:: as *const (), )), diff --git a/gio/src/auto/dbus_message.rs b/gio/src/auto/dbus_message.rs index 9a59019d3c51..f811d925f948 100644 --- a/gio/src/auto/dbus_message.rs +++ b/gio/src/auto/dbus_message.rs @@ -450,7 +450,7 @@ impl DBusMessage { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::locked\0".as_ptr() as *const _, + c"notify::locked".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_locked_trampoline:: as *const (), )), diff --git a/gio/src/auto/dbus_object.rs b/gio/src/auto/dbus_object.rs index d45c17d2f7e6..fce91c3f96a1 100644 --- a/gio/src/auto/dbus_object.rs +++ b/gio/src/auto/dbus_object.rs @@ -78,7 +78,7 @@ pub trait DBusObjectExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"interface-added\0".as_ptr() as *const _, + c"interface-added".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( interface_added_trampoline:: as *const (), )), @@ -110,7 +110,7 @@ pub trait DBusObjectExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"interface-removed\0".as_ptr() as *const _, + c"interface-removed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( interface_removed_trampoline:: as *const (), )), diff --git a/gio/src/auto/dbus_object_manager.rs b/gio/src/auto/dbus_object_manager.rs index 15395303ed73..267d5adaec80 100644 --- a/gio/src/auto/dbus_object_manager.rs +++ b/gio/src/auto/dbus_object_manager.rs @@ -92,7 +92,7 @@ pub trait DBusObjectManagerExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"interface-added\0".as_ptr() as *const _, + c"interface-added".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( interface_added_trampoline:: as *const (), )), @@ -126,7 +126,7 @@ pub trait DBusObjectManagerExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"interface-removed\0".as_ptr() as *const _, + c"interface-removed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( interface_removed_trampoline:: as *const (), )), @@ -155,7 +155,7 @@ pub trait DBusObjectManagerExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"object-added\0".as_ptr() as *const _, + c"object-added".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( object_added_trampoline:: as *const (), )), @@ -184,7 +184,7 @@ pub trait DBusObjectManagerExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"object-removed\0".as_ptr() as *const _, + c"object-removed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( object_removed_trampoline:: as *const (), )), diff --git a/gio/src/auto/dbus_object_manager_server.rs b/gio/src/auto/dbus_object_manager_server.rs index ab67ab560dd5..2586d16ac43a 100644 --- a/gio/src/auto/dbus_object_manager_server.rs +++ b/gio/src/auto/dbus_object_manager_server.rs @@ -111,7 +111,7 @@ pub trait DBusObjectManagerServerExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::connection\0".as_ptr() as *const _, + c"notify::connection".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_connection_trampoline:: as *const (), )), diff --git a/gio/src/auto/dbus_object_skeleton.rs b/gio/src/auto/dbus_object_skeleton.rs index 5738bb2cae21..8bbe63aa212c 100644 --- a/gio/src/auto/dbus_object_skeleton.rs +++ b/gio/src/auto/dbus_object_skeleton.rs @@ -118,7 +118,7 @@ pub trait DBusObjectSkeletonExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"authorize-method\0".as_ptr() as *const _, + c"authorize-method".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( authorize_method_trampoline:: as *const (), )), @@ -144,7 +144,7 @@ pub trait DBusObjectSkeletonExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::g-object-path\0".as_ptr() as *const _, + c"notify::g-object-path".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_g_object_path_trampoline:: as *const (), )), diff --git a/gio/src/auto/dbus_proxy.rs b/gio/src/auto/dbus_proxy.rs index e5d0d38711a9..02ddc52cc4ea 100644 --- a/gio/src/auto/dbus_proxy.rs +++ b/gio/src/auto/dbus_proxy.rs @@ -387,7 +387,7 @@ pub trait DBusProxyExt: IsA + 'static { #[cfg_attr(docsrs, doc(cfg(unix)))] #[doc(alias = "g_dbus_proxy_call_with_unix_fd_list")] fn call_with_unix_fd_list< - P: FnOnce(Result<(glib::Variant, UnixFDList), glib::Error>) + 'static, + P: FnOnce(Result<(glib::Variant, Option), glib::Error>) + 'static, >( &self, method_name: &str, @@ -411,7 +411,7 @@ pub trait DBusProxyExt: IsA + 'static { let user_data: Box_> = Box_::new(glib::thread_guard::ThreadGuard::new(callback)); unsafe extern "C" fn call_with_unix_fd_list_trampoline< - P: FnOnce(Result<(glib::Variant, UnixFDList), glib::Error>) + 'static, + P: FnOnce(Result<(glib::Variant, Option), glib::Error>) + 'static, >( _source_object: *mut glib::gobject_ffi::GObject, res: *mut crate::ffi::GAsyncResult, @@ -462,8 +462,9 @@ pub trait DBusProxyExt: IsA + 'static { fd_list: Option<&(impl IsA + Clone + 'static)>, ) -> Pin< Box_< - dyn std::future::Future> - + 'static, + dyn std::future::Future< + Output = Result<(glib::Variant, Option), glib::Error>, + > + 'static, >, > { let method_name = String::from(method_name); @@ -498,7 +499,7 @@ pub trait DBusProxyExt: IsA + 'static { timeout_msec: i32, fd_list: Option<&impl IsA>, cancellable: Option<&impl IsA>, - ) -> Result<(glib::Variant, UnixFDList), glib::Error> { + ) -> Result<(glib::Variant, Option), glib::Error> { unsafe { let mut out_fd_list = std::ptr::null_mut(); let mut error = std::ptr::null_mut(); @@ -708,7 +709,7 @@ pub trait DBusProxyExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::g-default-timeout\0".as_ptr() as *const _, + c"notify::g-default-timeout".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_g_default_timeout_trampoline:: as *const (), )), @@ -737,7 +738,7 @@ pub trait DBusProxyExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::g-interface-info\0".as_ptr() as *const _, + c"notify::g-interface-info".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_g_interface_info_trampoline:: as *const (), )), @@ -766,7 +767,7 @@ pub trait DBusProxyExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::g-name-owner\0".as_ptr() as *const _, + c"notify::g-name-owner".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_g_name_owner_trampoline:: as *const (), )), diff --git a/gio/src/auto/dbus_server.rs b/gio/src/auto/dbus_server.rs index 17401b44ebfc..a8bfe9d31572 100644 --- a/gio/src/auto/dbus_server.rs +++ b/gio/src/auto/dbus_server.rs @@ -113,7 +113,7 @@ impl DBusServer { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"new-connection\0".as_ptr() as *const _, + c"new-connection".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( new_connection_trampoline:: as *const (), )), @@ -136,7 +136,7 @@ impl DBusServer { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::active\0".as_ptr() as *const _, + c"notify::active".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_active_trampoline:: as *const (), )), @@ -159,7 +159,7 @@ impl DBusServer { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::client-address\0".as_ptr() as *const _, + c"notify::client-address".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_client_address_trampoline:: as *const (), )), diff --git a/gio/src/auto/debug_controller.rs b/gio/src/auto/debug_controller.rs index 3cc22b5d0488..00c4e29165c4 100644 --- a/gio/src/auto/debug_controller.rs +++ b/gio/src/auto/debug_controller.rs @@ -65,7 +65,7 @@ pub trait DebugControllerExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::debug-enabled\0".as_ptr() as *const _, + c"notify::debug-enabled".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_debug_enabled_trampoline:: as *const (), )), diff --git a/gio/src/auto/debug_controller_dbus.rs b/gio/src/auto/debug_controller_dbus.rs index cc6be5da96b0..f2041a712e6d 100644 --- a/gio/src/auto/debug_controller_dbus.rs +++ b/gio/src/auto/debug_controller_dbus.rs @@ -77,7 +77,7 @@ pub trait DebugControllerDBusExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"authorize\0".as_ptr() as *const _, + c"authorize".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( authorize_trampoline:: as *const (), )), diff --git a/gio/src/auto/drive.rs b/gio/src/auto/drive.rs index 2ca861f67e02..5f98949d67d1 100644 --- a/gio/src/auto/drive.rs +++ b/gio/src/auto/drive.rs @@ -451,7 +451,7 @@ pub trait DriveExt: 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 (), )), @@ -473,7 +473,7 @@ pub trait DriveExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"disconnected\0".as_ptr() as *const _, + c"disconnected".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( disconnected_trampoline:: as *const (), )), @@ -495,7 +495,7 @@ pub trait DriveExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"eject-button\0".as_ptr() as *const _, + c"eject-button".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( eject_button_trampoline:: as *const (), )), @@ -517,7 +517,7 @@ pub trait DriveExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"stop-button\0".as_ptr() as *const _, + c"stop-button".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( stop_button_trampoline:: as *const (), )), diff --git a/gio/src/auto/dtls_client_connection.rs b/gio/src/auto/dtls_client_connection.rs index d57f50ddd7ed..0e4fbb5e2ab1 100644 --- a/gio/src/auto/dtls_client_connection.rs +++ b/gio/src/auto/dtls_client_connection.rs @@ -121,7 +121,7 @@ pub trait DtlsClientConnectionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::accepted-cas\0".as_ptr() as *const _, + c"notify::accepted-cas".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_accepted_cas_trampoline:: as *const (), )), @@ -147,7 +147,7 @@ pub trait DtlsClientConnectionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::server-identity\0".as_ptr() as *const _, + c"notify::server-identity".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_server_identity_trampoline:: as *const (), )), @@ -174,7 +174,7 @@ pub trait DtlsClientConnectionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::validation-flags\0".as_ptr() as *const _, + c"notify::validation-flags".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_validation_flags_trampoline:: as *const (), )), diff --git a/gio/src/auto/dtls_connection.rs b/gio/src/auto/dtls_connection.rs index f4505d19e025..857c1ef04f0c 100644 --- a/gio/src/auto/dtls_connection.rs +++ b/gio/src/auto/dtls_connection.rs @@ -538,7 +538,7 @@ pub trait DtlsConnectionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"accept-certificate\0".as_ptr() as *const _, + c"accept-certificate".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( accept_certificate_trampoline:: as *const (), )), @@ -566,7 +566,7 @@ pub trait DtlsConnectionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::advertised-protocols\0".as_ptr() as *const _, + c"notify::advertised-protocols".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_advertised_protocols_trampoline:: as *const (), )), @@ -592,7 +592,7 @@ pub trait DtlsConnectionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::certificate\0".as_ptr() as *const _, + c"notify::certificate".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_certificate_trampoline:: as *const (), )), @@ -620,7 +620,7 @@ pub trait DtlsConnectionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::ciphersuite-name\0".as_ptr() as *const _, + c"notify::ciphersuite-name".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_ciphersuite_name_trampoline:: as *const (), )), @@ -646,7 +646,7 @@ pub trait DtlsConnectionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::database\0".as_ptr() as *const _, + c"notify::database".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_database_trampoline:: as *const (), )), @@ -672,7 +672,7 @@ pub trait DtlsConnectionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::interaction\0".as_ptr() as *const _, + c"notify::interaction".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_interaction_trampoline:: as *const (), )), @@ -700,7 +700,7 @@ pub trait DtlsConnectionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::negotiated-protocol\0".as_ptr() as *const _, + c"notify::negotiated-protocol".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_negotiated_protocol_trampoline:: as *const (), )), @@ -726,7 +726,7 @@ pub trait DtlsConnectionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::peer-certificate\0".as_ptr() as *const _, + c"notify::peer-certificate".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_peer_certificate_trampoline:: as *const (), )), @@ -755,7 +755,7 @@ pub trait DtlsConnectionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::peer-certificate-errors\0".as_ptr() as *const _, + c"notify::peer-certificate-errors".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_peer_certificate_errors_trampoline:: as *const (), )), @@ -783,7 +783,7 @@ pub trait DtlsConnectionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::protocol-version\0".as_ptr() as *const _, + c"notify::protocol-version".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_protocol_version_trampoline:: as *const (), )), @@ -810,7 +810,7 @@ pub trait DtlsConnectionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::rehandshake-mode\0".as_ptr() as *const _, + c"notify::rehandshake-mode".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_rehandshake_mode_trampoline:: as *const (), )), @@ -836,7 +836,7 @@ pub trait DtlsConnectionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::require-close-notify\0".as_ptr() as *const _, + c"notify::require-close-notify".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_require_close_notify_trampoline:: as *const (), )), diff --git a/gio/src/auto/dtls_server_connection.rs b/gio/src/auto/dtls_server_connection.rs index 78a1b9c2c2b5..cf31465e3014 100644 --- a/gio/src/auto/dtls_server_connection.rs +++ b/gio/src/auto/dtls_server_connection.rs @@ -71,7 +71,7 @@ pub trait DtlsServerConnectionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::authentication-mode\0".as_ptr() as *const _, + c"notify::authentication-mode".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_authentication_mode_trampoline:: as *const (), )), diff --git a/gio/src/auto/file_monitor.rs b/gio/src/auto/file_monitor.rs index 4b90414ec5c8..93f5d45dcf84 100644 --- a/gio/src/auto/file_monitor.rs +++ b/gio/src/auto/file_monitor.rs @@ -98,7 +98,7 @@ pub trait FileMonitorExt: 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 (), )), @@ -124,7 +124,7 @@ pub trait FileMonitorExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::cancelled\0".as_ptr() as *const _, + c"notify::cancelled".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_cancelled_trampoline:: as *const (), )), @@ -150,7 +150,7 @@ pub trait FileMonitorExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::rate-limit\0".as_ptr() as *const _, + c"notify::rate-limit".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_rate_limit_trampoline:: as *const (), )), diff --git a/gio/src/auto/filename_completer.rs b/gio/src/auto/filename_completer.rs index f49372eadd8b..9628f0dc4ce0 100644 --- a/gio/src/auto/filename_completer.rs +++ b/gio/src/auto/filename_completer.rs @@ -67,7 +67,7 @@ impl FilenameCompleter { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"got-completion-data\0".as_ptr() as *const _, + c"got-completion-data".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( got_completion_data_trampoline:: as *const (), )), diff --git a/gio/src/auto/filter_input_stream.rs b/gio/src/auto/filter_input_stream.rs index 34a4760c8216..f52c2fce9838 100644 --- a/gio/src/auto/filter_input_stream.rs +++ b/gio/src/auto/filter_input_stream.rs @@ -74,7 +74,7 @@ pub trait FilterInputStreamExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::close-base-stream\0".as_ptr() as *const _, + c"notify::close-base-stream".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_close_base_stream_trampoline:: as *const (), )), diff --git a/gio/src/auto/filter_output_stream.rs b/gio/src/auto/filter_output_stream.rs index 7efac56c0e66..23a7695fb9ee 100644 --- a/gio/src/auto/filter_output_stream.rs +++ b/gio/src/auto/filter_output_stream.rs @@ -73,7 +73,7 @@ pub trait FilterOutputStreamExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::close-base-stream\0".as_ptr() as *const _, + c"notify::close-base-stream".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_close_base_stream_trampoline:: as *const (), )), diff --git a/gio/src/auto/inet_address.rs b/gio/src/auto/inet_address.rs index c41d8978105a..decc25203fff 100644 --- a/gio/src/auto/inet_address.rs +++ b/gio/src/auto/inet_address.rs @@ -217,7 +217,7 @@ pub trait InetAddressExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::is-any\0".as_ptr() as *const _, + c"notify::is-any".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_is_any_trampoline:: as *const (), )), @@ -246,7 +246,7 @@ pub trait InetAddressExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::is-link-local\0".as_ptr() as *const _, + c"notify::is-link-local".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_is_link_local_trampoline:: as *const (), )), @@ -275,7 +275,7 @@ pub trait InetAddressExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::is-loopback\0".as_ptr() as *const _, + c"notify::is-loopback".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_is_loopback_trampoline:: as *const (), )), @@ -304,7 +304,7 @@ pub trait InetAddressExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::is-mc-global\0".as_ptr() as *const _, + c"notify::is-mc-global".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_is_mc_global_trampoline:: as *const (), )), @@ -333,7 +333,7 @@ pub trait InetAddressExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::is-mc-link-local\0".as_ptr() as *const _, + c"notify::is-mc-link-local".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_is_mc_link_local_trampoline:: as *const (), )), @@ -362,7 +362,7 @@ pub trait InetAddressExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::is-mc-node-local\0".as_ptr() as *const _, + c"notify::is-mc-node-local".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_is_mc_node_local_trampoline:: as *const (), )), @@ -391,7 +391,7 @@ pub trait InetAddressExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::is-mc-org-local\0".as_ptr() as *const _, + c"notify::is-mc-org-local".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_is_mc_org_local_trampoline:: as *const (), )), @@ -420,7 +420,7 @@ pub trait InetAddressExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::is-mc-site-local\0".as_ptr() as *const _, + c"notify::is-mc-site-local".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_is_mc_site_local_trampoline:: as *const (), )), @@ -449,7 +449,7 @@ pub trait InetAddressExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::is-multicast\0".as_ptr() as *const _, + c"notify::is-multicast".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_is_multicast_trampoline:: as *const (), )), @@ -478,7 +478,7 @@ pub trait InetAddressExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::is-site-local\0".as_ptr() as *const _, + c"notify::is-site-local".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_is_site_local_trampoline:: as *const (), )), diff --git a/gio/src/auto/inet_address_mask.rs b/gio/src/auto/inet_address_mask.rs index cdc41af6f440..8955bad0a9d6 100644 --- a/gio/src/auto/inet_address_mask.rs +++ b/gio/src/auto/inet_address_mask.rs @@ -147,7 +147,7 @@ pub trait InetAddressMaskExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::address\0".as_ptr() as *const _, + c"notify::address".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_address_trampoline:: as *const (), )), @@ -173,7 +173,7 @@ pub trait InetAddressMaskExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::family\0".as_ptr() as *const _, + c"notify::family".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_family_trampoline:: as *const (), )), @@ -199,7 +199,7 @@ pub trait InetAddressMaskExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::length\0".as_ptr() as *const _, + c"notify::length".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_length_trampoline:: as *const (), )), diff --git a/gio/src/auto/io_stream.rs b/gio/src/auto/io_stream.rs index 7cdc957bf934..64df1f1f903d 100644 --- a/gio/src/auto/io_stream.rs +++ b/gio/src/auto/io_stream.rs @@ -174,7 +174,7 @@ pub trait IOStreamExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::closed\0".as_ptr() as *const _, + c"notify::closed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_closed_trampoline:: as *const (), )), diff --git a/gio/src/auto/list_model.rs b/gio/src/auto/list_model.rs index 4e2768aa67b2..ebf561ff74ad 100644 --- a/gio/src/auto/list_model.rs +++ b/gio/src/auto/list_model.rs @@ -90,7 +90,7 @@ pub trait ListModelExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"items-changed\0".as_ptr() as *const _, + c"items-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( items_changed_trampoline:: as *const (), )), diff --git a/gio/src/auto/memory_monitor.rs b/gio/src/auto/memory_monitor.rs index 6c2bf02e0266..13b797c736e3 100644 --- a/gio/src/auto/memory_monitor.rs +++ b/gio/src/auto/memory_monitor.rs @@ -54,7 +54,7 @@ pub trait MemoryMonitorExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"low-memory-warning\0".as_ptr() as *const _, + c"low-memory-warning".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( low_memory_warning_trampoline:: as *const (), )), diff --git a/gio/src/auto/memory_output_stream.rs b/gio/src/auto/memory_output_stream.rs index 0672ff4aaaf0..e7448ff448be 100644 --- a/gio/src/auto/memory_output_stream.rs +++ b/gio/src/auto/memory_output_stream.rs @@ -64,7 +64,7 @@ pub trait MemoryOutputStreamExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::data-size\0".as_ptr() as *const _, + c"notify::data-size".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_data_size_trampoline:: as *const (), )), diff --git a/gio/src/auto/menu_model.rs b/gio/src/auto/menu_model.rs index 7a2b2f0742f6..f3685eda8639 100644 --- a/gio/src/auto/menu_model.rs +++ b/gio/src/auto/menu_model.rs @@ -131,7 +131,7 @@ pub trait MenuModelExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"items-changed\0".as_ptr() as *const _, + c"items-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( items_changed_trampoline:: as *const (), )), diff --git a/gio/src/auto/mount.rs b/gio/src/auto/mount.rs index 4e102fa9661c..fd3dde58a985 100644 --- a/gio/src/auto/mount.rs +++ b/gio/src/auto/mount.rs @@ -442,7 +442,7 @@ pub trait MountExt: 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 (), )), @@ -464,7 +464,7 @@ pub trait MountExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"pre-unmount\0".as_ptr() as *const _, + c"pre-unmount".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( pre_unmount_trampoline:: as *const (), )), @@ -486,7 +486,7 @@ pub trait MountExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"unmounted\0".as_ptr() as *const _, + c"unmounted".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( unmounted_trampoline:: as *const (), )), diff --git a/gio/src/auto/mount_operation.rs b/gio/src/auto/mount_operation.rs index 8799d7de4f1a..c6f614cab4bf 100644 --- a/gio/src/auto/mount_operation.rs +++ b/gio/src/auto/mount_operation.rs @@ -246,7 +246,7 @@ pub trait MountOperationExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"aborted\0".as_ptr() as *const _, + c"aborted".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( aborted_trampoline:: as *const (), )), @@ -284,7 +284,7 @@ pub trait MountOperationExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"ask-password\0".as_ptr() as *const _, + c"ask-password".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( ask_password_trampoline:: as *const (), )), @@ -318,7 +318,7 @@ pub trait MountOperationExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"reply\0".as_ptr() as *const _, + c"reply".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( reply_trampoline:: as *const (), )), @@ -360,7 +360,7 @@ pub trait MountOperationExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"show-unmount-progress\0".as_ptr() as *const _, + c"show-unmount-progress".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( show_unmount_progress_trampoline:: as *const (), )), @@ -386,7 +386,7 @@ pub trait MountOperationExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::anonymous\0".as_ptr() as *const _, + c"notify::anonymous".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_anonymous_trampoline:: as *const (), )), @@ -412,7 +412,7 @@ pub trait MountOperationExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::choice\0".as_ptr() as *const _, + c"notify::choice".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_choice_trampoline:: as *const (), )), @@ -438,7 +438,7 @@ pub trait MountOperationExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::domain\0".as_ptr() as *const _, + c"notify::domain".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_domain_trampoline:: as *const (), )), @@ -469,7 +469,7 @@ pub trait MountOperationExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::is-tcrypt-hidden-volume\0".as_ptr() as *const _, + c"notify::is-tcrypt-hidden-volume".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_is_tcrypt_hidden_volume_trampoline:: as *const (), )), @@ -500,7 +500,7 @@ pub trait MountOperationExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::is-tcrypt-system-volume\0".as_ptr() as *const _, + c"notify::is-tcrypt-system-volume".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_is_tcrypt_system_volume_trampoline:: as *const (), )), @@ -526,7 +526,7 @@ pub trait MountOperationExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::password\0".as_ptr() as *const _, + c"notify::password".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_password_trampoline:: as *const (), )), @@ -552,7 +552,7 @@ pub trait MountOperationExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::password-save\0".as_ptr() as *const _, + c"notify::password-save".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_password_save_trampoline:: as *const (), )), @@ -577,7 +577,7 @@ pub trait MountOperationExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::pim\0".as_ptr() as *const _, + c"notify::pim".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_pim_trampoline:: as *const (), )), @@ -603,7 +603,7 @@ pub trait MountOperationExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::username\0".as_ptr() as *const _, + c"notify::username".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_username_trampoline:: as *const (), )), diff --git a/gio/src/auto/network_monitor.rs b/gio/src/auto/network_monitor.rs index abad9d7e39af..12b49d3f99c1 100644 --- a/gio/src/auto/network_monitor.rs +++ b/gio/src/auto/network_monitor.rs @@ -172,7 +172,7 @@ pub trait NetworkMonitorExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"network-changed\0".as_ptr() as *const _, + c"network-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( network_changed_trampoline:: as *const (), )), @@ -198,7 +198,7 @@ pub trait NetworkMonitorExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::connectivity\0".as_ptr() as *const _, + c"notify::connectivity".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_connectivity_trampoline:: as *const (), )), @@ -224,7 +224,7 @@ pub trait NetworkMonitorExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::network-available\0".as_ptr() as *const _, + c"notify::network-available".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_network_available_trampoline:: as *const (), )), @@ -250,7 +250,7 @@ pub trait NetworkMonitorExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::network-metered\0".as_ptr() as *const _, + c"notify::network-metered".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_network_metered_trampoline:: as *const (), )), diff --git a/gio/src/auto/network_service.rs b/gio/src/auto/network_service.rs index 1e009f68006d..567bb7c284c8 100644 --- a/gio/src/auto/network_service.rs +++ b/gio/src/auto/network_service.rs @@ -103,7 +103,7 @@ pub trait NetworkServiceExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::scheme\0".as_ptr() as *const _, + c"notify::scheme".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_scheme_trampoline:: as *const (), )), diff --git a/gio/src/auto/permission.rs b/gio/src/auto/permission.rs index 115150ce9961..4dae2d926781 100644 --- a/gio/src/auto/permission.rs +++ b/gio/src/auto/permission.rs @@ -241,7 +241,7 @@ pub trait PermissionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::allowed\0".as_ptr() as *const _, + c"notify::allowed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_allowed_trampoline:: as *const (), )), @@ -267,7 +267,7 @@ pub trait PermissionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::can-acquire\0".as_ptr() as *const _, + c"notify::can-acquire".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_can_acquire_trampoline:: as *const (), )), @@ -293,7 +293,7 @@ pub trait PermissionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::can-release\0".as_ptr() as *const _, + c"notify::can-release".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_can_release_trampoline:: as *const (), )), diff --git a/gio/src/auto/power_profile_monitor.rs b/gio/src/auto/power_profile_monitor.rs index 0f9dbb44e4fe..2ac45d227582 100644 --- a/gio/src/auto/power_profile_monitor.rs +++ b/gio/src/auto/power_profile_monitor.rs @@ -60,7 +60,7 @@ pub trait PowerProfileMonitorExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::power-saver-enabled\0".as_ptr() as *const _, + c"notify::power-saver-enabled".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_power_saver_enabled_trampoline:: as *const (), )), diff --git a/gio/src/auto/proxy_address_enumerator.rs b/gio/src/auto/proxy_address_enumerator.rs index 561b21243ceb..32f6b66d0700 100644 --- a/gio/src/auto/proxy_address_enumerator.rs +++ b/gio/src/auto/proxy_address_enumerator.rs @@ -64,7 +64,7 @@ pub trait ProxyAddressEnumeratorExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::proxy-resolver\0".as_ptr() as *const _, + c"notify::proxy-resolver".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_proxy_resolver_trampoline:: as *const (), )), diff --git a/gio/src/auto/resolver.rs b/gio/src/auto/resolver.rs index bc52e161a429..a32304c2db2e 100644 --- a/gio/src/auto/resolver.rs +++ b/gio/src/auto/resolver.rs @@ -572,7 +572,7 @@ pub trait ResolverExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"reload\0".as_ptr() as *const _, + c"reload".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( reload_trampoline:: as *const (), )), @@ -597,7 +597,7 @@ pub trait ResolverExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::timeout\0".as_ptr() as *const _, + c"notify::timeout".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_timeout_trampoline:: as *const (), )), diff --git a/gio/src/auto/settings.rs b/gio/src/auto/settings.rs index e2ce6516e13e..65bf0e73ce06 100644 --- a/gio/src/auto/settings.rs +++ b/gio/src/auto/settings.rs @@ -558,7 +558,7 @@ pub trait SettingsExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"writable-change-event\0".as_ptr() as *const _, + c"writable-change-event".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( writable_change_event_trampoline:: as *const (), )), @@ -621,7 +621,7 @@ pub trait SettingsExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::delay-apply\0".as_ptr() as *const _, + c"notify::delay-apply".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_delay_apply_trampoline:: as *const (), )), @@ -647,7 +647,7 @@ pub trait SettingsExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::has-unapplied\0".as_ptr() as *const _, + c"notify::has-unapplied".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_has_unapplied_trampoline:: as *const (), )), diff --git a/gio/src/auto/simple_action.rs b/gio/src/auto/simple_action.rs index 53ad301c2907..b054bc97afc2 100644 --- a/gio/src/auto/simple_action.rs +++ b/gio/src/auto/simple_action.rs @@ -92,7 +92,7 @@ impl SimpleAction { 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 (), )), @@ -125,7 +125,7 @@ impl SimpleAction { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"change-state\0".as_ptr() as *const _, + c"change-state".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( change_state_trampoline:: as *const (), )), diff --git a/gio/src/auto/simple_proxy_resolver.rs b/gio/src/auto/simple_proxy_resolver.rs index 8615d6c8f18f..99e0ec3dd5c5 100644 --- a/gio/src/auto/simple_proxy_resolver.rs +++ b/gio/src/auto/simple_proxy_resolver.rs @@ -73,7 +73,7 @@ pub trait SimpleProxyResolverExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::default-proxy\0".as_ptr() as *const _, + c"notify::default-proxy".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_default_proxy_trampoline:: as *const (), )), @@ -99,7 +99,7 @@ pub trait SimpleProxyResolverExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::ignore-hosts\0".as_ptr() as *const _, + c"notify::ignore-hosts".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_ignore_hosts_trampoline:: as *const (), )), diff --git a/gio/src/auto/socket.rs b/gio/src/auto/socket.rs index 4bbce4a43886..1e3ef2cc55ee 100644 --- a/gio/src/auto/socket.rs +++ b/gio/src/auto/socket.rs @@ -614,7 +614,7 @@ pub trait SocketExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::blocking\0".as_ptr() as *const _, + c"notify::blocking".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_blocking_trampoline:: as *const (), )), @@ -637,7 +637,7 @@ pub trait SocketExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::broadcast\0".as_ptr() as *const _, + c"notify::broadcast".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_broadcast_trampoline:: as *const (), )), @@ -660,7 +660,7 @@ pub trait SocketExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::keepalive\0".as_ptr() as *const _, + c"notify::keepalive".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_keepalive_trampoline:: as *const (), )), @@ -686,7 +686,7 @@ pub trait SocketExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::listen-backlog\0".as_ptr() as *const _, + c"notify::listen-backlog".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_listen_backlog_trampoline:: as *const (), )), @@ -712,7 +712,7 @@ pub trait SocketExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::local-address\0".as_ptr() as *const _, + c"notify::local-address".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_local_address_trampoline:: as *const (), )), @@ -738,7 +738,7 @@ pub trait SocketExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::multicast-loopback\0".as_ptr() as *const _, + c"notify::multicast-loopback".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_multicast_loopback_trampoline:: as *const (), )), @@ -764,7 +764,7 @@ pub trait SocketExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::multicast-ttl\0".as_ptr() as *const _, + c"notify::multicast-ttl".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_multicast_ttl_trampoline:: as *const (), )), @@ -790,7 +790,7 @@ pub trait SocketExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::remote-address\0".as_ptr() as *const _, + c"notify::remote-address".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_remote_address_trampoline:: as *const (), )), @@ -813,7 +813,7 @@ pub trait SocketExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::timeout\0".as_ptr() as *const _, + c"notify::timeout".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_timeout_trampoline:: as *const (), )), @@ -836,7 +836,7 @@ pub trait SocketExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::ttl\0".as_ptr() as *const _, + c"notify::ttl".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_ttl_trampoline:: as *const (), )), diff --git a/gio/src/auto/socket_address.rs b/gio/src/auto/socket_address.rs index 8fd58a5291f9..f533faa72d20 100644 --- a/gio/src/auto/socket_address.rs +++ b/gio/src/auto/socket_address.rs @@ -71,7 +71,7 @@ pub trait SocketAddressExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::family\0".as_ptr() as *const _, + c"notify::family".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_family_trampoline:: as *const (), )), diff --git a/gio/src/auto/socket_client.rs b/gio/src/auto/socket_client.rs index cc0388d45cc6..823a278a629c 100644 --- a/gio/src/auto/socket_client.rs +++ b/gio/src/auto/socket_client.rs @@ -651,7 +651,7 @@ pub trait SocketClientExt: 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 (), )), @@ -677,7 +677,7 @@ pub trait SocketClientExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::enable-proxy\0".as_ptr() as *const _, + c"notify::enable-proxy".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_enable_proxy_trampoline:: as *const (), )), @@ -700,7 +700,7 @@ pub trait SocketClientExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::family\0".as_ptr() as *const _, + c"notify::family".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_family_trampoline:: as *const (), )), @@ -726,7 +726,7 @@ pub trait SocketClientExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::local-address\0".as_ptr() as *const _, + c"notify::local-address".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_local_address_trampoline:: as *const (), )), @@ -752,7 +752,7 @@ pub trait SocketClientExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::protocol\0".as_ptr() as *const _, + c"notify::protocol".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_protocol_trampoline:: as *const (), )), @@ -778,7 +778,7 @@ pub trait SocketClientExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::proxy-resolver\0".as_ptr() as *const _, + c"notify::proxy-resolver".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_proxy_resolver_trampoline:: as *const (), )), @@ -804,7 +804,7 @@ pub trait SocketClientExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::timeout\0".as_ptr() as *const _, + c"notify::timeout".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_timeout_trampoline:: as *const (), )), @@ -827,7 +827,7 @@ pub trait SocketClientExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::tls\0".as_ptr() as *const _, + c"notify::tls".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_tls_trampoline:: as *const (), )), @@ -854,7 +854,7 @@ pub trait SocketClientExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::tls-validation-flags\0".as_ptr() as *const _, + c"notify::tls-validation-flags".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_tls_validation_flags_trampoline:: as *const (), )), @@ -877,7 +877,7 @@ pub trait SocketClientExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::type\0".as_ptr() as *const _, + c"notify::type".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_type_trampoline:: as *const (), )), diff --git a/gio/src/auto/socket_listener.rs b/gio/src/auto/socket_listener.rs index 400f3f8b024d..065d50b7aa43 100644 --- a/gio/src/auto/socket_listener.rs +++ b/gio/src/auto/socket_listener.rs @@ -375,7 +375,7 @@ pub trait SocketListenerExt: 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 (), )), @@ -401,7 +401,7 @@ pub trait SocketListenerExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::listen-backlog\0".as_ptr() as *const _, + c"notify::listen-backlog".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_listen_backlog_trampoline:: as *const (), )), diff --git a/gio/src/auto/socket_service.rs b/gio/src/auto/socket_service.rs index cfa00177c9a3..bc5ea3167586 100644 --- a/gio/src/auto/socket_service.rs +++ b/gio/src/auto/socket_service.rs @@ -93,7 +93,7 @@ pub trait SocketServiceExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"incoming\0".as_ptr() as *const _, + c"incoming".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( incoming_trampoline:: as *const (), )), @@ -119,7 +119,7 @@ pub trait SocketServiceExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::active\0".as_ptr() as *const _, + c"notify::active".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_active_trampoline:: as *const (), )), diff --git a/gio/src/auto/tcp_connection.rs b/gio/src/auto/tcp_connection.rs index 84709a4ca78e..1405d0015dd5 100644 --- a/gio/src/auto/tcp_connection.rs +++ b/gio/src/auto/tcp_connection.rs @@ -63,7 +63,7 @@ pub trait TcpConnectionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::graceful-disconnect\0".as_ptr() as *const _, + c"notify::graceful-disconnect".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_graceful_disconnect_trampoline:: as *const (), )), diff --git a/gio/src/auto/themed_icon.rs b/gio/src/auto/themed_icon.rs index 7514c0dc4736..983c14835620 100644 --- a/gio/src/auto/themed_icon.rs +++ b/gio/src/auto/themed_icon.rs @@ -90,7 +90,7 @@ impl ThemedIcon { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::names\0".as_ptr() as *const _, + c"notify::names".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_names_trampoline:: as *const (), )), diff --git a/gio/src/auto/threaded_socket_service.rs b/gio/src/auto/threaded_socket_service.rs index b09edbe2c8a5..152f11bfc6fb 100644 --- a/gio/src/auto/threaded_socket_service.rs +++ b/gio/src/auto/threaded_socket_service.rs @@ -57,7 +57,7 @@ pub trait ThreadedSocketServiceExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"run\0".as_ptr() as *const _, + c"run".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( run_trampoline:: as *const (), )), diff --git a/gio/src/auto/tls_certificate.rs b/gio/src/auto/tls_certificate.rs index c41c8827a039..702c34267ec0 100644 --- a/gio/src/auto/tls_certificate.rs +++ b/gio/src/auto/tls_certificate.rs @@ -332,7 +332,7 @@ pub trait TlsCertificateExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::dns-names\0".as_ptr() as *const _, + c"notify::dns-names".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_dns_names_trampoline:: as *const (), )), @@ -360,7 +360,7 @@ pub trait TlsCertificateExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::ip-addresses\0".as_ptr() as *const _, + c"notify::ip-addresses".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_ip_addresses_trampoline:: as *const (), )), @@ -388,7 +388,7 @@ pub trait TlsCertificateExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::issuer-name\0".as_ptr() as *const _, + c"notify::issuer-name".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_issuer_name_trampoline:: as *const (), )), @@ -416,7 +416,7 @@ pub trait TlsCertificateExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::not-valid-after\0".as_ptr() as *const _, + c"notify::not-valid-after".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_not_valid_after_trampoline:: as *const (), )), @@ -444,7 +444,7 @@ pub trait TlsCertificateExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::not-valid-before\0".as_ptr() as *const _, + c"notify::not-valid-before".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_not_valid_before_trampoline:: as *const (), )), @@ -472,7 +472,7 @@ pub trait TlsCertificateExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::subject-name\0".as_ptr() as *const _, + c"notify::subject-name".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_subject_name_trampoline:: as *const (), )), diff --git a/gio/src/auto/tls_client_connection.rs b/gio/src/auto/tls_client_connection.rs index 5a9a1b07d164..fbd90df0b52f 100644 --- a/gio/src/auto/tls_client_connection.rs +++ b/gio/src/auto/tls_client_connection.rs @@ -131,7 +131,7 @@ pub trait TlsClientConnectionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::accepted-cas\0".as_ptr() as *const _, + c"notify::accepted-cas".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_accepted_cas_trampoline:: as *const (), )), @@ -157,7 +157,7 @@ pub trait TlsClientConnectionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::server-identity\0".as_ptr() as *const _, + c"notify::server-identity".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_server_identity_trampoline:: as *const (), )), @@ -184,7 +184,7 @@ pub trait TlsClientConnectionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::validation-flags\0".as_ptr() as *const _, + c"notify::validation-flags".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_validation_flags_trampoline:: as *const (), )), diff --git a/gio/src/auto/tls_connection.rs b/gio/src/auto/tls_connection.rs index 7027589ffb6c..3facee8c9880 100644 --- a/gio/src/auto/tls_connection.rs +++ b/gio/src/auto/tls_connection.rs @@ -341,7 +341,7 @@ pub trait TlsConnectionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"accept-certificate\0".as_ptr() as *const _, + c"accept-certificate".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( accept_certificate_trampoline:: as *const (), )), @@ -369,7 +369,7 @@ pub trait TlsConnectionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::advertised-protocols\0".as_ptr() as *const _, + c"notify::advertised-protocols".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_advertised_protocols_trampoline:: as *const (), )), @@ -395,7 +395,7 @@ pub trait TlsConnectionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::certificate\0".as_ptr() as *const _, + c"notify::certificate".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_certificate_trampoline:: as *const (), )), @@ -423,7 +423,7 @@ pub trait TlsConnectionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::ciphersuite-name\0".as_ptr() as *const _, + c"notify::ciphersuite-name".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_ciphersuite_name_trampoline:: as *const (), )), @@ -449,7 +449,7 @@ pub trait TlsConnectionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::database\0".as_ptr() as *const _, + c"notify::database".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_database_trampoline:: as *const (), )), @@ -475,7 +475,7 @@ pub trait TlsConnectionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::interaction\0".as_ptr() as *const _, + c"notify::interaction".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_interaction_trampoline:: as *const (), )), @@ -503,7 +503,7 @@ pub trait TlsConnectionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::negotiated-protocol\0".as_ptr() as *const _, + c"notify::negotiated-protocol".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_negotiated_protocol_trampoline:: as *const (), )), @@ -529,7 +529,7 @@ pub trait TlsConnectionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::peer-certificate\0".as_ptr() as *const _, + c"notify::peer-certificate".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_peer_certificate_trampoline:: as *const (), )), @@ -558,7 +558,7 @@ pub trait TlsConnectionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::peer-certificate-errors\0".as_ptr() as *const _, + c"notify::peer-certificate-errors".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_peer_certificate_errors_trampoline:: as *const (), )), @@ -586,7 +586,7 @@ pub trait TlsConnectionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::protocol-version\0".as_ptr() as *const _, + c"notify::protocol-version".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_protocol_version_trampoline:: as *const (), )), @@ -613,7 +613,7 @@ pub trait TlsConnectionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::rehandshake-mode\0".as_ptr() as *const _, + c"notify::rehandshake-mode".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_rehandshake_mode_trampoline:: as *const (), )), @@ -639,7 +639,7 @@ pub trait TlsConnectionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::require-close-notify\0".as_ptr() as *const _, + c"notify::require-close-notify".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_require_close_notify_trampoline:: as *const (), )), diff --git a/gio/src/auto/tls_file_database.rs b/gio/src/auto/tls_file_database.rs index 878326074e3a..e4e92c1c05ba 100644 --- a/gio/src/auto/tls_file_database.rs +++ b/gio/src/auto/tls_file_database.rs @@ -62,7 +62,7 @@ pub trait TlsFileDatabaseExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::anchors\0".as_ptr() as *const _, + c"notify::anchors".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_anchors_trampoline:: as *const (), )), diff --git a/gio/src/auto/tls_password.rs b/gio/src/auto/tls_password.rs index c57356bbee89..3796a2a09d4c 100644 --- a/gio/src/auto/tls_password.rs +++ b/gio/src/auto/tls_password.rs @@ -116,7 +116,7 @@ pub trait TlsPasswordExt: 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 (), )), @@ -139,7 +139,7 @@ pub trait TlsPasswordExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::flags\0".as_ptr() as *const _, + c"notify::flags".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_flags_trampoline:: as *const (), )), @@ -162,7 +162,7 @@ pub trait TlsPasswordExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::warning\0".as_ptr() as *const _, + c"notify::warning".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_warning_trampoline:: as *const (), )), diff --git a/gio/src/auto/tls_server_connection.rs b/gio/src/auto/tls_server_connection.rs index 6b2a33b42f33..9c82a7996aee 100644 --- a/gio/src/auto/tls_server_connection.rs +++ b/gio/src/auto/tls_server_connection.rs @@ -71,7 +71,7 @@ pub trait TlsServerConnectionExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::authentication-mode\0".as_ptr() as *const _, + c"notify::authentication-mode".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_authentication_mode_trampoline:: as *const (), )), diff --git a/gio/src/auto/unix_mount_monitor.rs b/gio/src/auto/unix_mount_monitor.rs index c21dd90a9a60..87cb6b7bf9e2 100644 --- a/gio/src/auto/unix_mount_monitor.rs +++ b/gio/src/auto/unix_mount_monitor.rs @@ -38,7 +38,7 @@ impl UnixMountMonitor { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"mountpoints-changed\0".as_ptr() as *const _, + c"mountpoints-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( mountpoints_changed_trampoline:: as *const (), )), @@ -60,7 +60,7 @@ impl UnixMountMonitor { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"mounts-changed\0".as_ptr() as *const _, + c"mounts-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( mounts_changed_trampoline:: as *const (), )), diff --git a/gio/src/auto/versions.txt b/gio/src/auto/versions.txt index 558f7e6574ab..1a56b9ecf195 100644 --- a/gio/src/auto/versions.txt +++ b/gio/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 @ dfdf5ed146d5) +Generated by gir (https://github.com/gtk-rs/gir @ be3ecc201d39) +from gir-files (https://github.com/gtk-rs/gir-files @ 3ede86d6a218) diff --git a/gio/src/auto/vfs.rs b/gio/src/auto/vfs.rs index 981cc31ffd4b..0de787ea7300 100644 --- a/gio/src/auto/vfs.rs +++ b/gio/src/auto/vfs.rs @@ -87,10 +87,10 @@ pub trait VfsExt: IsA + 'static { fn register_uri_scheme( &self, scheme: &str, - uri_func: Option File + 'static>>, - parse_name_func: Option File + 'static>>, + uri_func: Option Option + 'static>>, + parse_name_func: Option Option + 'static>>, ) -> bool { - let uri_func_data: Box_ File + 'static>>> = + let uri_func_data: Box_ Option + 'static>>> = Box_::new(uri_func); unsafe extern "C" fn uri_func_func( vfs: *mut ffi::GVfs, @@ -99,7 +99,8 @@ pub trait VfsExt: IsA + 'static { ) -> *mut ffi::GFile { let vfs = from_glib_borrow(vfs); let identifier: Borrowed = from_glib_borrow(identifier); - let callback = &*(user_data as *mut Option File + 'static>>); + let callback = + &*(user_data as *mut Option Option + 'static>>); if let Some(ref callback) = *callback { callback(&vfs, identifier.as_str()) } else { @@ -112,7 +113,7 @@ pub trait VfsExt: IsA + 'static { } else { None }; - let parse_name_func_data: Box_ File + 'static>>> = + let parse_name_func_data: Box_ Option + 'static>>> = Box_::new(parse_name_func); unsafe extern "C" fn parse_name_func_func( vfs: *mut ffi::GVfs, @@ -121,7 +122,8 @@ pub trait VfsExt: IsA + 'static { ) -> *mut ffi::GFile { let vfs = from_glib_borrow(vfs); let identifier: Borrowed = from_glib_borrow(identifier); - let callback = &*(user_data as *mut Option File + 'static>>); + let callback = + &*(user_data as *mut Option Option + 'static>>); if let Some(ref callback) = *callback { callback(&vfs, identifier.as_str()) } else { @@ -135,18 +137,20 @@ pub trait VfsExt: IsA + 'static { None }; unsafe extern "C" fn uri_destroy_func(data: glib::ffi::gpointer) { - let _callback = - Box_::from_raw(data as *mut Option File + 'static>>); + let _callback = Box_::from_raw( + data as *mut Option Option + 'static>>, + ); } let destroy_call4 = Some(uri_destroy_func as _); unsafe extern "C" fn parse_name_destroy_func(data: glib::ffi::gpointer) { - let _callback = - Box_::from_raw(data as *mut Option File + 'static>>); + let _callback = Box_::from_raw( + data as *mut Option Option + 'static>>, + ); } let destroy_call7 = Some(parse_name_destroy_func as _); - let super_callback0: Box_ File + 'static>>> = + let super_callback0: Box_ Option + 'static>>> = uri_func_data; - let super_callback1: Box_ File + 'static>>> = + let super_callback1: Box_ Option + 'static>>> = parse_name_func_data; unsafe { from_glib(ffi::g_vfs_register_uri_scheme( diff --git a/gio/src/auto/volume.rs b/gio/src/auto/volume.rs index fc5a0682a858..ed6ba8f0c1fa 100644 --- a/gio/src/auto/volume.rs +++ b/gio/src/auto/volume.rs @@ -282,7 +282,7 @@ pub trait VolumeExt: 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 (), )), @@ -304,7 +304,7 @@ pub trait VolumeExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"removed\0".as_ptr() as *const _, + c"removed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( removed_trampoline:: as *const (), )), diff --git a/gio/src/auto/volume_monitor.rs b/gio/src/auto/volume_monitor.rs index d9c596f88869..0f0f991c2ac3 100644 --- a/gio/src/auto/volume_monitor.rs +++ b/gio/src/auto/volume_monitor.rs @@ -101,7 +101,7 @@ pub trait VolumeMonitorExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"drive-changed\0".as_ptr() as *const _, + c"drive-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( drive_changed_trampoline:: as *const (), )), @@ -130,7 +130,7 @@ pub trait VolumeMonitorExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"drive-connected\0".as_ptr() as *const _, + c"drive-connected".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( drive_connected_trampoline:: as *const (), )), @@ -159,7 +159,7 @@ pub trait VolumeMonitorExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"drive-disconnected\0".as_ptr() as *const _, + c"drive-disconnected".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( drive_disconnected_trampoline:: as *const (), )), @@ -188,7 +188,7 @@ pub trait VolumeMonitorExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"drive-eject-button\0".as_ptr() as *const _, + c"drive-eject-button".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( drive_eject_button_trampoline:: as *const (), )), @@ -217,7 +217,7 @@ pub trait VolumeMonitorExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"drive-stop-button\0".as_ptr() as *const _, + c"drive-stop-button".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( drive_stop_button_trampoline:: as *const (), )), @@ -246,7 +246,7 @@ pub trait VolumeMonitorExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"mount-added\0".as_ptr() as *const _, + c"mount-added".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( mount_added_trampoline:: as *const (), )), @@ -275,7 +275,7 @@ pub trait VolumeMonitorExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"mount-changed\0".as_ptr() as *const _, + c"mount-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( mount_changed_trampoline:: as *const (), )), @@ -304,7 +304,7 @@ pub trait VolumeMonitorExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"mount-pre-unmount\0".as_ptr() as *const _, + c"mount-pre-unmount".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( mount_pre_unmount_trampoline:: as *const (), )), @@ -333,7 +333,7 @@ pub trait VolumeMonitorExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"mount-removed\0".as_ptr() as *const _, + c"mount-removed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( mount_removed_trampoline:: as *const (), )), @@ -362,7 +362,7 @@ pub trait VolumeMonitorExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"volume-added\0".as_ptr() as *const _, + c"volume-added".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( volume_added_trampoline:: as *const (), )), @@ -391,7 +391,7 @@ pub trait VolumeMonitorExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"volume-changed\0".as_ptr() as *const _, + c"volume-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( volume_changed_trampoline:: as *const (), )), @@ -420,7 +420,7 @@ pub trait VolumeMonitorExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"volume-removed\0".as_ptr() as *const _, + c"volume-removed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( volume_removed_trampoline:: as *const (), )), diff --git a/gio/src/auto/zlib_compressor.rs b/gio/src/auto/zlib_compressor.rs index 87613837a369..ebac20abd7f5 100644 --- a/gio/src/auto/zlib_compressor.rs +++ b/gio/src/auto/zlib_compressor.rs @@ -62,7 +62,7 @@ impl ZlibCompressor { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::file-info\0".as_ptr() as *const _, + c"notify::file-info".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_file_info_trampoline:: as *const (), )), diff --git a/gio/src/auto/zlib_decompressor.rs b/gio/src/auto/zlib_decompressor.rs index 53250eb880a7..482a8de4a2b4 100644 --- a/gio/src/auto/zlib_decompressor.rs +++ b/gio/src/auto/zlib_decompressor.rs @@ -54,7 +54,7 @@ impl ZlibDecompressor { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::file-info\0".as_ptr() as *const _, + c"notify::file-info".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_file_info_trampoline:: as *const (), )), diff --git a/gio/sys/versions.txt b/gio/sys/versions.txt index 558f7e6574ab..1a56b9ecf195 100644 --- a/gio/sys/versions.txt +++ b/gio/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 @ dfdf5ed146d5) +Generated by gir (https://github.com/gtk-rs/gir @ be3ecc201d39) +from gir-files (https://github.com/gtk-rs/gir-files @ 3ede86d6a218) diff --git a/glib/gobject-sys/src/lib.rs b/glib/gobject-sys/src/lib.rs index 658a5bd2025c..56ee48133713 100644 --- a/glib/gobject-sys/src/lib.rs +++ b/glib/gobject-sys/src/lib.rs @@ -1929,10 +1929,10 @@ extern "C" { //========================================================================= // GWeakRef //========================================================================= + pub fn g_weak_ref_set(weak_ref: *mut GWeakRef, object: *mut GObject); pub fn g_weak_ref_clear(weak_ref: *mut GWeakRef); pub fn g_weak_ref_get(weak_ref: *mut GWeakRef) -> *mut GObject; pub fn g_weak_ref_init(weak_ref: *mut GWeakRef, object: *mut GObject); - pub fn g_weak_ref_set(weak_ref: *mut GWeakRef, object: *mut GObject); //========================================================================= // GBinding diff --git a/glib/gobject-sys/versions.txt b/glib/gobject-sys/versions.txt index 558f7e6574ab..1a56b9ecf195 100644 --- a/glib/gobject-sys/versions.txt +++ b/glib/gobject-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 @ dfdf5ed146d5) +Generated by gir (https://github.com/gtk-rs/gir @ be3ecc201d39) +from gir-files (https://github.com/gtk-rs/gir-files @ 3ede86d6a218) diff --git a/glib/src/auto/versions.txt b/glib/src/auto/versions.txt index 558f7e6574ab..1a56b9ecf195 100644 --- a/glib/src/auto/versions.txt +++ b/glib/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 @ dfdf5ed146d5) +Generated by gir (https://github.com/gtk-rs/gir @ be3ecc201d39) +from gir-files (https://github.com/gtk-rs/gir-files @ 3ede86d6a218) diff --git a/glib/src/gobject/auto/binding_group.rs b/glib/src/gobject/auto/binding_group.rs index e02aa0e11913..e511aaf97414 100644 --- a/glib/src/gobject/auto/binding_group.rs +++ b/glib/src/gobject/auto/binding_group.rs @@ -68,7 +68,7 @@ impl BindingGroup { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::source\0".as_ptr() as *const _, + c"notify::source".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_source_trampoline:: as *const (), )), diff --git a/glib/sys/src/lib.rs b/glib/sys/src/lib.rs index 7edc0a547806..8fd7ad5c4460 100644 --- a/glib/sys/src/lib.rs +++ b/glib/sys/src/lib.rs @@ -5371,6 +5371,9 @@ extern "C" { data: gpointer, error: *mut *mut GError, ) -> *mut GThread; + #[cfg(feature = "v2_84")] + #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))] + pub fn g_thread_get_name(thread: *mut GThread) -> *const c_char; pub fn g_thread_join(thread: *mut GThread) -> gpointer; pub fn g_thread_ref(thread: *mut GThread) -> *mut GThread; pub fn g_thread_set_priority(thread: *mut GThread, priority: GThreadPriority); diff --git a/glib/sys/versions.txt b/glib/sys/versions.txt index 558f7e6574ab..1a56b9ecf195 100644 --- a/glib/sys/versions.txt +++ b/glib/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 @ dfdf5ed146d5) +Generated by gir (https://github.com/gtk-rs/gir @ be3ecc201d39) +from gir-files (https://github.com/gtk-rs/gir-files @ 3ede86d6a218) diff --git a/graphene/src/auto/versions.txt b/graphene/src/auto/versions.txt index 558f7e6574ab..1a56b9ecf195 100644 --- a/graphene/src/auto/versions.txt +++ b/graphene/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 @ dfdf5ed146d5) +Generated by gir (https://github.com/gtk-rs/gir @ be3ecc201d39) +from gir-files (https://github.com/gtk-rs/gir-files @ 3ede86d6a218) diff --git a/graphene/sys/versions.txt b/graphene/sys/versions.txt index 558f7e6574ab..1a56b9ecf195 100644 --- a/graphene/sys/versions.txt +++ b/graphene/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 @ dfdf5ed146d5) +Generated by gir (https://github.com/gtk-rs/gir @ be3ecc201d39) +from gir-files (https://github.com/gtk-rs/gir-files @ 3ede86d6a218) diff --git a/pango/src/auto/font_family.rs b/pango/src/auto/font_family.rs index 17fc44b8f9f0..b32aef2aaac5 100644 --- a/pango/src/auto/font_family.rs +++ b/pango/src/auto/font_family.rs @@ -110,7 +110,7 @@ pub trait FontFamilyExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::is-monospace\0".as_ptr() as *const _, + c"notify::is-monospace".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_is_monospace_trampoline:: as *const (), )), @@ -138,7 +138,7 @@ pub trait FontFamilyExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::is-variable\0".as_ptr() as *const _, + c"notify::is-variable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_is_variable_trampoline:: as *const (), )), @@ -163,7 +163,7 @@ pub trait FontFamilyExt: IsA + 'static { let f: Box_ = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::name\0".as_ptr() as *const _, + c"notify::name".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_name_trampoline:: as *const (), )), diff --git a/pango/src/auto/versions.txt b/pango/src/auto/versions.txt index 558f7e6574ab..1a56b9ecf195 100644 --- a/pango/src/auto/versions.txt +++ b/pango/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 @ dfdf5ed146d5) +Generated by gir (https://github.com/gtk-rs/gir @ be3ecc201d39) +from gir-files (https://github.com/gtk-rs/gir-files @ 3ede86d6a218) diff --git a/pango/sys/versions.txt b/pango/sys/versions.txt index 558f7e6574ab..1a56b9ecf195 100644 --- a/pango/sys/versions.txt +++ b/pango/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 @ dfdf5ed146d5) +Generated by gir (https://github.com/gtk-rs/gir @ be3ecc201d39) +from gir-files (https://github.com/gtk-rs/gir-files @ 3ede86d6a218) diff --git a/pangocairo/src/auto/versions.txt b/pangocairo/src/auto/versions.txt index 558f7e6574ab..1a56b9ecf195 100644 --- a/pangocairo/src/auto/versions.txt +++ b/pangocairo/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 @ dfdf5ed146d5) +Generated by gir (https://github.com/gtk-rs/gir @ be3ecc201d39) +from gir-files (https://github.com/gtk-rs/gir-files @ 3ede86d6a218) diff --git a/pangocairo/sys/versions.txt b/pangocairo/sys/versions.txt index 558f7e6574ab..1a56b9ecf195 100644 --- a/pangocairo/sys/versions.txt +++ b/pangocairo/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 @ dfdf5ed146d5) +Generated by gir (https://github.com/gtk-rs/gir @ be3ecc201d39) +from gir-files (https://github.com/gtk-rs/gir-files @ 3ede86d6a218) From 1d874c427c3ac02575e1d078d12a9adf19736ea5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 16 Dec 2024 20:04:09 +0200 Subject: [PATCH 4/4] Update Cargo.lock --- Cargo.lock | 106 ++++++++++++++++++++++++++--------------------------- 1 file changed, 53 insertions(+), 53 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 04f3f01ec0eb..39f92c960234 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -101,18 +101,18 @@ checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5" [[package]] name = "cc" -version = "1.2.1" +version = "1.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd9de9f2205d5ef3fd67e685b0df337994ddd4495e2a28d185500d0e1edfea47" +checksum = "9157bbaa6b165880c27a4293a474c91cdcf265cc68cc829bf10be0964a391caf" dependencies = [ "shlex", ] [[package]] name = "cfg-expr" -version = "0.17.1" +version = "0.17.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c360837f8f19e2e4468275138f1c0dec1647d1e17bb7c0215fe3cd7530e93c25" +checksum = "8d4ba6e40bd1184518716a6e1a781bf9160e286d219ccdb8ab2612e74cfe4789" dependencies = [ "smallvec", "target-lexicon", @@ -153,18 +153,18 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.21" +version = "4.5.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb3b4b9e5a7c7514dfa52869339ee98b3156b0bfb4e8a77c4ff4babb64b1604f" +checksum = "3135e7ec2ef7b10c6ed8950f0f792ed96ee093fa088608f1c76e569722700c84" dependencies = [ "clap_builder", ] [[package]] name = "clap_builder" -version = "4.5.21" +version = "4.5.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b17a95aa67cc7b5ebd32aa5370189aa0d79069ef1c64ce893bd30fb24bff20ec" +checksum = "30582fc632330df2bd26877bde0c1f4470d57c582bbc070376afcd04d8cb4838" dependencies = [ "anstyle", "clap_lex", @@ -172,9 +172,9 @@ dependencies = [ [[package]] name = "clap_lex" -version = "0.7.3" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afb84c814227b90d6895e01398aee0d8033c00e7466aca416fb6a8e0eb19d8a7" +checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6" [[package]] name = "criterion" @@ -214,9 +214,9 @@ dependencies = [ [[package]] name = "crossbeam-deque" -version = "0.8.5" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d" +checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51" dependencies = [ "crossbeam-epoch", "crossbeam-utils", @@ -233,9 +233,9 @@ dependencies = [ [[package]] name = "crossbeam-utils" -version = "0.8.20" +version = "0.8.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80" +checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" [[package]] name = "crunchy" @@ -257,19 +257,19 @@ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" [[package]] name = "errno" -version = "0.3.9" +version = "0.3.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba" +checksum = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d" dependencies = [ "libc", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] name = "fastrand" -version = "2.2.0" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "486f806e73c5707928240ddc295403b1b93c96a02038563881c4a2fd84b81ac4" +checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" [[package]] name = "float_eq" @@ -578,9 +578,9 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.15.1" +version = "0.15.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a9bfc1af68b1726ea47d3d5109de126281def866b33970e10fbab11b5dafab3" +checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" [[package]] name = "heck" @@ -596,9 +596,9 @@ checksum = "fbf6a919d6cf397374f7dfeeea91d974c7c0a7221d0d0f4f20d859d329e53fcc" [[package]] name = "indexmap" -version = "2.6.0" +version = "2.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "707907fe3c25f5424cce2cb7e1cbcafee6bdbe735ca90ef77c29e84591e5b9da" +checksum = "62f822373a4fe84d4bb149bf54e584a7f4abec90e072ed49cda0edea5b95471f" dependencies = [ "equivalent", "hashbrown", @@ -626,16 +626,17 @@ dependencies = [ [[package]] name = "itoa" -version = "1.0.13" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "540654e97a3f4470a492cd30ff187bc95d89557a903a2bbf112e2fae98104ef2" +checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674" [[package]] name = "js-sys" -version = "0.3.72" +version = "0.3.76" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a88f1bda2bd75b0452a14784937d796722fdebfe50df998aeb3f0b7603019a9" +checksum = "6717b6b5b077764fb5966237269cb3c64edddde4b14ce42647430a78ced9e7b7" dependencies = [ + "once_cell", "wasm-bindgen", ] @@ -860,9 +861,9 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b6dfecf2c74bce2466cabf93f6664d6998a69eb21e39f4207930065b27b771f" +checksum = "03a862b389f93e68874fbf580b9de08dd02facb9a788ebadaf4a3fd33cf58834" dependencies = [ "bitflags", ] @@ -913,15 +914,15 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.41" +version = "0.38.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7f649912bc1495e167a6edee79151c84b1bad49748cb4f1f1167f459f6224f6" +checksum = "f93dc38ecbab2eb790ff964bb77fa94faf256fd3e73285fd7ba0903b76bedb85" dependencies = [ "bitflags", "errno", "libc", "linux-raw-sys", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -972,9 +973,9 @@ dependencies = [ [[package]] name = "scc" -version = "2.2.5" +version = "2.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66b202022bb57c049555430e11fc22fea12909276a80a4c3d368da36ac1d88ed" +checksum = "94b13f8ea6177672c49d12ed964cca44836f59621981b04a3e26b87e675181de" dependencies = [ "sdd", ] @@ -997,24 +998,24 @@ dependencies = [ [[package]] name = "sdd" -version = "3.0.4" +version = "3.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49c1eeaf4b6a87c7479688c6d52b9f1153cedd3c489300564f932b065c6eab95" +checksum = "478f121bb72bbf63c52c93011ea1791dca40140dfe13f8336c4c5ac952c33aa9" [[package]] name = "serde" -version = "1.0.215" +version = "1.0.216" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6513c1ad0b11a9376da888e3e0baa0077f1aed55c17f50e7b2397136129fb88f" +checksum = "0b9781016e935a97e8beecf0c933758c97a5520d32930e460142b4cd80c6338e" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.215" +version = "1.0.216" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad1e866f866923f252f05c889987993144fb74e722403468a4ebd70c3cd756c0" +checksum = "46f859dbbf73865c6627ed570e78961cd3ac92407a2d117204c49232485da55e" dependencies = [ "proc-macro2", "quote", @@ -1247,9 +1248,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.95" +version = "0.2.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "128d1e363af62632b8eb57219c8fd7877144af57558fb2ef0368d0087bddeb2e" +checksum = "a474f6281d1d70c17ae7aa6a613c87fce69a127e2624002df63dcb39d6cf6396" dependencies = [ "cfg-if", "once_cell", @@ -1258,13 +1259,12 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.95" +version = "0.2.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb6dd4d3ca0ddffd1dd1c9c04f94b868c37ff5fac97c30b97cff2d74fce3a358" +checksum = "5f89bb38646b4f81674e8f5c3fb81b562be1fd936d84320f3264486418519c79" dependencies = [ "bumpalo", "log", - "once_cell", "proc-macro2", "quote", "syn", @@ -1273,9 +1273,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.95" +version = "0.2.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e79384be7f8f5a9dd5d7167216f022090cf1f9ec128e6e6a482a2cb5c5422c56" +checksum = "2cc6181fd9a7492eef6fef1f33961e3695e4579b9872a6f7c83aee556666d4fe" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -1283,9 +1283,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.95" +version = "0.2.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26c6ab57572f7a24a4985830b120de1594465e5d500f24afe89e16b4e833ef68" +checksum = "30d7a95b763d3c45903ed6c81f156801839e5ee968bb07e534c44df0fcd330c2" dependencies = [ "proc-macro2", "quote", @@ -1296,15 +1296,15 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.95" +version = "0.2.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65fc09f10666a9f147042251e0dda9c18f166ff7de300607007e96bdebc1068d" +checksum = "943aab3fdaaa029a6e0271b35ea10b72b943135afe9bffca82384098ad0e06a6" [[package]] name = "web-sys" -version = "0.3.72" +version = "0.3.76" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6488b90108c040df0fe62fa815cbdee25124641df01814dd7282749234c6112" +checksum = "04dd7223427d52553d3702c004d3b2fe07c148165faa56313cb00211e31c12bc" dependencies = [ "js-sys", "wasm-bindgen",