diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 24df45178677..9d2816a34689 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -23,7 +23,7 @@ on: jobs: ci-macos: name: macOS - runs-on: macos-12 + runs-on: macos-14 steps: - uses: actions/checkout@v4 diff --git a/CHANGELOG.md b/CHANGELOG.md index cba836846dd4..739c0fb6751d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -93,6 +93,7 @@ yuraiz: ```rust #[derive(Debug, Default, gtk::CompositeTemplate)] #[template(string = " +using Gtk 4.0; template $MyWidget : Widget { Label label { label: 'foobar'; diff --git a/Cargo.lock b/Cargo.lock index 602da4388af6..851b28c06b16 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -109,9 +109,9 @@ checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" [[package]] name = "bytemuck" -version = "1.19.0" +version = "1.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8334215b81e418a0a7bdb8ef0849474f40bb10c8b71f1c4ed315cff49f32494d" +checksum = "8b37c88a63ffd85d15b406896cc343916d7cf57838a847b3a6f2ca5d39a5695a" dependencies = [ "bytemuck_derive", ] @@ -141,14 +141,14 @@ checksum = "8f1fe948ff07f4bd06c30984e69f5b4899c516a3ef74f34df92a2df2ab535495" [[package]] name = "bytes" -version = "1.8.0" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ac0150caa2ae65ca5bd83f25c7de183dea78d4d366469f148435e2acfbad0da" +checksum = "325918d6fe32f23b19878fe4b34794ae41fc19ddbe53b10571a4874d44ffd39b" [[package]] name = "cairo-rs" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=main#c940ecde9ec13552a3e797e7a4352ba2edf23a0b" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=main#194eb7f3616e3557055b93d06612ab2b68191cd7" dependencies = [ "bitflags 2.6.0", "cairo-sys-rs", @@ -159,7 +159,7 @@ dependencies = [ [[package]] name = "cairo-sys-rs" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=main#c940ecde9ec13552a3e797e7a4352ba2edf23a0b" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=main#194eb7f3616e3557055b93d06612ab2b68191cd7" dependencies = [ "glib-sys", "libc", @@ -168,18 +168,18 @@ dependencies = [ [[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", @@ -199,9 +199,9 @@ checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" [[package]] name = "chrono" -version = "0.4.38" +version = "0.4.39" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401" +checksum = "7e36cc9d416881d2e24f9a963be5fb1cd90966419ac844274161d10488b3e825" dependencies = [ "android-tzdata", "iana-time-zone", @@ -243,9 +243,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 = "displaydoc" @@ -293,12 +293,12 @@ 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]] @@ -314,9 +314,9 @@ dependencies = [ [[package]] name = "event-listener-strategy" -version = "0.5.2" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f214dc438f977e6d4e3500aaa277f5ad94ca83fbbd9b1a15713ce2344ccc5a1" +checksum = "3c3e4e0dd3673c1139bf041f3008816d9cf2946bbfac2945c09e523b8d7b05b2" dependencies = [ "event-listener", "pin-project-lite", @@ -324,9 +324,9 @@ dependencies = [ [[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 = "femtovg" @@ -441,7 +441,7 @@ dependencies = [ [[package]] name = "gdk-pixbuf" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=main#c940ecde9ec13552a3e797e7a4352ba2edf23a0b" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=main#194eb7f3616e3557055b93d06612ab2b68191cd7" dependencies = [ "gdk-pixbuf-sys", "gio", @@ -452,7 +452,7 @@ dependencies = [ [[package]] name = "gdk-pixbuf-sys" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=main#c940ecde9ec13552a3e797e7a4352ba2edf23a0b" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=main#194eb7f3616e3557055b93d06612ab2b68191cd7" dependencies = [ "gio-sys", "glib-sys", @@ -627,7 +627,7 @@ checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" [[package]] name = "gio" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=main#c940ecde9ec13552a3e797e7a4352ba2edf23a0b" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=main#194eb7f3616e3557055b93d06612ab2b68191cd7" dependencies = [ "futures-channel", "futures-core", @@ -643,7 +643,7 @@ dependencies = [ [[package]] name = "gio-sys" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=main#c940ecde9ec13552a3e797e7a4352ba2edf23a0b" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=main#194eb7f3616e3557055b93d06612ab2b68191cd7" dependencies = [ "glib-sys", "gobject-sys", @@ -686,13 +686,13 @@ checksum = "1a95dfc23a2b4a9a2f5ab41d194f8bfda3cabec42af4e39f08c339eb2a0c124d" dependencies = [ "khronos_api 3.1.0", "log", - "xml-rs 0.8.23", + "xml-rs 0.8.24", ] [[package]] name = "glib" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=main#c940ecde9ec13552a3e797e7a4352ba2edf23a0b" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=main#194eb7f3616e3557055b93d06612ab2b68191cd7" dependencies = [ "bitflags 2.6.0", "futures-channel", @@ -712,7 +712,7 @@ dependencies = [ [[package]] name = "glib-macros" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=main#c940ecde9ec13552a3e797e7a4352ba2edf23a0b" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=main#194eb7f3616e3557055b93d06612ab2b68191cd7" dependencies = [ "heck", "proc-macro-crate", @@ -724,7 +724,7 @@ dependencies = [ [[package]] name = "glib-sys" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=main#c940ecde9ec13552a3e797e7a4352ba2edf23a0b" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=main#194eb7f3616e3557055b93d06612ab2b68191cd7" dependencies = [ "libc", "system-deps", @@ -764,7 +764,7 @@ dependencies = [ [[package]] name = "gobject-sys" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=main#c940ecde9ec13552a3e797e7a4352ba2edf23a0b" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=main#194eb7f3616e3557055b93d06612ab2b68191cd7" dependencies = [ "glib-sys", "libc", @@ -774,7 +774,7 @@ dependencies = [ [[package]] name = "graphene-rs" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=main#c940ecde9ec13552a3e797e7a4352ba2edf23a0b" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=main#194eb7f3616e3557055b93d06612ab2b68191cd7" dependencies = [ "glib", "graphene-sys", @@ -784,7 +784,7 @@ dependencies = [ [[package]] name = "graphene-sys" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=main#c940ecde9ec13552a3e797e7a4352ba2edf23a0b" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=main#194eb7f3616e3557055b93d06612ab2b68191cd7" dependencies = [ "glib-sys", "libc", @@ -897,9 +897,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" @@ -907,17 +907,11 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" -[[package]] -name = "hermit-abi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" - [[package]] name = "http" -version = "1.1.0" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21b9ddb458710bc376481b842f5da65cdf31522de232c1ca8146abce2a358258" +checksum = "f16ca2af56261c99fba8bac40a10251ce8188205a4c448fbb745a2e4daa76fea" dependencies = [ "bytes", "fnv", @@ -955,9 +949,9 @@ checksum = "7d71d3574edd2771538b901e6549113b4006ece66150fb69c0fb6d9a2adae946" [[package]] name = "hyper" -version = "1.5.0" +version = "1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbbff0a806a4728c99295b254c8838933b5b082d75e3cb70c8dab21fdfbcfa9a" +checksum = "256fb8d4bd6413123cc9d91832d78325c48ff41677595be797d90f42969beae0" dependencies = [ "bytes", "futures-channel", @@ -1206,9 +1200,9 @@ checksum = "d0263a3d970d5c054ed9312c0057b4f3bde9c0b33836d3637361d4a9e6e7a408" [[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", @@ -1222,16 +1216,17 @@ checksum = "ddc24109865250148c2e0f3d25d4f0f479571723792d3802153c60922a4fb708" [[package]] name = "itoa" -version = "1.0.11" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" +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", ] @@ -1264,9 +1259,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] name = "libc" -version = "0.2.167" +version = "0.2.168" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09d6582e104315a817dff97f75133544b2e094ee22447d2acf4a74e189ba06fc" +checksum = "5aaeb2981e0606ca11d79718f8bb01164f1d6ed75080182d3abf017e6d244b6d" [[package]] name = "libloading" @@ -1292,9 +1287,9 @@ checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" [[package]] name = "litemap" -version = "0.7.3" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "643cb0b8d4fcc284004d5fd0d67ccf61dfffadb7f75e1e71bc420f4688a3a704" +checksum = "4ee93343901ab17bd981295f2cf0026d4ad018c7c31ba84549a4ddbb47a45104" [[package]] name = "lock_api" @@ -1341,20 +1336,19 @@ checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" [[package]] name = "miniz_oxide" -version = "0.8.0" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2d80299ef12ff69b16a84bb182e3b9df68b5a91574d3d4fa6e41b65deec4df1" +checksum = "4ffbe83022cedc1d264172192511ae958937694cd57ce297164951b8b3568394" dependencies = [ "adler2", ] [[package]] name = "mio" -version = "1.0.2" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80e04d1dcff3aae0704555fe5fee3bcfaf3d1fdf8a7e521d5b9d2b42acb52cec" +checksum = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd" dependencies = [ - "hermit-abi", "libc", "wasi", "windows-sys 0.52.0", @@ -1387,7 +1381,7 @@ checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775" [[package]] name = "pango" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=main#c940ecde9ec13552a3e797e7a4352ba2edf23a0b" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=main#194eb7f3616e3557055b93d06612ab2b68191cd7" dependencies = [ "gio", "glib", @@ -1398,7 +1392,7 @@ dependencies = [ [[package]] name = "pango-sys" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=main#c940ecde9ec13552a3e797e7a4352ba2edf23a0b" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=main#194eb7f3616e3557055b93d06612ab2b68191cd7" dependencies = [ "glib-sys", "gobject-sys", @@ -1544,9 +1538,9 @@ dependencies = [ [[package]] name = "quinn-udp" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d5a626c6807713b15cac82a6acaccd6043c9a5408c24baae07611fec3f243da" +checksum = "52cd4b1eff68bf27940dd39811292c49e007f4d0b4c357358dc9b0197be6b527" dependencies = [ "cfg_aliases", "libc", @@ -1606,9 +1600,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 2.6.0", ] @@ -1687,9 +1681,9 @@ checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" [[package]] name = "rustc-hash" -version = "2.0.0" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "583034fd73374156e66797ed8e5b0d5690409c9226b22d87cb7f19821c05d152" +checksum = "c7fb8039b3032c191086b10f11f319a6e99e1e82889c5cc6046f515c9db1d497" [[package]] name = "rustc_version" @@ -1702,22 +1696,22 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.40" +version = "0.38.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99e4ea3e1cdc4b559b8e5650f9c8e5998e3e5c1343b4eaf034565f32318d63c0" +checksum = "f93dc38ecbab2eb790ff964bb77fa94faf256fd3e73285fd7ba0903b76bedb85" dependencies = [ "bitflags 2.6.0", "errno", "libc", "linux-raw-sys", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] name = "rustls" -version = "0.23.17" +version = "0.23.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f1a745511c54ba6d4465e8d5dfbd81b45791756de28d4981af70d6dca128f1e" +checksum = "5065c3f250cbd332cd894be57c40fa52387247659b14a2d6041d121547903b1b" dependencies = [ "once_cell", "ring", @@ -1738,9 +1732,9 @@ dependencies = [ [[package]] name = "rustls-pki-types" -version = "1.10.0" +version = "1.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16f1201b3c9a7ee8039bcadc17b7e605e2945b27eee7631788c1bd2b0643674b" +checksum = "d2bf47e6ff922db3825eb750c4e2ff784c6ff8fb9e13046ef6a1d1c5401b0b37" dependencies = [ "web-time", ] @@ -1794,24 +1788,24 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "semver" -version = "1.0.23" +version = "1.0.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" +checksum = "3cb6eb87a131f756572d7fb904f6e7b68633f09cca868c5df1c4b8d1a694bbba" [[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", @@ -1918,9 +1912,9 @@ checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" [[package]] name = "socket2" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce305eb0b4296696835b71df73eb912e0f1ffd2556a501fcede6e0c50349191c" +checksum = "c970269d99b64e60ec3bd6ad27270092a5394c4e309314b18ae3fe575695fbe8" dependencies = [ "libc", "windows-sys 0.52.0", @@ -1946,9 +1940,9 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" [[package]] name = "syn" -version = "2.0.87" +version = "2.0.90" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25aa4ce346d03a6dcd68dd8b4010bcb74e54e62c90c573f394c46eae99aba32d" +checksum = "919d3b74a5dd0ccd15aeb8f93e7006bd9e14c295087c9896a110f490752bcf31" dependencies = [ "proc-macro2", "quote", @@ -1957,9 +1951,9 @@ dependencies = [ [[package]] name = "sync_wrapper" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7065abeca94b6a8a577f9bd45aa0867a2238b74e8eb67cf10d492bc39351394" +checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263" dependencies = [ "futures-core", ] @@ -2018,18 +2012,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "2.0.3" +version = "2.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c006c85c7651b3cf2ada4584faa36773bd07bac24acfb39f3c431b36d7e667aa" +checksum = "08f5383f3e0071702bf93ab5ee99b52d26936be9dedd9413067cbdcddcb6141a" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "2.0.3" +version = "2.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f077553d607adc1caf65430528a576c757a71ed73944b66ebb58ef2bbd243568" +checksum = "f2f357fcec90b3caef6623a099691be676d033b40a058ac95d2a6ade6fa0c943" dependencies = [ "proc-macro2", "quote", @@ -2063,9 +2057,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.41.1" +version = "1.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22cfb5bee7a6a52939ca9224d6ac897bb669134078daa8735560897f69de4d33" +checksum = "5cec9b21b0450273377fc97bd4c33a8acffc8c996c987a7c5b319a0083707551" dependencies = [ "backtrace", "bytes", @@ -2092,12 +2086,11 @@ dependencies = [ [[package]] name = "tokio-rustls" -version = "0.26.0" +version = "0.26.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4" +checksum = "5f6d0975eaace0cf0fcadee4e4aaa5da15b5c079146f2cffb67c113be122bf37" dependencies = [ "rustls", - "rustls-pki-types", "tokio", ] @@ -2143,9 +2136,9 @@ checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" [[package]] name = "tracing" -version = "0.1.40" +version = "0.1.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" +checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0" dependencies = [ "pin-project-lite", "tracing-core", @@ -2153,9 +2146,9 @@ dependencies = [ [[package]] name = "tracing-core" -version = "0.1.32" +version = "0.1.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" +checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c" dependencies = [ "once_cell", ] @@ -2183,9 +2176,9 @@ dependencies = [ [[package]] name = "ttf-parser" -version = "0.25.0" +version = "0.25.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5902c5d130972a0000f60860bfbf46f7ca3db5391eddfedd1b8728bd9dc96c0e" +checksum = "d2df906b07856748fa3f6e0ad0cbaa047052d4a7dd609e231c4f72cee8c36f31" dependencies = [ "core_maths", ] @@ -2198,9 +2191,9 @@ checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" [[package]] name = "unicode-bidi" -version = "0.3.17" +version = "0.3.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ab17db44d7388991a428b2ee655ce0c212e862eff1768a455c58f9aad6e7893" +checksum = "5c1cb5db39152898a79168971543b1cb5020dff7fe43c8dc468b0885f5e29df5" [[package]] name = "unicode-bidi-mirroring" @@ -2216,9 +2209,9 @@ checksum = "ce61d488bcdc9bc8b5d1772c404828b17fc481c0a582b5581e95fb233aef503e" [[package]] name = "unicode-ident" -version = "1.0.13" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe" +checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83" [[package]] name = "unicode-properties" @@ -2246,9 +2239,9 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "url" -version = "2.5.3" +version = "2.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d157f1b96d14500ffdc1f10ba712e780825526c03d9a49b4d0324b0d9113ada" +checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60" dependencies = [ "form_urlencoded", "idna", @@ -2296,9 +2289,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", @@ -2307,13 +2300,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", @@ -2322,21 +2314,22 @@ dependencies = [ [[package]] name = "wasm-bindgen-futures" -version = "0.4.45" +version = "0.4.49" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc7ec4f8827a71586374db3e87abdb5a2bb3a15afed140221307c3ec06b1f63b" +checksum = "38176d9b44ea84e9184eff0bc34cc167ed044f816accfe5922e54d84cf48eca2" dependencies = [ "cfg-if", "js-sys", + "once_cell", "wasm-bindgen", "web-sys", ] [[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", @@ -2344,9 +2337,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", @@ -2357,9 +2350,9 @@ 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 = "wayland-backend" @@ -2411,9 +2404,9 @@ dependencies = [ [[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", @@ -2431,9 +2424,9 @@ dependencies = [ [[package]] name = "webpki-roots" -version = "0.26.6" +version = "0.26.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "841c67bff177718f1d4dfefde8d8f0e78f9b6589319ba88312f567fc5841a958" +checksum = "5d642ff16b7e79272ae451b7322067cdc17cadf68c23264be9d94a32319efe7e" dependencies = [ "rustls-pki-types", ] @@ -2661,15 +2654,15 @@ dependencies = [ [[package]] name = "xml-rs" -version = "0.8.23" +version = "0.8.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af310deaae937e48a26602b730250b4949e125f468f11e6990be3e5304ddd96f" +checksum = "ea8b391c9a790b496184c29f7f93b9ed5b16abb306c05415b68bcc16e4d06432" [[package]] name = "yoke" -version = "0.7.4" +version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c5b1314b079b0930c31e3af543d8ee1757b1951ae1e1565ec704403a7240ca5" +checksum = "120e6aef9aa629e3d4f52dc8cc43a015c7724194c97dfaf45180d2daf2b77f40" dependencies = [ "serde", "stable_deref_trait", @@ -2679,9 +2672,9 @@ dependencies = [ [[package]] name = "yoke-derive" -version = "0.7.4" +version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28cc31741b18cb6f1d5ff12f5b7523e3d6eb0852bbbad19d73905511d9849b95" +checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154" dependencies = [ "proc-macro2", "quote", @@ -2712,18 +2705,18 @@ dependencies = [ [[package]] name = "zerofrom" -version = "0.1.4" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91ec111ce797d0e0784a1116d0ddcdbea84322cd79e5d5ad173daeba4f93ab55" +checksum = "cff3ee08c995dee1859d998dea82f7374f2826091dd9cd47def953cae446cd2e" dependencies = [ "zerofrom-derive", ] [[package]] name = "zerofrom-derive" -version = "0.1.4" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ea7b4a3637ea8669cedf0f1fd5c286a17f3de97b8dd5a70a6c167a1730e63a5" +checksum = "595eed982f7d355beb85837f651fa22e90b3c044842dc7f2c2842c086f295808" dependencies = [ "proc-macro2", "quote", diff --git a/deny.toml b/deny.toml index 5fc2001c97a2..7c9926dfe1b5 100644 --- a/deny.toml +++ b/deny.toml @@ -16,8 +16,8 @@ allow = [ "MIT", "Apache-2.0", "Apache-2.0 WITH LLVM-exception", - "Unicode-DFS-2016", "ISC", + "Unicode-3.0" ] confidence-threshold = 0.8 @@ -33,11 +33,6 @@ allow-git = [ "https://github.com/gtk-rs/gtk-rs-core", ] -# rustix/errno depends on an older version -[[bans.skip]] -name = "windows-sys" -version = "0.52.0" - # wayland-scanner depends on an older version [[bans.skip]] name = "quick-xml" diff --git a/examples/custom_orientable/custom_orientable/imp.rs b/examples/custom_orientable/custom_orientable/imp.rs index a97c8a29345b..800cd4e0fd43 100644 --- a/examples/custom_orientable/custom_orientable/imp.rs +++ b/examples/custom_orientable/custom_orientable/imp.rs @@ -62,7 +62,7 @@ impl ObjectImpl for CustomOrientable { } fn dispose(&self) { - // Child widgets need to be manually unparented in `dispose()`. + // Child widgets need to be manually un-parented in `dispose()`. if let Some(child) = self.first_label.borrow_mut().take() { child.unparent(); } diff --git a/examples/custom_widget/ex_button/imp.rs b/examples/custom_widget/ex_button/imp.rs index 2a44901e7c61..d985b53f02cd 100644 --- a/examples/custom_widget/ex_button/imp.rs +++ b/examples/custom_widget/ex_button/imp.rs @@ -66,7 +66,7 @@ impl ObjectImpl for ExButton { } fn dispose(&self) { - // Child widgets need to be manually unparented in `dispose()`. + // Child widgets need to be manually un-parented in `dispose()`. if let Some(child) = self.child.borrow_mut().take() { child.unparent(); } diff --git a/gdk4-macos/src/auto/macos_surface.rs b/gdk4-macos/src/auto/macos_surface.rs index 8dc628bd49ec..dfd1615d78c7 100644 --- a/gdk4-macos/src/auto/macos_surface.rs +++ b/gdk4-macos/src/auto/macos_surface.rs @@ -46,7 +46,7 @@ impl MacosSurface { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::native\0".as_ptr() as *const _, + c"notify::native".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_native_trampoline::<F> as *const (), )), diff --git a/gdk4-macos/src/auto/versions.txt b/gdk4-macos/src/auto/versions.txt index 5af8e497d2f0..1a56b9ecf195 100644 --- a/gdk4-macos/src/auto/versions.txt +++ b/gdk4-macos/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) -from gir-files (https://github.com/gtk-rs/gir-files @ c05f5cc23cb7) +Generated by gir (https://github.com/gtk-rs/gir @ be3ecc201d39) +from gir-files (https://github.com/gtk-rs/gir-files @ 3ede86d6a218) diff --git a/gdk4-macos/sys/versions.txt b/gdk4-macos/sys/versions.txt index 5af8e497d2f0..1a56b9ecf195 100644 --- a/gdk4-macos/sys/versions.txt +++ b/gdk4-macos/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) -from gir-files (https://github.com/gtk-rs/gir-files @ c05f5cc23cb7) +Generated by gir (https://github.com/gtk-rs/gir @ be3ecc201d39) +from gir-files (https://github.com/gtk-rs/gir-files @ 3ede86d6a218) diff --git a/gdk4-wayland/src/auto/versions.txt b/gdk4-wayland/src/auto/versions.txt index 5af8e497d2f0..1a56b9ecf195 100644 --- a/gdk4-wayland/src/auto/versions.txt +++ b/gdk4-wayland/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) -from gir-files (https://github.com/gtk-rs/gir-files @ c05f5cc23cb7) +Generated by gir (https://github.com/gtk-rs/gir @ be3ecc201d39) +from gir-files (https://github.com/gtk-rs/gir-files @ 3ede86d6a218) diff --git a/gdk4-wayland/sys/versions.txt b/gdk4-wayland/sys/versions.txt index 5af8e497d2f0..1a56b9ecf195 100644 --- a/gdk4-wayland/sys/versions.txt +++ b/gdk4-wayland/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) -from gir-files (https://github.com/gtk-rs/gir-files @ c05f5cc23cb7) +Generated by gir (https://github.com/gtk-rs/gir @ be3ecc201d39) +from gir-files (https://github.com/gtk-rs/gir-files @ 3ede86d6a218) diff --git a/gdk4-win32/src/auto/versions.txt b/gdk4-win32/src/auto/versions.txt index 5af8e497d2f0..1a56b9ecf195 100644 --- a/gdk4-win32/src/auto/versions.txt +++ b/gdk4-win32/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) -from gir-files (https://github.com/gtk-rs/gir-files @ c05f5cc23cb7) +Generated by gir (https://github.com/gtk-rs/gir @ be3ecc201d39) +from gir-files (https://github.com/gtk-rs/gir-files @ 3ede86d6a218) diff --git a/gdk4-win32/sys/versions.txt b/gdk4-win32/sys/versions.txt index 5af8e497d2f0..1a56b9ecf195 100644 --- a/gdk4-win32/sys/versions.txt +++ b/gdk4-win32/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) -from gir-files (https://github.com/gtk-rs/gir-files @ c05f5cc23cb7) +Generated by gir (https://github.com/gtk-rs/gir @ be3ecc201d39) +from gir-files (https://github.com/gtk-rs/gir-files @ 3ede86d6a218) diff --git a/gdk4-x11/src/auto/versions.txt b/gdk4-x11/src/auto/versions.txt index 5af8e497d2f0..1a56b9ecf195 100644 --- a/gdk4-x11/src/auto/versions.txt +++ b/gdk4-x11/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) -from gir-files (https://github.com/gtk-rs/gir-files @ c05f5cc23cb7) +Generated by gir (https://github.com/gtk-rs/gir @ be3ecc201d39) +from gir-files (https://github.com/gtk-rs/gir-files @ 3ede86d6a218) diff --git a/gdk4-x11/src/auto/x11_screen.rs b/gdk4-x11/src/auto/x11_screen.rs index 85fec0dd5422..855fba40018e 100644 --- a/gdk4-x11/src/auto/x11_screen.rs +++ b/gdk4-x11/src/auto/x11_screen.rs @@ -71,7 +71,7 @@ impl X11Screen { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"window-manager-changed\0".as_ptr() as *const _, + c"window-manager-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( window_manager_changed_trampoline::<F> as *const (), )), diff --git a/gdk4-x11/src/x11_display.rs b/gdk4-x11/src/x11_display.rs index 55e6006e4ec5..7f43ebf46c6f 100644 --- a/gdk4-x11/src/x11_display.rs +++ b/gdk4-x11/src/x11_display.rs @@ -89,7 +89,7 @@ impl X11Display { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"xevent\0".as_ptr() as *const _, + c"xevent".as_ptr() as *const _, Some(transmute::<*const (), unsafe extern "C" fn()>( xevent_trampoline::<F> as *const (), )), diff --git a/gdk4-x11/sys/versions.txt b/gdk4-x11/sys/versions.txt index 5af8e497d2f0..1a56b9ecf195 100644 --- a/gdk4-x11/sys/versions.txt +++ b/gdk4-x11/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) -from gir-files (https://github.com/gtk-rs/gir-files @ c05f5cc23cb7) +Generated by gir (https://github.com/gtk-rs/gir @ be3ecc201d39) +from gir-files (https://github.com/gtk-rs/gir-files @ 3ede86d6a218) diff --git a/gdk4/src/auto/cicp_params.rs b/gdk4/src/auto/cicp_params.rs index a6807d7ec998..9d68f1eadc44 100644 --- a/gdk4/src/auto/cicp_params.rs +++ b/gdk4/src/auto/cicp_params.rs @@ -27,7 +27,7 @@ impl CicpParams { } #[doc(alias = "gdk_cicp_params_build_color_state")] - pub fn build_color_state(&self) -> Result<Option<ColorState>, glib::Error> { + pub fn build_color_state(&self) -> Result<ColorState, glib::Error> { unsafe { let mut error = std::ptr::null_mut(); let ret = ffi::gdk_cicp_params_build_color_state(self.to_glib_none().0, &mut error); @@ -117,7 +117,7 @@ impl CicpParams { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::color-primaries\0".as_ptr() as *const _, + c"notify::color-primaries".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_color_primaries_trampoline::<F> as *const (), )), @@ -145,7 +145,7 @@ impl CicpParams { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::matrix-coefficients\0".as_ptr() as *const _, + c"notify::matrix-coefficients".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_matrix_coefficients_trampoline::<F> as *const (), )), @@ -170,7 +170,7 @@ impl CicpParams { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::range\0".as_ptr() as *const _, + c"notify::range".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_range_trampoline::<F> as *const (), )), @@ -198,7 +198,7 @@ impl CicpParams { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::transfer-function\0".as_ptr() as *const _, + c"notify::transfer-function".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_transfer_function_trampoline::<F> as *const (), )), diff --git a/gdk4/src/auto/clipboard.rs b/gdk4/src/auto/clipboard.rs index 91fe1874e7be..ae75dc47736e 100644 --- a/gdk4/src/auto/clipboard.rs +++ b/gdk4/src/auto/clipboard.rs @@ -340,7 +340,7 @@ impl Clipboard { let f: Box_<F> = 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::<F> as *const (), )), @@ -363,7 +363,7 @@ impl Clipboard { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::content\0".as_ptr() as *const _, + c"notify::content".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_content_trampoline::<F> as *const (), )), @@ -386,7 +386,7 @@ impl Clipboard { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::formats\0".as_ptr() as *const _, + c"notify::formats".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_formats_trampoline::<F> as *const (), )), @@ -409,7 +409,7 @@ impl Clipboard { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::local\0".as_ptr() as *const _, + c"notify::local".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_local_trampoline::<F> as *const (), )), diff --git a/gdk4/src/auto/content_formats.rs b/gdk4/src/auto/content_formats.rs index 2cef38f3a6df..67ec0bbf66b5 100644 --- a/gdk4/src/auto/content_formats.rs +++ b/gdk4/src/auto/content_formats.rs @@ -73,6 +73,13 @@ impl ContentFormats { } } + #[cfg(feature = "v4_18")] + #[cfg_attr(docsrs, doc(cfg(feature = "v4_18")))] + #[doc(alias = "gdk_content_formats_is_empty")] + pub fn is_empty(&self) -> bool { + unsafe { from_glib(ffi::gdk_content_formats_is_empty(self.to_glib_none().0)) } + } + #[doc(alias = "gdk_content_formats_match")] #[doc(alias = "match")] pub fn match_(&self, second: &ContentFormats) -> bool { diff --git a/gdk4/src/auto/content_provider.rs b/gdk4/src/auto/content_provider.rs index bea48c3f8af7..45d32462c4c2 100644 --- a/gdk4/src/auto/content_provider.rs +++ b/gdk4/src/auto/content_provider.rs @@ -182,7 +182,7 @@ pub trait ContentProviderExt: IsA<ContentProvider> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"content-changed\0".as_ptr() as *const _, + c"content-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( content_changed_trampoline::<Self, F> as *const (), )), @@ -208,7 +208,7 @@ pub trait ContentProviderExt: IsA<ContentProvider> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::formats\0".as_ptr() as *const _, + c"notify::formats".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_formats_trampoline::<Self, F> as *const (), )), @@ -234,7 +234,7 @@ pub trait ContentProviderExt: IsA<ContentProvider> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::storable-formats\0".as_ptr() as *const _, + c"notify::storable-formats".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_storable_formats_trampoline::<Self, F> as *const (), )), diff --git a/gdk4/src/auto/device.rs b/gdk4/src/auto/device.rs index ef71d92f8c8c..4726ee0868c3 100644 --- a/gdk4/src/auto/device.rs +++ b/gdk4/src/auto/device.rs @@ -215,7 +215,7 @@ pub trait DeviceExt: IsA<Device> + 'static { let f: Box_<F> = 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::<Self, F> as *const (), )), @@ -244,7 +244,7 @@ pub trait DeviceExt: IsA<Device> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"tool-changed\0".as_ptr() as *const _, + c"tool-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( tool_changed_trampoline::<Self, F> as *const (), )), @@ -270,7 +270,7 @@ pub trait DeviceExt: IsA<Device> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::caps-lock-state\0".as_ptr() as *const _, + c"notify::caps-lock-state".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_caps_lock_state_trampoline::<Self, F> as *const (), )), @@ -293,7 +293,7 @@ pub trait DeviceExt: IsA<Device> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::direction\0".as_ptr() as *const _, + c"notify::direction".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_direction_trampoline::<Self, F> as *const (), )), @@ -319,7 +319,7 @@ pub trait DeviceExt: IsA<Device> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::has-bidi-layouts\0".as_ptr() as *const _, + c"notify::has-bidi-layouts".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_has_bidi_layouts_trampoline::<Self, F> as *const (), )), @@ -345,7 +345,7 @@ pub trait DeviceExt: IsA<Device> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::modifier-state\0".as_ptr() as *const _, + c"notify::modifier-state".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_modifier_state_trampoline::<Self, F> as *const (), )), @@ -368,7 +368,7 @@ pub trait DeviceExt: IsA<Device> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::n-axes\0".as_ptr() as *const _, + c"notify::n-axes".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_n_axes_trampoline::<Self, F> as *const (), )), @@ -394,7 +394,7 @@ pub trait DeviceExt: IsA<Device> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::num-lock-state\0".as_ptr() as *const _, + c"notify::num-lock-state".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_num_lock_state_trampoline::<Self, F> as *const (), )), @@ -420,7 +420,7 @@ pub trait DeviceExt: IsA<Device> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::scroll-lock-state\0".as_ptr() as *const _, + c"notify::scroll-lock-state".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_scroll_lock_state_trampoline::<Self, F> as *const (), )), @@ -443,7 +443,7 @@ pub trait DeviceExt: IsA<Device> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::seat\0".as_ptr() as *const _, + c"notify::seat".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_seat_trampoline::<Self, F> as *const (), )), @@ -466,7 +466,7 @@ pub trait DeviceExt: IsA<Device> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::tool\0".as_ptr() as *const _, + c"notify::tool".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_tool_trampoline::<Self, F> as *const (), )), diff --git a/gdk4/src/auto/display.rs b/gdk4/src/auto/display.rs index 3e165b9e25f4..2393ccc11ff9 100644 --- a/gdk4/src/auto/display.rs +++ b/gdk4/src/auto/display.rs @@ -307,7 +307,7 @@ pub trait DisplayExt: IsA<Display> + 'static { let f: Box_<F> = 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::<Self, F> as *const (), )), @@ -329,7 +329,7 @@ pub trait DisplayExt: IsA<Display> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"opened\0".as_ptr() as *const _, + c"opened".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( opened_trampoline::<Self, F> as *const (), )), @@ -355,7 +355,7 @@ pub trait DisplayExt: IsA<Display> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"seat-added\0".as_ptr() as *const _, + c"seat-added".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( seat_added_trampoline::<Self, F> as *const (), )), @@ -384,7 +384,7 @@ pub trait DisplayExt: IsA<Display> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"seat-removed\0".as_ptr() as *const _, + c"seat-removed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( seat_removed_trampoline::<Self, F> as *const (), )), @@ -413,7 +413,7 @@ pub trait DisplayExt: IsA<Display> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"setting-changed\0".as_ptr() as *const _, + c"setting-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( setting_changed_trampoline::<Self, F> as *const (), )), @@ -436,7 +436,7 @@ pub trait DisplayExt: IsA<Display> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::composited\0".as_ptr() as *const _, + c"notify::composited".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_composited_trampoline::<Self, F> as *const (), )), @@ -464,7 +464,7 @@ pub trait DisplayExt: IsA<Display> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::dmabuf-formats\0".as_ptr() as *const _, + c"notify::dmabuf-formats".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_dmabuf_formats_trampoline::<Self, F> as *const (), )), @@ -490,7 +490,7 @@ pub trait DisplayExt: IsA<Display> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::input-shapes\0".as_ptr() as *const _, + c"notify::input-shapes".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_input_shapes_trampoline::<Self, F> as *const (), )), @@ -513,7 +513,7 @@ pub trait DisplayExt: IsA<Display> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::rgba\0".as_ptr() as *const _, + c"notify::rgba".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_rgba_trampoline::<Self, F> as *const (), )), @@ -541,7 +541,7 @@ pub trait DisplayExt: IsA<Display> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::shadow-width\0".as_ptr() as *const _, + c"notify::shadow-width".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_shadow_width_trampoline::<Self, F> as *const (), )), diff --git a/gdk4/src/auto/display_manager.rs b/gdk4/src/auto/display_manager.rs index b059894cd767..898355ea900b 100644 --- a/gdk4/src/auto/display_manager.rs +++ b/gdk4/src/auto/display_manager.rs @@ -86,7 +86,7 @@ impl DisplayManager { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"display-opened\0".as_ptr() as *const _, + c"display-opened".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( display_opened_trampoline::<F> as *const (), )), @@ -109,7 +109,7 @@ impl DisplayManager { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::default-display\0".as_ptr() as *const _, + c"notify::default-display".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_default_display_trampoline::<F> as *const (), )), diff --git a/gdk4/src/auto/dmabuf_texture_builder.rs b/gdk4/src/auto/dmabuf_texture_builder.rs index f53242bb08b4..b8b92c518c3a 100644 --- a/gdk4/src/auto/dmabuf_texture_builder.rs +++ b/gdk4/src/auto/dmabuf_texture_builder.rs @@ -270,7 +270,7 @@ impl DmabufTextureBuilder { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::color-state\0".as_ptr() as *const _, + c"notify::color-state".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_color_state_trampoline::<F> as *const (), )), @@ -295,7 +295,7 @@ impl DmabufTextureBuilder { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::display\0".as_ptr() as *const _, + c"notify::display".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_display_trampoline::<F> as *const (), )), @@ -320,7 +320,7 @@ impl DmabufTextureBuilder { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::fourcc\0".as_ptr() as *const _, + c"notify::fourcc".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_fourcc_trampoline::<F> as *const (), )), @@ -345,7 +345,7 @@ impl DmabufTextureBuilder { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::height\0".as_ptr() as *const _, + c"notify::height".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_height_trampoline::<F> as *const (), )), @@ -370,7 +370,7 @@ impl DmabufTextureBuilder { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::modifier\0".as_ptr() as *const _, + c"notify::modifier".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_modifier_trampoline::<F> as *const (), )), @@ -395,7 +395,7 @@ impl DmabufTextureBuilder { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::n-planes\0".as_ptr() as *const _, + c"notify::n-planes".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_n_planes_trampoline::<F> as *const (), )), @@ -422,7 +422,7 @@ impl DmabufTextureBuilder { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::premultiplied\0".as_ptr() as *const _, + c"notify::premultiplied".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_premultiplied_trampoline::<F> as *const (), )), @@ -449,7 +449,7 @@ impl DmabufTextureBuilder { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::update-region\0".as_ptr() as *const _, + c"notify::update-region".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_update_region_trampoline::<F> as *const (), )), @@ -476,7 +476,7 @@ impl DmabufTextureBuilder { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::update-texture\0".as_ptr() as *const _, + c"notify::update-texture".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_update_texture_trampoline::<F> as *const (), )), @@ -501,7 +501,7 @@ impl DmabufTextureBuilder { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::width\0".as_ptr() as *const _, + c"notify::width".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_width_trampoline::<F> as *const (), )), diff --git a/gdk4/src/auto/drag.rs b/gdk4/src/auto/drag.rs index d003ec28bd05..0a826a66d9a4 100644 --- a/gdk4/src/auto/drag.rs +++ b/gdk4/src/auto/drag.rs @@ -148,7 +148,7 @@ pub trait DragExt: IsA<Drag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"cancel\0".as_ptr() as *const _, + c"cancel".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( cancel_trampoline::<Self, F> as *const (), )), @@ -170,7 +170,7 @@ pub trait DragExt: IsA<Drag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"dnd-finished\0".as_ptr() as *const _, + c"dnd-finished".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( dnd_finished_trampoline::<Self, F> as *const (), )), @@ -192,7 +192,7 @@ pub trait DragExt: IsA<Drag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"drop-performed\0".as_ptr() as *const _, + c"drop-performed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( drop_performed_trampoline::<Self, F> as *const (), )), @@ -215,7 +215,7 @@ pub trait DragExt: IsA<Drag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::actions\0".as_ptr() as *const _, + c"notify::actions".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_actions_trampoline::<Self, F> as *const (), )), @@ -238,7 +238,7 @@ pub trait DragExt: IsA<Drag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::display\0".as_ptr() as *const _, + c"notify::display".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_display_trampoline::<Self, F> as *const (), )), @@ -264,7 +264,7 @@ pub trait DragExt: IsA<Drag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::selected-action\0".as_ptr() as *const _, + c"notify::selected-action".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_selected_action_trampoline::<Self, F> as *const (), )), diff --git a/gdk4/src/auto/drop.rs b/gdk4/src/auto/drop.rs index db441535deb2..c2755010ccbb 100644 --- a/gdk4/src/auto/drop.rs +++ b/gdk4/src/auto/drop.rs @@ -153,7 +153,7 @@ impl Drop { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::display\0".as_ptr() as *const _, + c"notify::display".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_display_trampoline::<F> as *const (), )), diff --git a/gdk4/src/auto/frame_clock.rs b/gdk4/src/auto/frame_clock.rs index 774c61a9ee2a..aa72dbdcc715 100644 --- a/gdk4/src/auto/frame_clock.rs +++ b/gdk4/src/auto/frame_clock.rs @@ -118,7 +118,7 @@ impl FrameClock { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"after-paint\0".as_ptr() as *const _, + c"after-paint".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( after_paint_trampoline::<F> as *const (), )), @@ -140,7 +140,7 @@ impl FrameClock { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"before-paint\0".as_ptr() as *const _, + c"before-paint".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( before_paint_trampoline::<F> as *const (), )), @@ -162,7 +162,7 @@ impl FrameClock { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"flush-events\0".as_ptr() as *const _, + c"flush-events".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( flush_events_trampoline::<F> as *const (), )), @@ -184,7 +184,7 @@ impl FrameClock { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"layout\0".as_ptr() as *const _, + c"layout".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( layout_trampoline::<F> as *const (), )), @@ -206,7 +206,7 @@ impl FrameClock { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"paint\0".as_ptr() as *const _, + c"paint".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( paint_trampoline::<F> as *const (), )), @@ -228,7 +228,7 @@ impl FrameClock { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"resume-events\0".as_ptr() as *const _, + c"resume-events".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( resume_events_trampoline::<F> as *const (), )), @@ -250,7 +250,7 @@ impl FrameClock { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"update\0".as_ptr() as *const _, + c"update".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( update_trampoline::<F> as *const (), )), diff --git a/gdk4/src/auto/gl_context.rs b/gdk4/src/auto/gl_context.rs index 7337fdc51ef5..fda34a61730b 100644 --- a/gdk4/src/auto/gl_context.rs +++ b/gdk4/src/auto/gl_context.rs @@ -264,7 +264,7 @@ pub trait GLContextExt: IsA<GLContext> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::allowed-apis\0".as_ptr() as *const _, + c"notify::allowed-apis".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_allowed_apis_trampoline::<Self, F> as *const (), )), @@ -289,7 +289,7 @@ pub trait GLContextExt: IsA<GLContext> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::api\0".as_ptr() as *const _, + c"notify::api".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_api_trampoline::<Self, F> as *const (), )), diff --git a/gdk4/src/auto/gl_texture_builder.rs b/gdk4/src/auto/gl_texture_builder.rs index 8275c471d2e7..160fa999e68f 100644 --- a/gdk4/src/auto/gl_texture_builder.rs +++ b/gdk4/src/auto/gl_texture_builder.rs @@ -151,7 +151,7 @@ impl GLTextureBuilder { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::color-state\0".as_ptr() as *const _, + c"notify::color-state".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_color_state_trampoline::<F> as *const (), )), diff --git a/gdk4/src/auto/memory_texture_builder.rs b/gdk4/src/auto/memory_texture_builder.rs index 07a6b36f50fe..cedd638964a6 100644 --- a/gdk4/src/auto/memory_texture_builder.rs +++ b/gdk4/src/auto/memory_texture_builder.rs @@ -199,7 +199,7 @@ impl MemoryTextureBuilder { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::bytes\0".as_ptr() as *const _, + c"notify::bytes".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_bytes_trampoline::<F> as *const (), )), @@ -229,7 +229,7 @@ impl MemoryTextureBuilder { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::color-state\0".as_ptr() as *const _, + c"notify::color-state".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_color_state_trampoline::<F> as *const (), )), @@ -259,7 +259,7 @@ impl MemoryTextureBuilder { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::format\0".as_ptr() as *const _, + c"notify::format".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_format_trampoline::<F> as *const (), )), @@ -289,7 +289,7 @@ impl MemoryTextureBuilder { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::height\0".as_ptr() as *const _, + c"notify::height".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_height_trampoline::<F> as *const (), )), @@ -319,7 +319,7 @@ impl MemoryTextureBuilder { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::stride\0".as_ptr() as *const _, + c"notify::stride".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_stride_trampoline::<F> as *const (), )), @@ -349,7 +349,7 @@ impl MemoryTextureBuilder { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::update-region\0".as_ptr() as *const _, + c"notify::update-region".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_update_region_trampoline::<F> as *const (), )), @@ -379,7 +379,7 @@ impl MemoryTextureBuilder { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::update-texture\0".as_ptr() as *const _, + c"notify::update-texture".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_update_texture_trampoline::<F> as *const (), )), @@ -409,7 +409,7 @@ impl MemoryTextureBuilder { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::width\0".as_ptr() as *const _, + c"notify::width".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_width_trampoline::<F> as *const (), )), diff --git a/gdk4/src/auto/monitor.rs b/gdk4/src/auto/monitor.rs index bf0d16447751..e8af1cef552f 100644 --- a/gdk4/src/auto/monitor.rs +++ b/gdk4/src/auto/monitor.rs @@ -147,7 +147,7 @@ pub trait MonitorExt: IsA<Monitor> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"invalidate\0".as_ptr() as *const _, + c"invalidate".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( invalidate_trampoline::<Self, F> as *const (), )), @@ -170,7 +170,7 @@ pub trait MonitorExt: IsA<Monitor> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::connector\0".as_ptr() as *const _, + c"notify::connector".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_connector_trampoline::<Self, F> as *const (), )), @@ -195,7 +195,7 @@ pub trait MonitorExt: IsA<Monitor> + 'static { let f: Box_<F> = 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::<Self, F> as *const (), )), @@ -218,7 +218,7 @@ pub trait MonitorExt: IsA<Monitor> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::geometry\0".as_ptr() as *const _, + c"notify::geometry".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_geometry_trampoline::<Self, F> as *const (), )), @@ -241,7 +241,7 @@ pub trait MonitorExt: IsA<Monitor> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::height-mm\0".as_ptr() as *const _, + c"notify::height-mm".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_height_mm_trampoline::<Self, F> as *const (), )), @@ -267,7 +267,7 @@ pub trait MonitorExt: IsA<Monitor> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::manufacturer\0".as_ptr() as *const _, + c"notify::manufacturer".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_manufacturer_trampoline::<Self, F> as *const (), )), @@ -290,7 +290,7 @@ pub trait MonitorExt: IsA<Monitor> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::model\0".as_ptr() as *const _, + c"notify::model".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_model_trampoline::<Self, F> as *const (), )), @@ -316,7 +316,7 @@ pub trait MonitorExt: IsA<Monitor> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::refresh-rate\0".as_ptr() as *const _, + c"notify::refresh-rate".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_refresh_rate_trampoline::<Self, F> as *const (), )), @@ -341,7 +341,7 @@ pub trait MonitorExt: IsA<Monitor> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::scale\0".as_ptr() as *const _, + c"notify::scale".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_scale_trampoline::<Self, F> as *const (), )), @@ -367,7 +367,7 @@ pub trait MonitorExt: IsA<Monitor> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::scale-factor\0".as_ptr() as *const _, + c"notify::scale-factor".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_scale_factor_trampoline::<Self, F> as *const (), )), @@ -393,7 +393,7 @@ pub trait MonitorExt: IsA<Monitor> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::subpixel-layout\0".as_ptr() as *const _, + c"notify::subpixel-layout".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_subpixel_layout_trampoline::<Self, F> as *const (), )), @@ -416,7 +416,7 @@ pub trait MonitorExt: IsA<Monitor> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::valid\0".as_ptr() as *const _, + c"notify::valid".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_valid_trampoline::<Self, F> as *const (), )), @@ -439,7 +439,7 @@ pub trait MonitorExt: IsA<Monitor> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::width-mm\0".as_ptr() as *const _, + c"notify::width-mm".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_width_mm_trampoline::<Self, F> as *const (), )), diff --git a/gdk4/src/auto/paintable.rs b/gdk4/src/auto/paintable.rs index 04f4a43dc02f..739a7aa6dab6 100644 --- a/gdk4/src/auto/paintable.rs +++ b/gdk4/src/auto/paintable.rs @@ -136,7 +136,7 @@ pub trait PaintableExt: IsA<Paintable> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"invalidate-contents\0".as_ptr() as *const _, + c"invalidate-contents".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( invalidate_contents_trampoline::<Self, F> as *const (), )), @@ -158,7 +158,7 @@ pub trait PaintableExt: IsA<Paintable> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"invalidate-size\0".as_ptr() as *const _, + c"invalidate-size".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( invalidate_size_trampoline::<Self, F> as *const (), )), diff --git a/gdk4/src/auto/seat.rs b/gdk4/src/auto/seat.rs index 02f29335687d..8ad5f4db4a54 100644 --- a/gdk4/src/auto/seat.rs +++ b/gdk4/src/auto/seat.rs @@ -90,7 +90,7 @@ pub trait SeatExt: IsA<Seat> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"device-added\0".as_ptr() as *const _, + c"device-added".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( device_added_trampoline::<Self, F> as *const (), )), @@ -119,7 +119,7 @@ pub trait SeatExt: IsA<Seat> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"device-removed\0".as_ptr() as *const _, + c"device-removed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( device_removed_trampoline::<Self, F> as *const (), )), @@ -148,7 +148,7 @@ pub trait SeatExt: IsA<Seat> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"tool-added\0".as_ptr() as *const _, + c"tool-added".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( tool_added_trampoline::<Self, F> as *const (), )), @@ -177,7 +177,7 @@ pub trait SeatExt: IsA<Seat> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"tool-removed\0".as_ptr() as *const _, + c"tool-removed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( tool_removed_trampoline::<Self, F> as *const (), )), diff --git a/gdk4/src/auto/surface.rs b/gdk4/src/auto/surface.rs index f5cba7d9e6db..c2e56358593d 100644 --- a/gdk4/src/auto/surface.rs +++ b/gdk4/src/auto/surface.rs @@ -287,7 +287,7 @@ pub trait SurfaceExt: IsA<Surface> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"enter-monitor\0".as_ptr() as *const _, + c"enter-monitor".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( enter_monitor_trampoline::<Self, F> as *const (), )), @@ -317,7 +317,7 @@ pub trait SurfaceExt: IsA<Surface> + 'static { let f: Box_<F> = 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::<Self, F> as *const (), )), @@ -345,7 +345,7 @@ pub trait SurfaceExt: IsA<Surface> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"layout\0".as_ptr() as *const _, + c"layout".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( layout_trampoline::<Self, F> as *const (), )), @@ -374,7 +374,7 @@ pub trait SurfaceExt: IsA<Surface> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"leave-monitor\0".as_ptr() as *const _, + c"leave-monitor".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( leave_monitor_trampoline::<Self, F> as *const (), )), @@ -407,7 +407,7 @@ pub trait SurfaceExt: IsA<Surface> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"render\0".as_ptr() as *const _, + c"render".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( render_trampoline::<Self, F> as *const (), )), @@ -430,7 +430,7 @@ pub trait SurfaceExt: IsA<Surface> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::cursor\0".as_ptr() as *const _, + c"notify::cursor".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_cursor_trampoline::<Self, F> as *const (), )), @@ -453,7 +453,7 @@ pub trait SurfaceExt: IsA<Surface> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::height\0".as_ptr() as *const _, + c"notify::height".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_height_trampoline::<Self, F> as *const (), )), @@ -476,7 +476,7 @@ pub trait SurfaceExt: IsA<Surface> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::mapped\0".as_ptr() as *const _, + c"notify::mapped".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_mapped_trampoline::<Self, F> as *const (), )), @@ -501,7 +501,7 @@ pub trait SurfaceExt: IsA<Surface> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::scale\0".as_ptr() as *const _, + c"notify::scale".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_scale_trampoline::<Self, F> as *const (), )), @@ -527,7 +527,7 @@ pub trait SurfaceExt: IsA<Surface> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::scale-factor\0".as_ptr() as *const _, + c"notify::scale-factor".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_scale_factor_trampoline::<Self, F> as *const (), )), @@ -550,7 +550,7 @@ pub trait SurfaceExt: IsA<Surface> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::width\0".as_ptr() as *const _, + c"notify::width".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_width_trampoline::<Self, F> as *const (), )), diff --git a/gdk4/src/auto/toplevel.rs b/gdk4/src/auto/toplevel.rs index 2e418a207652..035a740b3d2b 100644 --- a/gdk4/src/auto/toplevel.rs +++ b/gdk4/src/auto/toplevel.rs @@ -270,7 +270,7 @@ pub trait ToplevelExt: IsA<Toplevel> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::decorated\0".as_ptr() as *const _, + c"notify::decorated".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_decorated_trampoline::<Self, F> as *const (), )), @@ -293,7 +293,7 @@ pub trait ToplevelExt: IsA<Toplevel> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::deletable\0".as_ptr() as *const _, + c"notify::deletable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_deletable_trampoline::<Self, F> as *const (), )), @@ -319,7 +319,7 @@ pub trait ToplevelExt: IsA<Toplevel> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::fullscreen-mode\0".as_ptr() as *const _, + c"notify::fullscreen-mode".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_fullscreen_mode_trampoline::<Self, F> as *const (), )), @@ -342,7 +342,7 @@ pub trait ToplevelExt: IsA<Toplevel> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::icon-list\0".as_ptr() as *const _, + c"notify::icon-list".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_icon_list_trampoline::<Self, F> as *const (), )), @@ -365,7 +365,7 @@ pub trait ToplevelExt: IsA<Toplevel> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::modal\0".as_ptr() as *const _, + c"notify::modal".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_modal_trampoline::<Self, F> as *const (), )), @@ -391,7 +391,7 @@ pub trait ToplevelExt: IsA<Toplevel> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::shortcuts-inhibited\0".as_ptr() as *const _, + c"notify::shortcuts-inhibited".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_shortcuts_inhibited_trampoline::<Self, F> as *const (), )), @@ -414,7 +414,7 @@ pub trait ToplevelExt: IsA<Toplevel> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::startup-id\0".as_ptr() as *const _, + c"notify::startup-id".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_startup_id_trampoline::<Self, F> as *const (), )), @@ -437,7 +437,7 @@ pub trait ToplevelExt: IsA<Toplevel> + 'static { let f: Box_<F> = 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::<Self, F> as *const (), )), @@ -460,7 +460,7 @@ pub trait ToplevelExt: IsA<Toplevel> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::title\0".as_ptr() as *const _, + c"notify::title".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_title_trampoline::<Self, F> as *const (), )), @@ -486,7 +486,7 @@ pub trait ToplevelExt: IsA<Toplevel> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::transient-for\0".as_ptr() as *const _, + c"notify::transient-for".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_transient_for_trampoline::<Self, F> as *const (), )), diff --git a/gdk4/src/auto/versions.txt b/gdk4/src/auto/versions.txt index 5af8e497d2f0..1a56b9ecf195 100644 --- a/gdk4/src/auto/versions.txt +++ b/gdk4/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) -from gir-files (https://github.com/gtk-rs/gir-files @ c05f5cc23cb7) +Generated by gir (https://github.com/gtk-rs/gir @ be3ecc201d39) +from gir-files (https://github.com/gtk-rs/gir-files @ 3ede86d6a218) diff --git a/gdk4/src/auto/vulkan_context.rs b/gdk4/src/auto/vulkan_context.rs index 9beacf914a87..24e73a210a51 100644 --- a/gdk4/src/auto/vulkan_context.rs +++ b/gdk4/src/auto/vulkan_context.rs @@ -33,7 +33,7 @@ impl VulkanContext { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"images-updated\0".as_ptr() as *const _, + c"images-updated".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( images_updated_trampoline::<F> as *const (), )), diff --git a/gdk4/src/drag_surface.rs b/gdk4/src/drag_surface.rs index 489ab4b8530a..67e36c811d2b 100644 --- a/gdk4/src/drag_surface.rs +++ b/gdk4/src/drag_surface.rs @@ -37,7 +37,7 @@ pub trait DragSurfaceExtManual: IsA<DragSurface> { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"compute-size\0".as_ptr() as *const _, + c"compute-size".as_ptr() as *const _, Some(transmute::<*const (), unsafe extern "C" fn()>( compute_size_trampoline::<F> as *const (), )), diff --git a/gdk4/src/toplevel.rs b/gdk4/src/toplevel.rs index d5568ba1be84..1917a224d91a 100644 --- a/gdk4/src/toplevel.rs +++ b/gdk4/src/toplevel.rs @@ -31,7 +31,7 @@ pub trait ToplevelExtManual: IsA<Toplevel> { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"compute-size\0".as_ptr() as *const _, + c"compute-size".as_ptr() as *const _, Some(transmute::<*const (), unsafe extern "C" fn()>( compute_size_trampoline::<F> as *const (), )), diff --git a/gdk4/sys/src/lib.rs b/gdk4/sys/src/lib.rs index df07ed285c69..030cac15fd2b 100644 --- a/gdk4/sys/src/lib.rs +++ b/gdk4/sys/src/lib.rs @@ -4080,6 +4080,9 @@ extern "C" { formats: *const GdkContentFormats, n_mime_types: *mut size_t, ) -> *const *const c_char; + #[cfg(feature = "v4_18")] + #[cfg_attr(docsrs, doc(cfg(feature = "v4_18")))] + pub fn gdk_content_formats_is_empty(formats: *mut GdkContentFormats) -> gboolean; pub fn gdk_content_formats_match( first: *const GdkContentFormats, second: *const GdkContentFormats, diff --git a/gdk4/sys/versions.txt b/gdk4/sys/versions.txt index 5af8e497d2f0..1a56b9ecf195 100644 --- a/gdk4/sys/versions.txt +++ b/gdk4/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) -from gir-files (https://github.com/gtk-rs/gir-files @ c05f5cc23cb7) +Generated by gir (https://github.com/gtk-rs/gir @ be3ecc201d39) +from gir-files (https://github.com/gtk-rs/gir-files @ 3ede86d6a218) diff --git a/gir b/gir index 1b34ebba86cb..be3ecc201d39 160000 --- a/gir +++ b/gir @@ -1 +1 @@ -Subproject commit 1b34ebba86cb5c5c6b474b1693f8aeb55b88477d +Subproject commit be3ecc201d39c77befa1eb3abad2a3eed3c83eb0 diff --git a/gir-files b/gir-files index c05f5cc23cb7..3ede86d6a218 160000 --- a/gir-files +++ b/gir-files @@ -1 +1 @@ -Subproject commit c05f5cc23cb7344ba67d9ed20e9c153b3b06e120 +Subproject commit 3ede86d6a21889d58809d8bdaab33e995fda8c15 diff --git a/gsk4/src/auto/renderer.rs b/gsk4/src/auto/renderer.rs index 7025bdfea9a9..ccc407412d36 100644 --- a/gsk4/src/auto/renderer.rs +++ b/gsk4/src/auto/renderer.rs @@ -136,7 +136,7 @@ pub trait GskRendererExt: IsA<Renderer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::realized\0".as_ptr() as *const _, + c"notify::realized".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_realized_trampoline::<Self, F> as *const (), )), @@ -159,7 +159,7 @@ pub trait GskRendererExt: IsA<Renderer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::surface\0".as_ptr() as *const _, + c"notify::surface".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_surface_trampoline::<Self, F> as *const (), )), diff --git a/gsk4/src/auto/versions.txt b/gsk4/src/auto/versions.txt index 5af8e497d2f0..1a56b9ecf195 100644 --- a/gsk4/src/auto/versions.txt +++ b/gsk4/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) -from gir-files (https://github.com/gtk-rs/gir-files @ c05f5cc23cb7) +Generated by gir (https://github.com/gtk-rs/gir @ be3ecc201d39) +from gir-files (https://github.com/gtk-rs/gir-files @ 3ede86d6a218) diff --git a/gsk4/sys/versions.txt b/gsk4/sys/versions.txt index 5af8e497d2f0..1a56b9ecf195 100644 --- a/gsk4/sys/versions.txt +++ b/gsk4/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) -from gir-files (https://github.com/gtk-rs/gir-files @ c05f5cc23cb7) +Generated by gir (https://github.com/gtk-rs/gir @ be3ecc201d39) +from gir-files (https://github.com/gtk-rs/gir-files @ 3ede86d6a218) diff --git a/gtk4-macros/src/blueprint.rs b/gtk4-macros/src/blueprint.rs index a10e0a59c502..d704c66f6bc1 100644 --- a/gtk4-macros/src/blueprint.rs +++ b/gtk4-macros/src/blueprint.rs @@ -1,28 +1,33 @@ // Take a look at the license at the top of the repository in the LICENSE file. use std::{ - io::{Error, ErrorKind, Read, Result, Write}, + io::Write, process::{Command, Stdio}, }; -pub(crate) fn compile_blueprint(blueprint: &[u8]) -> Result<String> { +pub(crate) fn compile_blueprint(blueprint: &[u8]) -> Result<String, String> { let mut compiler = Command::new("blueprint-compiler") .args(["compile", "-"]) .stdin(Stdio::piped()) .stdout(Stdio::piped()) .spawn() - .unwrap_or_else(|_| panic!("blueprint-compiler not found")); - + .map_err(|e| format!("blueprint-compiler couldn't be spawned: {e}"))?; let mut stdin = compiler.stdin.take().unwrap(); - stdin.write_all(b"using Gtk 4.0;\n")?; - stdin.write_all(blueprint)?; + if let Err(e) = stdin.write_all(blueprint) { + let _ = compiler.wait(); + return Err(format!( + "Couldn't send blueprint to blueprint-compiler: {e}" + )); + } drop(stdin); - let mut buf = String::new(); - compiler.stdout.unwrap().read_to_string(&mut buf)?; + let output = compiler + .wait_with_output() + .map_err(|e| format!("blueprint-compiler process failed: {e}"))?; + let buf = String::from_utf8(output.stdout).unwrap(); if !buf.starts_with('<') { - return Err(Error::new(ErrorKind::Other, buf)); + return Err(format!("blueprint-compiler failed: {buf}")); } Ok(buf) diff --git a/gtk4-macros/src/lib.rs b/gtk4-macros/src/lib.rs index fba40903e36a..458de2e657ef 100644 --- a/gtk4-macros/src/lib.rs +++ b/gtk4-macros/src/lib.rs @@ -158,6 +158,7 @@ pub fn include_blueprint(input: TokenStream) -> TokenStream { /// /// #[derive(Debug, Default, gtk::CompositeTemplate)] /// #[template(string = " +/// using Gtk 4.0; /// template $MyWidget : Widget { /// Label label { /// label: 'foobar'; diff --git a/gtk4-macros/tests/my_widget.blp b/gtk4-macros/tests/my_widget.blp index 31daaa24e956..792dd5ceb30b 100644 --- a/gtk4-macros/tests/my_widget.blp +++ b/gtk4-macros/tests/my_widget.blp @@ -1,3 +1,4 @@ +using Gtk 4.0; template $MyWidget5 { Label label { label: 'foobar'; diff --git a/gtk4-macros/tests/templates.rs b/gtk4-macros/tests/templates.rs index 4e5813b88676..cb6d273fb6b2 100644 --- a/gtk4-macros/tests/templates.rs +++ b/gtk4-macros/tests/templates.rs @@ -212,6 +212,7 @@ mod imp4 { #[derive(Debug, Default, gtk::CompositeTemplate)] #[template(string = " + using Gtk 4.0; template $MyWidget4 : Widget { Label label { label: 'foobar'; diff --git a/gtk4/src/auto/about_dialog.rs b/gtk4/src/auto/about_dialog.rs index fcdc48b3ca77..812069353c11 100644 --- a/gtk4/src/auto/about_dialog.rs +++ b/gtk4/src/auto/about_dialog.rs @@ -360,7 +360,7 @@ impl AboutDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"activate-link\0".as_ptr() as *const _, + c"activate-link".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( activate_link_trampoline::<F> as *const (), )), @@ -383,7 +383,7 @@ impl AboutDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::artists\0".as_ptr() as *const _, + c"notify::artists".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_artists_trampoline::<F> as *const (), )), @@ -406,7 +406,7 @@ impl AboutDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::authors\0".as_ptr() as *const _, + c"notify::authors".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_authors_trampoline::<F> as *const (), )), @@ -429,7 +429,7 @@ impl AboutDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::comments\0".as_ptr() as *const _, + c"notify::comments".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_comments_trampoline::<F> as *const (), )), @@ -452,7 +452,7 @@ impl AboutDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::copyright\0".as_ptr() as *const _, + c"notify::copyright".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_copyright_trampoline::<F> as *const (), )), @@ -475,7 +475,7 @@ impl AboutDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::documenters\0".as_ptr() as *const _, + c"notify::documenters".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_documenters_trampoline::<F> as *const (), )), @@ -498,7 +498,7 @@ impl AboutDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::license\0".as_ptr() as *const _, + c"notify::license".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_license_trampoline::<F> as *const (), )), @@ -521,7 +521,7 @@ impl AboutDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::license-type\0".as_ptr() as *const _, + c"notify::license-type".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_license_type_trampoline::<F> as *const (), )), @@ -544,7 +544,7 @@ impl AboutDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::logo\0".as_ptr() as *const _, + c"notify::logo".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_logo_trampoline::<F> as *const (), )), @@ -567,7 +567,7 @@ impl AboutDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::logo-icon-name\0".as_ptr() as *const _, + c"notify::logo-icon-name".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_logo_icon_name_trampoline::<F> as *const (), )), @@ -590,7 +590,7 @@ impl AboutDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::program-name\0".as_ptr() as *const _, + c"notify::program-name".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_program_name_trampoline::<F> as *const (), )), @@ -616,7 +616,7 @@ impl AboutDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::system-information\0".as_ptr() as *const _, + c"notify::system-information".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_system_information_trampoline::<F> as *const (), )), @@ -642,7 +642,7 @@ impl AboutDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::translator-credits\0".as_ptr() as *const _, + c"notify::translator-credits".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_translator_credits_trampoline::<F> as *const (), )), @@ -665,7 +665,7 @@ impl AboutDialog { let f: Box_<F> = 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::<F> as *const (), )), @@ -688,7 +688,7 @@ impl AboutDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::website\0".as_ptr() as *const _, + c"notify::website".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_website_trampoline::<F> as *const (), )), @@ -711,7 +711,7 @@ impl AboutDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::website-label\0".as_ptr() as *const _, + c"notify::website-label".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_website_label_trampoline::<F> as *const (), )), @@ -734,7 +734,7 @@ impl AboutDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::wrap-license\0".as_ptr() as *const _, + c"notify::wrap-license".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_wrap_license_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/accessible.rs b/gtk4/src/auto/accessible.rs index 8b971495683d..e42ba9c80a25 100644 --- a/gtk4/src/auto/accessible.rs +++ b/gtk4/src/auto/accessible.rs @@ -226,7 +226,7 @@ pub trait AccessibleExt: IsA<Accessible> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::accessible-role\0".as_ptr() as *const _, + c"notify::accessible-role".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_accessible_role_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/action_bar.rs b/gtk4/src/auto/action_bar.rs index d9d1d0d99054..20d5a4648519 100644 --- a/gtk4/src/auto/action_bar.rs +++ b/gtk4/src/auto/action_bar.rs @@ -103,7 +103,7 @@ impl ActionBar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::revealed\0".as_ptr() as *const _, + c"notify::revealed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_revealed_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/actionable.rs b/gtk4/src/auto/actionable.rs index b2848705be46..3d79f93c079f 100644 --- a/gtk4/src/auto/actionable.rs +++ b/gtk4/src/auto/actionable.rs @@ -95,7 +95,7 @@ pub trait ActionableExt: IsA<Actionable> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::action-name\0".as_ptr() as *const _, + c"notify::action-name".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_action_name_trampoline::<Self, F> as *const (), )), @@ -121,7 +121,7 @@ pub trait ActionableExt: IsA<Actionable> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::action-target\0".as_ptr() as *const _, + c"notify::action-target".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_action_target_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/adjustment.rs b/gtk4/src/auto/adjustment.rs index 0143b5a8b2f2..c9eefff656d0 100644 --- a/gtk4/src/auto/adjustment.rs +++ b/gtk4/src/auto/adjustment.rs @@ -257,7 +257,7 @@ pub trait AdjustmentExt: IsA<Adjustment> + 'static { let f: Box_<F> = 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::<Self, F> as *const (), )), @@ -279,7 +279,7 @@ pub trait AdjustmentExt: IsA<Adjustment> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"value-changed\0".as_ptr() as *const _, + c"value-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( value_changed_trampoline::<Self, F> as *const (), )), @@ -302,7 +302,7 @@ pub trait AdjustmentExt: IsA<Adjustment> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::lower\0".as_ptr() as *const _, + c"notify::lower".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_lower_trampoline::<Self, F> as *const (), )), @@ -328,7 +328,7 @@ pub trait AdjustmentExt: IsA<Adjustment> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::page-increment\0".as_ptr() as *const _, + c"notify::page-increment".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_page_increment_trampoline::<Self, F> as *const (), )), @@ -354,7 +354,7 @@ pub trait AdjustmentExt: IsA<Adjustment> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::page-size\0".as_ptr() as *const _, + c"notify::page-size".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_page_size_trampoline::<Self, F> as *const (), )), @@ -380,7 +380,7 @@ pub trait AdjustmentExt: IsA<Adjustment> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::step-increment\0".as_ptr() as *const _, + c"notify::step-increment".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_step_increment_trampoline::<Self, F> as *const (), )), @@ -403,7 +403,7 @@ pub trait AdjustmentExt: IsA<Adjustment> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::upper\0".as_ptr() as *const _, + c"notify::upper".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_upper_trampoline::<Self, F> as *const (), )), @@ -426,7 +426,7 @@ pub trait AdjustmentExt: IsA<Adjustment> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::value\0".as_ptr() as *const _, + c"notify::value".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_value_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/alert_dialog.rs b/gtk4/src/auto/alert_dialog.rs index 3c280423875e..cb8b57c3254a 100644 --- a/gtk4/src/auto/alert_dialog.rs +++ b/gtk4/src/auto/alert_dialog.rs @@ -215,7 +215,7 @@ impl AlertDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::buttons\0".as_ptr() as *const _, + c"notify::buttons".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_buttons_trampoline::<F> as *const (), )), @@ -240,7 +240,7 @@ impl AlertDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::cancel-button\0".as_ptr() as *const _, + c"notify::cancel-button".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_cancel_button_trampoline::<F> as *const (), )), @@ -265,7 +265,7 @@ impl AlertDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::default-button\0".as_ptr() as *const _, + c"notify::default-button".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_default_button_trampoline::<F> as *const (), )), @@ -290,7 +290,7 @@ impl AlertDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::detail\0".as_ptr() as *const _, + c"notify::detail".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_detail_trampoline::<F> as *const (), )), @@ -315,7 +315,7 @@ impl AlertDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::message\0".as_ptr() as *const _, + c"notify::message".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_message_trampoline::<F> as *const (), )), @@ -340,7 +340,7 @@ impl AlertDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::modal\0".as_ptr() as *const _, + c"notify::modal".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_modal_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/app_chooser_button.rs b/gtk4/src/auto/app_chooser_button.rs index 357a937aacbe..c81fe748ed44 100644 --- a/gtk4/src/auto/app_chooser_button.rs +++ b/gtk4/src/auto/app_chooser_button.rs @@ -191,7 +191,7 @@ impl AppChooserButton { let f: Box_<F> = 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::<F> as *const (), )), @@ -219,7 +219,7 @@ impl AppChooserButton { let f: Box_<F> = 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::<F> as *const (), )), @@ -279,7 +279,7 @@ impl AppChooserButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::heading\0".as_ptr() as *const _, + c"notify::heading".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_heading_trampoline::<F> as *const (), )), @@ -302,7 +302,7 @@ impl AppChooserButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::modal\0".as_ptr() as *const _, + c"notify::modal".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_modal_trampoline::<F> as *const (), )), @@ -330,7 +330,7 @@ impl AppChooserButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-default-item\0".as_ptr() as *const _, + c"notify::show-default-item".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_default_item_trampoline::<F> as *const (), )), @@ -355,7 +355,7 @@ impl AppChooserButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-dialog-item\0".as_ptr() as *const _, + c"notify::show-dialog-item".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_dialog_item_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/app_chooser_dialog.rs b/gtk4/src/auto/app_chooser_dialog.rs index 0b9b8f52fab5..fbce25a4eb8b 100644 --- a/gtk4/src/auto/app_chooser_dialog.rs +++ b/gtk4/src/auto/app_chooser_dialog.rs @@ -118,7 +118,7 @@ impl AppChooserDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::heading\0".as_ptr() as *const _, + c"notify::heading".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_heading_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/app_chooser_widget.rs b/gtk4/src/auto/app_chooser_widget.rs index 9aea93dbb953..f5a2b0346e38 100644 --- a/gtk4/src/auto/app_chooser_widget.rs +++ b/gtk4/src/auto/app_chooser_widget.rs @@ -214,7 +214,7 @@ impl AppChooserWidget { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"application-activated\0".as_ptr() as *const _, + c"application-activated".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( application_activated_trampoline::<F> as *const (), )), @@ -242,7 +242,7 @@ impl AppChooserWidget { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"application-selected\0".as_ptr() as *const _, + c"application-selected".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( application_selected_trampoline::<F> as *const (), )), @@ -265,7 +265,7 @@ impl AppChooserWidget { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::default-text\0".as_ptr() as *const _, + c"notify::default-text".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_default_text_trampoline::<F> as *const (), )), @@ -288,7 +288,7 @@ impl AppChooserWidget { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-all\0".as_ptr() as *const _, + c"notify::show-all".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_all_trampoline::<F> as *const (), )), @@ -311,7 +311,7 @@ impl AppChooserWidget { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-default\0".as_ptr() as *const _, + c"notify::show-default".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_default_trampoline::<F> as *const (), )), @@ -334,7 +334,7 @@ impl AppChooserWidget { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-fallback\0".as_ptr() as *const _, + c"notify::show-fallback".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_fallback_trampoline::<F> as *const (), )), @@ -357,7 +357,7 @@ impl AppChooserWidget { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-other\0".as_ptr() as *const _, + c"notify::show-other".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_other_trampoline::<F> as *const (), )), @@ -382,7 +382,7 @@ impl AppChooserWidget { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-recommended\0".as_ptr() as *const _, + c"notify::show-recommended".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_recommended_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/application.rs b/gtk4/src/auto/application.rs index 5e58259f827d..f4ee2cb88585 100644 --- a/gtk4/src/auto/application.rs +++ b/gtk4/src/auto/application.rs @@ -288,7 +288,7 @@ pub trait GtkApplicationExt: IsA<Application> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"query-end\0".as_ptr() as *const _, + c"query-end".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( query_end_trampoline::<Self, F> as *const (), )), @@ -317,7 +317,7 @@ pub trait GtkApplicationExt: IsA<Application> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"window-added\0".as_ptr() as *const _, + c"window-added".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( window_added_trampoline::<Self, F> as *const (), )), @@ -346,7 +346,7 @@ pub trait GtkApplicationExt: IsA<Application> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"window-removed\0".as_ptr() as *const _, + c"window-removed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( window_removed_trampoline::<Self, F> as *const (), )), @@ -372,7 +372,7 @@ pub trait GtkApplicationExt: IsA<Application> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::active-window\0".as_ptr() as *const _, + c"notify::active-window".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_active_window_trampoline::<Self, F> as *const (), )), @@ -395,7 +395,7 @@ pub trait GtkApplicationExt: IsA<Application> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::menubar\0".as_ptr() as *const _, + c"notify::menubar".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_menubar_trampoline::<Self, F> as *const (), )), @@ -421,7 +421,7 @@ pub trait GtkApplicationExt: IsA<Application> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::register-session\0".as_ptr() as *const _, + c"notify::register-session".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_register_session_trampoline::<Self, F> as *const (), )), @@ -447,7 +447,7 @@ pub trait GtkApplicationExt: IsA<Application> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::screensaver-active\0".as_ptr() as *const _, + c"notify::screensaver-active".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_screensaver_active_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/application_window.rs b/gtk4/src/auto/application_window.rs index 349e7ca927cd..4353d6e6e0dd 100644 --- a/gtk4/src/auto/application_window.rs +++ b/gtk4/src/auto/application_window.rs @@ -488,7 +488,7 @@ pub trait ApplicationWindowExt: IsA<ApplicationWindow> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-menubar\0".as_ptr() as *const _, + c"notify::show-menubar".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_menubar_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/aspect_frame.rs b/gtk4/src/auto/aspect_frame.rs index bbf8c91fa25b..acf82f5f482e 100644 --- a/gtk4/src/auto/aspect_frame.rs +++ b/gtk4/src/auto/aspect_frame.rs @@ -133,7 +133,7 @@ impl AspectFrame { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::child\0".as_ptr() as *const _, + c"notify::child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_child_trampoline::<F> as *const (), )), @@ -156,7 +156,7 @@ impl AspectFrame { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::obey-child\0".as_ptr() as *const _, + c"notify::obey-child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_obey_child_trampoline::<F> as *const (), )), @@ -179,7 +179,7 @@ impl AspectFrame { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::ratio\0".as_ptr() as *const _, + c"notify::ratio".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_ratio_trampoline::<F> as *const (), )), @@ -202,7 +202,7 @@ impl AspectFrame { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::xalign\0".as_ptr() as *const _, + c"notify::xalign".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_xalign_trampoline::<F> as *const (), )), @@ -225,7 +225,7 @@ impl AspectFrame { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::yalign\0".as_ptr() as *const _, + c"notify::yalign".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_yalign_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/assistant.rs b/gtk4/src/auto/assistant.rs index 9323ff2d84c1..c3d95ff1c944 100644 --- a/gtk4/src/auto/assistant.rs +++ b/gtk4/src/auto/assistant.rs @@ -326,7 +326,7 @@ impl Assistant { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"apply\0".as_ptr() as *const _, + c"apply".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( apply_trampoline::<F> as *const (), )), @@ -349,7 +349,7 @@ impl Assistant { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"cancel\0".as_ptr() as *const _, + c"cancel".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( cancel_trampoline::<F> as *const (), )), @@ -372,7 +372,7 @@ impl Assistant { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"close\0".as_ptr() as *const _, + c"close".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( close_trampoline::<F> as *const (), )), @@ -395,7 +395,7 @@ impl Assistant { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"escape\0".as_ptr() as *const _, + c"escape".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( escape_trampoline::<F> as *const (), )), @@ -424,7 +424,7 @@ impl Assistant { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"prepare\0".as_ptr() as *const _, + c"prepare".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( prepare_trampoline::<F> as *const (), )), @@ -447,7 +447,7 @@ impl Assistant { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::pages\0".as_ptr() as *const _, + c"notify::pages".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_pages_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/assistant_page.rs b/gtk4/src/auto/assistant_page.rs index cd6befbe54b5..b184a8447ea9 100644 --- a/gtk4/src/auto/assistant_page.rs +++ b/gtk4/src/auto/assistant_page.rs @@ -76,7 +76,7 @@ impl AssistantPage { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::complete\0".as_ptr() as *const _, + c"notify::complete".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_complete_trampoline::<F> as *const (), )), @@ -100,7 +100,7 @@ impl AssistantPage { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::page-type\0".as_ptr() as *const _, + c"notify::page-type".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_page_type_trampoline::<F> as *const (), )), @@ -124,7 +124,7 @@ impl AssistantPage { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::title\0".as_ptr() as *const _, + c"notify::title".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_title_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/at_context.rs b/gtk4/src/auto/at_context.rs index 34e79926e6f4..832e19b982f2 100644 --- a/gtk4/src/auto/at_context.rs +++ b/gtk4/src/auto/at_context.rs @@ -79,7 +79,7 @@ impl ATContext { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"state-change\0".as_ptr() as *const _, + c"state-change".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( state_change_trampoline::<F> as *const (), )), @@ -102,7 +102,7 @@ impl ATContext { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::accessible-role\0".as_ptr() as *const _, + c"notify::accessible-role".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_accessible_role_trampoline::<F> as *const (), )), @@ -125,7 +125,7 @@ impl ATContext { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::display\0".as_ptr() as *const _, + c"notify::display".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_display_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/bookmark_list.rs b/gtk4/src/auto/bookmark_list.rs index 57acb0a13bc7..e9cbc816b34d 100644 --- a/gtk4/src/auto/bookmark_list.rs +++ b/gtk4/src/auto/bookmark_list.rs @@ -77,7 +77,7 @@ impl BookmarkList { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::attributes\0".as_ptr() as *const _, + c"notify::attributes".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_attributes_trampoline::<F> as *const (), )), @@ -100,7 +100,7 @@ impl BookmarkList { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::io-priority\0".as_ptr() as *const _, + c"notify::io-priority".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_io_priority_trampoline::<F> as *const (), )), @@ -123,7 +123,7 @@ impl BookmarkList { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::loading\0".as_ptr() as *const _, + c"notify::loading".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_loading_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/bool_filter.rs b/gtk4/src/auto/bool_filter.rs index 4856234c9e0f..c0d9115ba18b 100644 --- a/gtk4/src/auto/bool_filter.rs +++ b/gtk4/src/auto/bool_filter.rs @@ -86,7 +86,7 @@ impl BoolFilter { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::expression\0".as_ptr() as *const _, + c"notify::expression".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_expression_trampoline::<F> as *const (), )), @@ -109,7 +109,7 @@ impl BoolFilter { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::invert\0".as_ptr() as *const _, + c"notify::invert".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_invert_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/box_.rs b/gtk4/src/auto/box_.rs index cb16f488c261..0dd9beb6f94e 100644 --- a/gtk4/src/auto/box_.rs +++ b/gtk4/src/auto/box_.rs @@ -430,7 +430,7 @@ pub trait BoxExt: IsA<Box> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::baseline-child\0".as_ptr() as *const _, + c"notify::baseline-child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_baseline_child_trampoline::<Self, F> as *const (), )), @@ -456,7 +456,7 @@ pub trait BoxExt: IsA<Box> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::baseline-position\0".as_ptr() as *const _, + c"notify::baseline-position".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_baseline_position_trampoline::<Self, F> as *const (), )), @@ -479,7 +479,7 @@ pub trait BoxExt: IsA<Box> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::homogeneous\0".as_ptr() as *const _, + c"notify::homogeneous".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_homogeneous_trampoline::<Self, F> as *const (), )), @@ -502,7 +502,7 @@ pub trait BoxExt: IsA<Box> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::spacing\0".as_ptr() as *const _, + c"notify::spacing".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_spacing_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/box_layout.rs b/gtk4/src/auto/box_layout.rs index 21f00ebc5c87..d62f7268730b 100644 --- a/gtk4/src/auto/box_layout.rs +++ b/gtk4/src/auto/box_layout.rs @@ -120,7 +120,7 @@ impl BoxLayout { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::baseline-child\0".as_ptr() as *const _, + c"notify::baseline-child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_baseline_child_trampoline::<F> as *const (), )), @@ -146,7 +146,7 @@ impl BoxLayout { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::baseline-position\0".as_ptr() as *const _, + c"notify::baseline-position".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_baseline_position_trampoline::<F> as *const (), )), @@ -169,7 +169,7 @@ impl BoxLayout { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::homogeneous\0".as_ptr() as *const _, + c"notify::homogeneous".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_homogeneous_trampoline::<F> as *const (), )), @@ -192,7 +192,7 @@ impl BoxLayout { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::spacing\0".as_ptr() as *const _, + c"notify::spacing".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_spacing_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/builder.rs b/gtk4/src/auto/builder.rs index 9bf1e521d604..fea67fead0ec 100644 --- a/gtk4/src/auto/builder.rs +++ b/gtk4/src/auto/builder.rs @@ -353,7 +353,7 @@ impl Builder { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::current-object\0".as_ptr() as *const _, + c"notify::current-object".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_current_object_trampoline::<F> as *const (), )), @@ -376,7 +376,7 @@ impl Builder { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::scope\0".as_ptr() as *const _, + c"notify::scope".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_scope_trampoline::<F> as *const (), )), @@ -402,7 +402,7 @@ impl Builder { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::translation-domain\0".as_ptr() as *const _, + c"notify::translation-domain".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_translation_domain_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/button.rs b/gtk4/src/auto/button.rs index 538b6d4c920c..cf72c3e8324d 100644 --- a/gtk4/src/auto/button.rs +++ b/gtk4/src/auto/button.rs @@ -470,7 +470,7 @@ pub trait ButtonExt: IsA<Button> + 'static { let f: Box_<F> = 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::<Self, F> as *const (), )), @@ -496,7 +496,7 @@ pub trait ButtonExt: IsA<Button> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"clicked\0".as_ptr() as *const _, + c"clicked".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( clicked_trampoline::<Self, F> as *const (), )), @@ -525,7 +525,7 @@ pub trait ButtonExt: IsA<Button> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::can-shrink\0".as_ptr() as *const _, + c"notify::can-shrink".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_can_shrink_trampoline::<Self, F> as *const (), )), @@ -548,7 +548,7 @@ pub trait ButtonExt: IsA<Button> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::child\0".as_ptr() as *const _, + c"notify::child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_child_trampoline::<Self, F> as *const (), )), @@ -571,7 +571,7 @@ pub trait ButtonExt: IsA<Button> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::has-frame\0".as_ptr() as *const _, + c"notify::has-frame".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_has_frame_trampoline::<Self, F> as *const (), )), @@ -594,7 +594,7 @@ pub trait ButtonExt: IsA<Button> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::icon-name\0".as_ptr() as *const _, + c"notify::icon-name".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_icon_name_trampoline::<Self, F> as *const (), )), @@ -617,7 +617,7 @@ pub trait ButtonExt: IsA<Button> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::label\0".as_ptr() as *const _, + c"notify::label".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_label_trampoline::<Self, F> as *const (), )), @@ -643,7 +643,7 @@ pub trait ButtonExt: IsA<Button> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::use-underline\0".as_ptr() as *const _, + c"notify::use-underline".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_use_underline_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/calendar.rs b/gtk4/src/auto/calendar.rs index e7d5da2bd56a..6105bf1aee3e 100644 --- a/gtk4/src/auto/calendar.rs +++ b/gtk4/src/auto/calendar.rs @@ -198,7 +198,7 @@ impl Calendar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"day-selected\0".as_ptr() as *const _, + c"day-selected".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( day_selected_trampoline::<F> as *const (), )), @@ -220,7 +220,7 @@ impl Calendar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"next-month\0".as_ptr() as *const _, + c"next-month".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( next_month_trampoline::<F> as *const (), )), @@ -242,7 +242,7 @@ impl Calendar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"next-year\0".as_ptr() as *const _, + c"next-year".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( next_year_trampoline::<F> as *const (), )), @@ -264,7 +264,7 @@ impl Calendar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"prev-month\0".as_ptr() as *const _, + c"prev-month".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( prev_month_trampoline::<F> as *const (), )), @@ -286,7 +286,7 @@ impl Calendar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"prev-year\0".as_ptr() as *const _, + c"prev-year".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( prev_year_trampoline::<F> as *const (), )), @@ -309,7 +309,7 @@ impl Calendar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::day\0".as_ptr() as *const _, + c"notify::day".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_day_trampoline::<F> as *const (), )), @@ -332,7 +332,7 @@ impl Calendar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::month\0".as_ptr() as *const _, + c"notify::month".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_month_trampoline::<F> as *const (), )), @@ -355,7 +355,7 @@ impl Calendar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-day-names\0".as_ptr() as *const _, + c"notify::show-day-names".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_day_names_trampoline::<F> as *const (), )), @@ -378,7 +378,7 @@ impl Calendar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-heading\0".as_ptr() as *const _, + c"notify::show-heading".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_heading_trampoline::<F> as *const (), )), @@ -404,7 +404,7 @@ impl Calendar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-week-numbers\0".as_ptr() as *const _, + c"notify::show-week-numbers".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_week_numbers_trampoline::<F> as *const (), )), @@ -427,7 +427,7 @@ impl Calendar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::year\0".as_ptr() as *const _, + c"notify::year".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_year_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/cell_area.rs b/gtk4/src/auto/cell_area.rs index a1a9b6836822..084a7fcc266f 100644 --- a/gtk4/src/auto/cell_area.rs +++ b/gtk4/src/auto/cell_area.rs @@ -714,7 +714,7 @@ pub trait CellAreaExt: IsA<CellArea> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"add-editable\0".as_ptr() as *const _, + c"add-editable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( add_editable_trampoline::<Self, F> as *const (), )), @@ -752,7 +752,7 @@ pub trait CellAreaExt: IsA<CellArea> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"apply-attributes\0".as_ptr() as *const _, + c"apply-attributes".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( apply_attributes_trampoline::<Self, F> as *const (), )), @@ -787,7 +787,7 @@ pub trait CellAreaExt: IsA<CellArea> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"focus-changed\0".as_ptr() as *const _, + c"focus-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( focus_changed_trampoline::<Self, F> as *const (), )), @@ -821,7 +821,7 @@ pub trait CellAreaExt: IsA<CellArea> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"remove-editable\0".as_ptr() as *const _, + c"remove-editable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( remove_editable_trampoline::<Self, F> as *const (), )), @@ -847,7 +847,7 @@ pub trait CellAreaExt: IsA<CellArea> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::edit-widget\0".as_ptr() as *const _, + c"notify::edit-widget".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_edit_widget_trampoline::<Self, F> as *const (), )), @@ -873,7 +873,7 @@ pub trait CellAreaExt: IsA<CellArea> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::edited-cell\0".as_ptr() as *const _, + c"notify::edited-cell".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_edited_cell_trampoline::<Self, F> as *const (), )), @@ -896,7 +896,7 @@ pub trait CellAreaExt: IsA<CellArea> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::focus-cell\0".as_ptr() as *const _, + c"notify::focus-cell".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_focus_cell_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/cell_area_box.rs b/gtk4/src/auto/cell_area_box.rs index d469a3af4c95..9041fcec2714 100644 --- a/gtk4/src/auto/cell_area_box.rs +++ b/gtk4/src/auto/cell_area_box.rs @@ -111,7 +111,7 @@ impl CellAreaBox { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::spacing\0".as_ptr() as *const _, + c"notify::spacing".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_spacing_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/cell_area_context.rs b/gtk4/src/auto/cell_area_context.rs index cc62395d2174..4df22e3ed122 100644 --- a/gtk4/src/auto/cell_area_context.rs +++ b/gtk4/src/auto/cell_area_context.rs @@ -210,7 +210,7 @@ pub trait CellAreaContextExt: IsA<CellAreaContext> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::minimum-height\0".as_ptr() as *const _, + c"notify::minimum-height".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_minimum_height_trampoline::<Self, F> as *const (), )), @@ -237,7 +237,7 @@ pub trait CellAreaContextExt: IsA<CellAreaContext> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::minimum-width\0".as_ptr() as *const _, + c"notify::minimum-width".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_minimum_width_trampoline::<Self, F> as *const (), )), @@ -264,7 +264,7 @@ pub trait CellAreaContextExt: IsA<CellAreaContext> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::natural-height\0".as_ptr() as *const _, + c"notify::natural-height".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_natural_height_trampoline::<Self, F> as *const (), )), @@ -291,7 +291,7 @@ pub trait CellAreaContextExt: IsA<CellAreaContext> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::natural-width\0".as_ptr() as *const _, + c"notify::natural-width".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_natural_width_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/cell_editable.rs b/gtk4/src/auto/cell_editable.rs index 224b571170c5..993a02b3ecbb 100644 --- a/gtk4/src/auto/cell_editable.rs +++ b/gtk4/src/auto/cell_editable.rs @@ -76,7 +76,7 @@ pub trait CellEditableExt: IsA<CellEditable> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"editing-done\0".as_ptr() as *const _, + c"editing-done".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( editing_done_trampoline::<Self, F> as *const (), )), @@ -98,7 +98,7 @@ pub trait CellEditableExt: IsA<CellEditable> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"remove-widget\0".as_ptr() as *const _, + c"remove-widget".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( remove_widget_trampoline::<Self, F> as *const (), )), @@ -124,7 +124,7 @@ pub trait CellEditableExt: IsA<CellEditable> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::editing-canceled\0".as_ptr() as *const _, + c"notify::editing-canceled".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_editing_canceled_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/cell_renderer.rs b/gtk4/src/auto/cell_renderer.rs index aa9730dd9be7..63648408f461 100644 --- a/gtk4/src/auto/cell_renderer.rs +++ b/gtk4/src/auto/cell_renderer.rs @@ -544,7 +544,7 @@ pub trait CellRendererExt: IsA<CellRenderer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"editing-canceled\0".as_ptr() as *const _, + c"editing-canceled".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( editing_canceled_trampoline::<Self, F> as *const (), )), @@ -579,7 +579,7 @@ pub trait CellRendererExt: IsA<CellRenderer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"editing-started\0".as_ptr() as *const _, + c"editing-started".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( editing_started_trampoline::<Self, F> as *const (), )), @@ -605,7 +605,7 @@ pub trait CellRendererExt: IsA<CellRenderer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::cell-background\0".as_ptr() as *const _, + c"notify::cell-background".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_cell_background_trampoline::<Self, F> as *const (), )), @@ -631,7 +631,7 @@ pub trait CellRendererExt: IsA<CellRenderer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::cell-background-rgba\0".as_ptr() as *const _, + c"notify::cell-background-rgba".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_cell_background_rgba_trampoline::<Self, F> as *const (), )), @@ -657,7 +657,7 @@ pub trait CellRendererExt: IsA<CellRenderer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::cell-background-set\0".as_ptr() as *const _, + c"notify::cell-background-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_cell_background_set_trampoline::<Self, F> as *const (), )), @@ -683,7 +683,7 @@ pub trait CellRendererExt: IsA<CellRenderer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::editing\0".as_ptr() as *const _, + c"notify::editing".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_editing_trampoline::<Self, F> as *const (), )), @@ -706,7 +706,7 @@ pub trait CellRendererExt: IsA<CellRenderer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::height\0".as_ptr() as *const _, + c"notify::height".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_height_trampoline::<Self, F> as *const (), )), @@ -732,7 +732,7 @@ pub trait CellRendererExt: IsA<CellRenderer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::is-expanded\0".as_ptr() as *const _, + c"notify::is-expanded".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_is_expanded_trampoline::<Self, F> as *const (), )), @@ -758,7 +758,7 @@ pub trait CellRendererExt: IsA<CellRenderer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::is-expander\0".as_ptr() as *const _, + c"notify::is-expander".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_is_expander_trampoline::<Self, F> as *const (), )), @@ -781,7 +781,7 @@ pub trait CellRendererExt: IsA<CellRenderer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::mode\0".as_ptr() as *const _, + c"notify::mode".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_mode_trampoline::<Self, F> as *const (), )), @@ -807,7 +807,7 @@ pub trait CellRendererExt: IsA<CellRenderer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::sensitive\0".as_ptr() as *const _, + c"notify::sensitive".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_sensitive_trampoline::<Self, F> as *const (), )), @@ -833,7 +833,7 @@ pub trait CellRendererExt: IsA<CellRenderer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::visible\0".as_ptr() as *const _, + c"notify::visible".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_visible_trampoline::<Self, F> as *const (), )), @@ -856,7 +856,7 @@ pub trait CellRendererExt: IsA<CellRenderer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::width\0".as_ptr() as *const _, + c"notify::width".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_width_trampoline::<Self, F> as *const (), )), @@ -879,7 +879,7 @@ pub trait CellRendererExt: IsA<CellRenderer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::xalign\0".as_ptr() as *const _, + c"notify::xalign".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_xalign_trampoline::<Self, F> as *const (), )), @@ -902,7 +902,7 @@ pub trait CellRendererExt: IsA<CellRenderer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::xpad\0".as_ptr() as *const _, + c"notify::xpad".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_xpad_trampoline::<Self, F> as *const (), )), @@ -925,7 +925,7 @@ pub trait CellRendererExt: IsA<CellRenderer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::yalign\0".as_ptr() as *const _, + c"notify::yalign".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_yalign_trampoline::<Self, F> as *const (), )), @@ -948,7 +948,7 @@ pub trait CellRendererExt: IsA<CellRenderer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::ypad\0".as_ptr() as *const _, + c"notify::ypad".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_ypad_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/cell_renderer_accel.rs b/gtk4/src/auto/cell_renderer_accel.rs index 2e54165a612a..5c94a91ce326 100644 --- a/gtk4/src/auto/cell_renderer_accel.rs +++ b/gtk4/src/auto/cell_renderer_accel.rs @@ -94,7 +94,7 @@ impl CellRendererAccel { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"accel-cleared\0".as_ptr() as *const _, + c"accel-cleared".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( accel_cleared_trampoline::<F> as *const (), )), @@ -132,7 +132,7 @@ impl CellRendererAccel { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"accel-edited\0".as_ptr() as *const _, + c"accel-edited".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( accel_edited_trampoline::<F> as *const (), )), @@ -155,7 +155,7 @@ impl CellRendererAccel { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::accel-key\0".as_ptr() as *const _, + c"notify::accel-key".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_accel_key_trampoline::<F> as *const (), )), @@ -178,7 +178,7 @@ impl CellRendererAccel { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::accel-mode\0".as_ptr() as *const _, + c"notify::accel-mode".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_accel_mode_trampoline::<F> as *const (), )), @@ -201,7 +201,7 @@ impl CellRendererAccel { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::accel-mods\0".as_ptr() as *const _, + c"notify::accel-mods".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_accel_mods_trampoline::<F> as *const (), )), @@ -224,7 +224,7 @@ impl CellRendererAccel { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::keycode\0".as_ptr() as *const _, + c"notify::keycode".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_keycode_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/cell_renderer_combo.rs b/gtk4/src/auto/cell_renderer_combo.rs index 7c342ce5749f..df955bfa2e66 100644 --- a/gtk4/src/auto/cell_renderer_combo.rs +++ b/gtk4/src/auto/cell_renderer_combo.rs @@ -86,7 +86,7 @@ impl CellRendererCombo { let f: Box_<F> = 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::<F> as *const (), )), @@ -109,7 +109,7 @@ impl CellRendererCombo { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::has-entry\0".as_ptr() as *const _, + c"notify::has-entry".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_has_entry_trampoline::<F> as *const (), )), @@ -132,7 +132,7 @@ impl CellRendererCombo { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::model\0".as_ptr() as *const _, + c"notify::model".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_model_trampoline::<F> as *const (), )), @@ -155,7 +155,7 @@ impl CellRendererCombo { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::text-column\0".as_ptr() as *const _, + c"notify::text-column".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_text_column_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/cell_renderer_pixbuf.rs b/gtk4/src/auto/cell_renderer_pixbuf.rs index 72d64a63a0ec..169262750bb1 100644 --- a/gtk4/src/auto/cell_renderer_pixbuf.rs +++ b/gtk4/src/auto/cell_renderer_pixbuf.rs @@ -111,7 +111,7 @@ impl CellRendererPixbuf { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gicon\0".as_ptr() as *const _, + c"notify::gicon".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gicon_trampoline::<F> as *const (), )), @@ -134,7 +134,7 @@ impl CellRendererPixbuf { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::icon-name\0".as_ptr() as *const _, + c"notify::icon-name".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_icon_name_trampoline::<F> as *const (), )), @@ -157,7 +157,7 @@ impl CellRendererPixbuf { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::icon-size\0".as_ptr() as *const _, + c"notify::icon-size".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_icon_size_trampoline::<F> as *const (), )), @@ -180,7 +180,7 @@ impl CellRendererPixbuf { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::pixbuf\0".as_ptr() as *const _, + c"notify::pixbuf".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_pixbuf_trampoline::<F> as *const (), )), @@ -208,7 +208,7 @@ impl CellRendererPixbuf { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::pixbuf-expander-closed\0".as_ptr() as *const _, + c"notify::pixbuf-expander-closed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_pixbuf_expander_closed_trampoline::<F> as *const (), )), @@ -236,7 +236,7 @@ impl CellRendererPixbuf { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::pixbuf-expander-open\0".as_ptr() as *const _, + c"notify::pixbuf-expander-open".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_pixbuf_expander_open_trampoline::<F> as *const (), )), @@ -259,7 +259,7 @@ impl CellRendererPixbuf { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::texture\0".as_ptr() as *const _, + c"notify::texture".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_texture_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/cell_renderer_progress.rs b/gtk4/src/auto/cell_renderer_progress.rs index 5856eb62ccc9..6616de7eff5b 100644 --- a/gtk4/src/auto/cell_renderer_progress.rs +++ b/gtk4/src/auto/cell_renderer_progress.rs @@ -103,7 +103,7 @@ impl CellRendererProgress { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::inverted\0".as_ptr() as *const _, + c"notify::inverted".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_inverted_trampoline::<F> as *const (), )), @@ -126,7 +126,7 @@ impl CellRendererProgress { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::pulse\0".as_ptr() as *const _, + c"notify::pulse".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_pulse_trampoline::<F> as *const (), )), @@ -149,7 +149,7 @@ impl CellRendererProgress { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::text\0".as_ptr() as *const _, + c"notify::text".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_text_trampoline::<F> as *const (), )), @@ -174,7 +174,7 @@ impl CellRendererProgress { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::text-xalign\0".as_ptr() as *const _, + c"notify::text-xalign".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_text_xalign_trampoline::<F> as *const (), )), @@ -199,7 +199,7 @@ impl CellRendererProgress { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::text-yalign\0".as_ptr() as *const _, + c"notify::text-yalign".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_text_yalign_trampoline::<F> as *const (), )), @@ -222,7 +222,7 @@ impl CellRendererProgress { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::value\0".as_ptr() as *const _, + c"notify::value".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_value_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/cell_renderer_spin.rs b/gtk4/src/auto/cell_renderer_spin.rs index 28aa055b830d..4ba3e993c6c1 100644 --- a/gtk4/src/auto/cell_renderer_spin.rs +++ b/gtk4/src/auto/cell_renderer_spin.rs @@ -77,7 +77,7 @@ impl CellRendererSpin { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::adjustment\0".as_ptr() as *const _, + c"notify::adjustment".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_adjustment_trampoline::<F> as *const (), )), @@ -100,7 +100,7 @@ impl CellRendererSpin { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::climb-rate\0".as_ptr() as *const _, + c"notify::climb-rate".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_climb_rate_trampoline::<F> as *const (), )), @@ -123,7 +123,7 @@ impl CellRendererSpin { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::digits\0".as_ptr() as *const _, + c"notify::digits".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_digits_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/cell_renderer_spinner.rs b/gtk4/src/auto/cell_renderer_spinner.rs index 5c444389d761..2d616768a12d 100644 --- a/gtk4/src/auto/cell_renderer_spinner.rs +++ b/gtk4/src/auto/cell_renderer_spinner.rs @@ -75,7 +75,7 @@ impl CellRendererSpinner { let f: Box_<F> = 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::<F> as *const (), )), @@ -98,7 +98,7 @@ impl CellRendererSpinner { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::pulse\0".as_ptr() as *const _, + c"notify::pulse".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_pulse_trampoline::<F> as *const (), )), @@ -121,7 +121,7 @@ impl CellRendererSpinner { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::size\0".as_ptr() as *const _, + c"notify::size".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_size_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/cell_renderer_text.rs b/gtk4/src/auto/cell_renderer_text.rs index 077aa4d4dc0e..b44f24a43854 100644 --- a/gtk4/src/auto/cell_renderer_text.rs +++ b/gtk4/src/auto/cell_renderer_text.rs @@ -811,7 +811,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"edited\0".as_ptr() as *const _, + c"edited".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( edited_trampoline::<Self, F> as *const (), )), @@ -837,7 +837,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::align-set\0".as_ptr() as *const _, + c"notify::align-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_align_set_trampoline::<Self, F> as *const (), )), @@ -863,7 +863,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::alignment\0".as_ptr() as *const _, + c"notify::alignment".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_alignment_trampoline::<Self, F> as *const (), )), @@ -889,7 +889,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::attributes\0".as_ptr() as *const _, + c"notify::attributes".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_attributes_trampoline::<Self, F> as *const (), )), @@ -915,7 +915,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::background\0".as_ptr() as *const _, + c"notify::background".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_background_trampoline::<Self, F> as *const (), )), @@ -941,7 +941,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::background-rgba\0".as_ptr() as *const _, + c"notify::background-rgba".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_background_rgba_trampoline::<Self, F> as *const (), )), @@ -967,7 +967,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::background-set\0".as_ptr() as *const _, + c"notify::background-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_background_set_trampoline::<Self, F> as *const (), )), @@ -993,7 +993,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::editable\0".as_ptr() as *const _, + c"notify::editable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_editable_trampoline::<Self, F> as *const (), )), @@ -1019,7 +1019,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::editable-set\0".as_ptr() as *const _, + c"notify::editable-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_editable_set_trampoline::<Self, F> as *const (), )), @@ -1045,7 +1045,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::ellipsize\0".as_ptr() as *const _, + c"notify::ellipsize".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_ellipsize_trampoline::<Self, F> as *const (), )), @@ -1071,7 +1071,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::ellipsize-set\0".as_ptr() as *const _, + c"notify::ellipsize-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_ellipsize_set_trampoline::<Self, F> as *const (), )), @@ -1097,7 +1097,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = 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::<Self, F> as *const (), )), @@ -1123,7 +1123,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::family-set\0".as_ptr() as *const _, + c"notify::family-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_family_set_trampoline::<Self, F> as *const (), )), @@ -1149,7 +1149,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::font\0".as_ptr() as *const _, + c"notify::font".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_font_trampoline::<Self, F> as *const (), )), @@ -1175,7 +1175,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::font-desc\0".as_ptr() as *const _, + c"notify::font-desc".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_font_desc_trampoline::<Self, F> as *const (), )), @@ -1201,7 +1201,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::foreground\0".as_ptr() as *const _, + c"notify::foreground".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_foreground_trampoline::<Self, F> as *const (), )), @@ -1227,7 +1227,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::foreground-rgba\0".as_ptr() as *const _, + c"notify::foreground-rgba".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_foreground_rgba_trampoline::<Self, F> as *const (), )), @@ -1253,7 +1253,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::foreground-set\0".as_ptr() as *const _, + c"notify::foreground-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_foreground_set_trampoline::<Self, F> as *const (), )), @@ -1279,7 +1279,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::language\0".as_ptr() as *const _, + c"notify::language".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_language_trampoline::<Self, F> as *const (), )), @@ -1305,7 +1305,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::language-set\0".as_ptr() as *const _, + c"notify::language-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_language_set_trampoline::<Self, F> as *const (), )), @@ -1331,7 +1331,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::markup\0".as_ptr() as *const _, + c"notify::markup".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_markup_trampoline::<Self, F> as *const (), )), @@ -1357,7 +1357,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::max-width-chars\0".as_ptr() as *const _, + c"notify::max-width-chars".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_max_width_chars_trampoline::<Self, F> as *const (), )), @@ -1383,7 +1383,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::placeholder-text\0".as_ptr() as *const _, + c"notify::placeholder-text".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_placeholder_text_trampoline::<Self, F> as *const (), )), @@ -1409,7 +1409,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::rise\0".as_ptr() as *const _, + c"notify::rise".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_rise_trampoline::<Self, F> as *const (), )), @@ -1435,7 +1435,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::rise-set\0".as_ptr() as *const _, + c"notify::rise-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_rise_set_trampoline::<Self, F> as *const (), )), @@ -1461,7 +1461,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::scale\0".as_ptr() as *const _, + c"notify::scale".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_scale_trampoline::<Self, F> as *const (), )), @@ -1487,7 +1487,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::scale-set\0".as_ptr() as *const _, + c"notify::scale-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_scale_set_trampoline::<Self, F> as *const (), )), @@ -1516,7 +1516,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::single-paragraph-mode\0".as_ptr() as *const _, + c"notify::single-paragraph-mode".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_single_paragraph_mode_trampoline::<Self, F> as *const (), )), @@ -1542,7 +1542,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::size\0".as_ptr() as *const _, + c"notify::size".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_size_trampoline::<Self, F> as *const (), )), @@ -1568,7 +1568,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::size-points\0".as_ptr() as *const _, + c"notify::size-points".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_size_points_trampoline::<Self, F> as *const (), )), @@ -1594,7 +1594,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::size-set\0".as_ptr() as *const _, + c"notify::size-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_size_set_trampoline::<Self, F> as *const (), )), @@ -1620,7 +1620,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::stretch\0".as_ptr() as *const _, + c"notify::stretch".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_stretch_trampoline::<Self, F> as *const (), )), @@ -1646,7 +1646,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::stretch-set\0".as_ptr() as *const _, + c"notify::stretch-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_stretch_set_trampoline::<Self, F> as *const (), )), @@ -1672,7 +1672,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::strikethrough\0".as_ptr() as *const _, + c"notify::strikethrough".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_strikethrough_trampoline::<Self, F> as *const (), )), @@ -1698,7 +1698,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::strikethrough-set\0".as_ptr() as *const _, + c"notify::strikethrough-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_strikethrough_set_trampoline::<Self, F> as *const (), )), @@ -1724,7 +1724,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::style\0".as_ptr() as *const _, + c"notify::style".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_style_trampoline::<Self, F> as *const (), )), @@ -1750,7 +1750,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::style-set\0".as_ptr() as *const _, + c"notify::style-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_style_set_trampoline::<Self, F> as *const (), )), @@ -1776,7 +1776,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::text\0".as_ptr() as *const _, + c"notify::text".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_text_trampoline::<Self, F> as *const (), )), @@ -1802,7 +1802,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::underline\0".as_ptr() as *const _, + c"notify::underline".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_underline_trampoline::<Self, F> as *const (), )), @@ -1828,7 +1828,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::underline-set\0".as_ptr() as *const _, + c"notify::underline-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_underline_set_trampoline::<Self, F> as *const (), )), @@ -1854,7 +1854,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::variant\0".as_ptr() as *const _, + c"notify::variant".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_variant_trampoline::<Self, F> as *const (), )), @@ -1880,7 +1880,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::variant-set\0".as_ptr() as *const _, + c"notify::variant-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_variant_set_trampoline::<Self, F> as *const (), )), @@ -1906,7 +1906,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::weight\0".as_ptr() as *const _, + c"notify::weight".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_weight_trampoline::<Self, F> as *const (), )), @@ -1932,7 +1932,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::weight-set\0".as_ptr() as *const _, + c"notify::weight-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_weight_set_trampoline::<Self, F> as *const (), )), @@ -1958,7 +1958,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::width-chars\0".as_ptr() as *const _, + c"notify::width-chars".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_width_chars_trampoline::<Self, F> as *const (), )), @@ -1984,7 +1984,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::wrap-mode\0".as_ptr() as *const _, + c"notify::wrap-mode".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_wrap_mode_trampoline::<Self, F> as *const (), )), @@ -2010,7 +2010,7 @@ pub trait CellRendererTextExt: IsA<CellRendererText> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::wrap-width\0".as_ptr() as *const _, + c"notify::wrap-width".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_wrap_width_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/cell_renderer_toggle.rs b/gtk4/src/auto/cell_renderer_toggle.rs index 46a5b4590d32..c68ffffe2d9d 100644 --- a/gtk4/src/auto/cell_renderer_toggle.rs +++ b/gtk4/src/auto/cell_renderer_toggle.rs @@ -132,7 +132,7 @@ impl CellRendererToggle { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"toggled\0".as_ptr() as *const _, + c"toggled".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( toggled_trampoline::<F> as *const (), )), @@ -155,7 +155,7 @@ impl CellRendererToggle { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::activatable\0".as_ptr() as *const _, + c"notify::activatable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_activatable_trampoline::<F> as *const (), )), @@ -178,7 +178,7 @@ impl CellRendererToggle { let f: Box_<F> = 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::<F> as *const (), )), @@ -203,7 +203,7 @@ impl CellRendererToggle { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::inconsistent\0".as_ptr() as *const _, + c"notify::inconsistent".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_inconsistent_trampoline::<F> as *const (), )), @@ -226,7 +226,7 @@ impl CellRendererToggle { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::radio\0".as_ptr() as *const _, + c"notify::radio".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_radio_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/cell_view.rs b/gtk4/src/auto/cell_view.rs index db1f31c50d53..12b7a97e65b1 100644 --- a/gtk4/src/auto/cell_view.rs +++ b/gtk4/src/auto/cell_view.rs @@ -203,7 +203,7 @@ impl CellView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::draw-sensitive\0".as_ptr() as *const _, + c"notify::draw-sensitive".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_draw_sensitive_trampoline::<F> as *const (), )), @@ -226,7 +226,7 @@ impl CellView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::fit-model\0".as_ptr() as *const _, + c"notify::fit-model".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_fit_model_trampoline::<F> as *const (), )), @@ -249,7 +249,7 @@ impl CellView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::model\0".as_ptr() as *const _, + c"notify::model".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_model_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/center_box.rs b/gtk4/src/auto/center_box.rs index ef16e6ce7b5d..c3098edb4baf 100644 --- a/gtk4/src/auto/center_box.rs +++ b/gtk4/src/auto/center_box.rs @@ -153,7 +153,7 @@ impl CenterBox { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::baseline-position\0".as_ptr() as *const _, + c"notify::baseline-position".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_baseline_position_trampoline::<F> as *const (), )), @@ -178,7 +178,7 @@ impl CenterBox { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::center-widget\0".as_ptr() as *const _, + c"notify::center-widget".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_center_widget_trampoline::<F> as *const (), )), @@ -203,7 +203,7 @@ impl CenterBox { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::end-widget\0".as_ptr() as *const _, + c"notify::end-widget".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_end_widget_trampoline::<F> as *const (), )), @@ -231,7 +231,7 @@ impl CenterBox { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::shrink-center-last\0".as_ptr() as *const _, + c"notify::shrink-center-last".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_shrink_center_last_trampoline::<F> as *const (), )), @@ -256,7 +256,7 @@ impl CenterBox { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::start-widget\0".as_ptr() as *const _, + c"notify::start-widget".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_start_widget_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/center_layout.rs b/gtk4/src/auto/center_layout.rs index 58748776ea6e..d3f4516bd9f0 100644 --- a/gtk4/src/auto/center_layout.rs +++ b/gtk4/src/auto/center_layout.rs @@ -167,7 +167,7 @@ impl CenterLayout { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::shrink-center-last\0".as_ptr() as *const _, + c"notify::shrink-center-last".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_shrink_center_last_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/check_button.rs b/gtk4/src/auto/check_button.rs index 7e140079b089..39b10df42aee 100644 --- a/gtk4/src/auto/check_button.rs +++ b/gtk4/src/auto/check_button.rs @@ -462,7 +462,7 @@ pub trait CheckButtonExt: IsA<CheckButton> + 'static { let f: Box_<F> = 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::<Self, F> as *const (), )), @@ -490,7 +490,7 @@ pub trait CheckButtonExt: IsA<CheckButton> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"toggled\0".as_ptr() as *const _, + c"toggled".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( toggled_trampoline::<Self, F> as *const (), )), @@ -513,7 +513,7 @@ pub trait CheckButtonExt: IsA<CheckButton> + 'static { let f: Box_<F> = 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::<Self, F> as *const (), )), @@ -538,7 +538,7 @@ pub trait CheckButtonExt: IsA<CheckButton> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::child\0".as_ptr() as *const _, + c"notify::child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_child_trampoline::<Self, F> as *const (), )), @@ -561,7 +561,7 @@ pub trait CheckButtonExt: IsA<CheckButton> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::group\0".as_ptr() as *const _, + c"notify::group".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_group_trampoline::<Self, F> as *const (), )), @@ -587,7 +587,7 @@ pub trait CheckButtonExt: IsA<CheckButton> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::inconsistent\0".as_ptr() as *const _, + c"notify::inconsistent".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_inconsistent_trampoline::<Self, F> as *const (), )), @@ -610,7 +610,7 @@ pub trait CheckButtonExt: IsA<CheckButton> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::label\0".as_ptr() as *const _, + c"notify::label".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_label_trampoline::<Self, F> as *const (), )), @@ -636,7 +636,7 @@ pub trait CheckButtonExt: IsA<CheckButton> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::use-underline\0".as_ptr() as *const _, + c"notify::use-underline".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_use_underline_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/color_button.rs b/gtk4/src/auto/color_button.rs index 8ea9abc610a5..cecacb788fed 100644 --- a/gtk4/src/auto/color_button.rs +++ b/gtk4/src/auto/color_button.rs @@ -112,7 +112,7 @@ impl ColorButton { let f: Box_<F> = 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::<F> as *const (), )), @@ -140,7 +140,7 @@ impl ColorButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"color-set\0".as_ptr() as *const _, + c"color-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( color_set_trampoline::<F> as *const (), )), @@ -163,7 +163,7 @@ impl ColorButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::modal\0".as_ptr() as *const _, + c"notify::modal".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_modal_trampoline::<F> as *const (), )), @@ -186,7 +186,7 @@ impl ColorButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-editor\0".as_ptr() as *const _, + c"notify::show-editor".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_editor_trampoline::<F> as *const (), )), @@ -209,7 +209,7 @@ impl ColorButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::title\0".as_ptr() as *const _, + c"notify::title".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_title_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/color_chooser.rs b/gtk4/src/auto/color_chooser.rs index a4d83093315c..f4a3356bc7f3 100644 --- a/gtk4/src/auto/color_chooser.rs +++ b/gtk4/src/auto/color_chooser.rs @@ -97,7 +97,7 @@ pub trait ColorChooserExt: IsA<ColorChooser> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"color-activated\0".as_ptr() as *const _, + c"color-activated".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( color_activated_trampoline::<Self, F> as *const (), )), @@ -121,7 +121,7 @@ pub trait ColorChooserExt: IsA<ColorChooser> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::rgba\0".as_ptr() as *const _, + c"notify::rgba".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_rgba_trampoline::<Self, F> as *const (), )), @@ -148,7 +148,7 @@ pub trait ColorChooserExt: IsA<ColorChooser> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::use-alpha\0".as_ptr() as *const _, + c"notify::use-alpha".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_use_alpha_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/color_chooser_dialog.rs b/gtk4/src/auto/color_chooser_dialog.rs index c6e2cf0e8d39..98c7c4d72176 100644 --- a/gtk4/src/auto/color_chooser_dialog.rs +++ b/gtk4/src/auto/color_chooser_dialog.rs @@ -70,7 +70,7 @@ impl ColorChooserDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-editor\0".as_ptr() as *const _, + c"notify::show-editor".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_editor_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/color_chooser_widget.rs b/gtk4/src/auto/color_chooser_widget.rs index 028ef7bd4265..eeb9d4d58c6a 100644 --- a/gtk4/src/auto/color_chooser_widget.rs +++ b/gtk4/src/auto/color_chooser_widget.rs @@ -61,7 +61,7 @@ impl ColorChooserWidget { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-editor\0".as_ptr() as *const _, + c"notify::show-editor".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_editor_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/color_dialog.rs b/gtk4/src/auto/color_dialog.rs index 2b21100d92aa..283c4c03a9f8 100644 --- a/gtk4/src/auto/color_dialog.rs +++ b/gtk4/src/auto/color_dialog.rs @@ -166,7 +166,7 @@ impl ColorDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::modal\0".as_ptr() as *const _, + c"notify::modal".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_modal_trampoline::<F> as *const (), )), @@ -191,7 +191,7 @@ impl ColorDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::title\0".as_ptr() as *const _, + c"notify::title".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_title_trampoline::<F> as *const (), )), @@ -216,7 +216,7 @@ impl ColorDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::with-alpha\0".as_ptr() as *const _, + c"notify::with-alpha".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_with_alpha_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/color_dialog_button.rs b/gtk4/src/auto/color_dialog_button.rs index 7b1cf711d36e..9d82a827d65d 100644 --- a/gtk4/src/auto/color_dialog_button.rs +++ b/gtk4/src/auto/color_dialog_button.rs @@ -87,7 +87,7 @@ impl ColorDialogButton { let f: Box_<F> = 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::<F> as *const (), )), @@ -118,7 +118,7 @@ impl ColorDialogButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::dialog\0".as_ptr() as *const _, + c"notify::dialog".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_dialog_trampoline::<F> as *const (), )), @@ -143,7 +143,7 @@ impl ColorDialogButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::rgba\0".as_ptr() as *const _, + c"notify::rgba".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_rgba_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/column_view.rs b/gtk4/src/auto/column_view.rs index e67c22cdca04..aa6c2499ef5b 100644 --- a/gtk4/src/auto/column_view.rs +++ b/gtk4/src/auto/column_view.rs @@ -316,7 +316,7 @@ impl ColumnView { let f: Box_<F> = 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::<F> as *const (), )), @@ -339,7 +339,7 @@ impl ColumnView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::columns\0".as_ptr() as *const _, + c"notify::columns".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_columns_trampoline::<F> as *const (), )), @@ -365,7 +365,7 @@ impl ColumnView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::enable-rubberband\0".as_ptr() as *const _, + c"notify::enable-rubberband".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_enable_rubberband_trampoline::<F> as *const (), )), @@ -390,7 +390,7 @@ impl ColumnView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::header-factory\0".as_ptr() as *const _, + c"notify::header-factory".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_header_factory_trampoline::<F> as *const (), )), @@ -413,7 +413,7 @@ impl ColumnView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::model\0".as_ptr() as *const _, + c"notify::model".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_model_trampoline::<F> as *const (), )), @@ -436,7 +436,7 @@ impl ColumnView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::reorderable\0".as_ptr() as *const _, + c"notify::reorderable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_reorderable_trampoline::<F> as *const (), )), @@ -461,7 +461,7 @@ impl ColumnView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::row-factory\0".as_ptr() as *const _, + c"notify::row-factory".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_row_factory_trampoline::<F> as *const (), )), @@ -489,7 +489,7 @@ impl ColumnView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-column-separators\0".as_ptr() as *const _, + c"notify::show-column-separators".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_column_separators_trampoline::<F> as *const (), )), @@ -515,7 +515,7 @@ impl ColumnView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-row-separators\0".as_ptr() as *const _, + c"notify::show-row-separators".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_row_separators_trampoline::<F> as *const (), )), @@ -543,7 +543,7 @@ impl ColumnView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::single-click-activate\0".as_ptr() as *const _, + c"notify::single-click-activate".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_single_click_activate_trampoline::<F> as *const (), )), @@ -566,7 +566,7 @@ impl ColumnView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::sorter\0".as_ptr() as *const _, + c"notify::sorter".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_sorter_trampoline::<F> as *const (), )), @@ -591,7 +591,7 @@ impl ColumnView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::tab-behavior\0".as_ptr() as *const _, + c"notify::tab-behavior".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_tab_behavior_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/column_view_column.rs b/gtk4/src/auto/column_view_column.rs index 776af7488fc5..8a23cbfaeec4 100644 --- a/gtk4/src/auto/column_view_column.rs +++ b/gtk4/src/auto/column_view_column.rs @@ -235,7 +235,7 @@ impl ColumnViewColumn { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::column-view\0".as_ptr() as *const _, + c"notify::column-view".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_column_view_trampoline::<F> as *const (), )), @@ -258,7 +258,7 @@ impl ColumnViewColumn { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::expand\0".as_ptr() as *const _, + c"notify::expand".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_expand_trampoline::<F> as *const (), )), @@ -281,7 +281,7 @@ impl ColumnViewColumn { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::factory\0".as_ptr() as *const _, + c"notify::factory".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_factory_trampoline::<F> as *const (), )), @@ -304,7 +304,7 @@ impl ColumnViewColumn { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::fixed-width\0".as_ptr() as *const _, + c"notify::fixed-width".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_fixed_width_trampoline::<F> as *const (), )), @@ -327,7 +327,7 @@ impl ColumnViewColumn { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::header-menu\0".as_ptr() as *const _, + c"notify::header-menu".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_header_menu_trampoline::<F> as *const (), )), @@ -352,7 +352,7 @@ impl ColumnViewColumn { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::id\0".as_ptr() as *const _, + c"notify::id".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_id_trampoline::<F> as *const (), )), @@ -375,7 +375,7 @@ impl ColumnViewColumn { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::resizable\0".as_ptr() as *const _, + c"notify::resizable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_resizable_trampoline::<F> as *const (), )), @@ -398,7 +398,7 @@ impl ColumnViewColumn { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::sorter\0".as_ptr() as *const _, + c"notify::sorter".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_sorter_trampoline::<F> as *const (), )), @@ -421,7 +421,7 @@ impl ColumnViewColumn { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::title\0".as_ptr() as *const _, + c"notify::title".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_title_trampoline::<F> as *const (), )), @@ -444,7 +444,7 @@ impl ColumnViewColumn { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::visible\0".as_ptr() as *const _, + c"notify::visible".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_visible_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/column_view_row.rs b/gtk4/src/auto/column_view_row.rs index 079e18258df9..bb2785e81aad 100644 --- a/gtk4/src/auto/column_view_row.rs +++ b/gtk4/src/auto/column_view_row.rs @@ -172,7 +172,7 @@ impl ColumnViewRow { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::accessible-description\0".as_ptr() as *const _, + c"notify::accessible-description".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_accessible_description_trampoline::<F> as *const (), )), @@ -197,7 +197,7 @@ impl ColumnViewRow { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::accessible-label\0".as_ptr() as *const _, + c"notify::accessible-label".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_accessible_label_trampoline::<F> as *const (), )), @@ -222,7 +222,7 @@ impl ColumnViewRow { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::activatable\0".as_ptr() as *const _, + c"notify::activatable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_activatable_trampoline::<F> as *const (), )), @@ -247,7 +247,7 @@ impl ColumnViewRow { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::focusable\0".as_ptr() as *const _, + c"notify::focusable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_focusable_trampoline::<F> as *const (), )), @@ -272,7 +272,7 @@ impl ColumnViewRow { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::item\0".as_ptr() as *const _, + c"notify::item".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_item_trampoline::<F> as *const (), )), @@ -297,7 +297,7 @@ impl ColumnViewRow { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::position\0".as_ptr() as *const _, + c"notify::position".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_position_trampoline::<F> as *const (), )), @@ -322,7 +322,7 @@ impl ColumnViewRow { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::selectable\0".as_ptr() as *const _, + c"notify::selectable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_selectable_trampoline::<F> as *const (), )), @@ -347,7 +347,7 @@ impl ColumnViewRow { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::selected\0".as_ptr() as *const _, + c"notify::selected".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_selected_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/column_view_sorter.rs b/gtk4/src/auto/column_view_sorter.rs index 51fab59d5fc8..902b3abe2c39 100644 --- a/gtk4/src/auto/column_view_sorter.rs +++ b/gtk4/src/auto/column_view_sorter.rs @@ -83,7 +83,7 @@ impl ColumnViewSorter { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::primary-sort-column\0".as_ptr() as *const _, + c"notify::primary-sort-column".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_primary_sort_column_trampoline::<F> as *const (), )), @@ -113,7 +113,7 @@ impl ColumnViewSorter { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::primary-sort-order\0".as_ptr() as *const _, + c"notify::primary-sort-order".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_primary_sort_order_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/combo_box.rs b/gtk4/src/auto/combo_box.rs index 5bfa58cbe86a..4203e84ce80a 100644 --- a/gtk4/src/auto/combo_box.rs +++ b/gtk4/src/auto/combo_box.rs @@ -663,7 +663,7 @@ pub trait ComboBoxExt: IsA<ComboBox> + 'static { let f: Box_<F> = 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::<Self, F> as *const (), )), @@ -691,7 +691,7 @@ pub trait ComboBoxExt: IsA<ComboBox> + 'static { let f: Box_<F> = 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::<Self, F> as *const (), )), @@ -724,7 +724,7 @@ pub trait ComboBoxExt: IsA<ComboBox> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"format-entry-text\0".as_ptr() as *const _, + c"format-entry-text".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( format_entry_text_trampoline::<Self, F> as *const (), )), @@ -753,7 +753,7 @@ pub trait ComboBoxExt: IsA<ComboBox> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"move-active\0".as_ptr() as *const _, + c"move-active".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( move_active_trampoline::<Self, F> as *const (), )), @@ -779,7 +779,7 @@ pub trait ComboBoxExt: IsA<ComboBox> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"popdown\0".as_ptr() as *const _, + c"popdown".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( popdown_trampoline::<Self, F> as *const (), )), @@ -805,7 +805,7 @@ pub trait ComboBoxExt: IsA<ComboBox> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"popup\0".as_ptr() as *const _, + c"popup".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( popup_trampoline::<Self, F> as *const (), )), @@ -832,7 +832,7 @@ pub trait ComboBoxExt: IsA<ComboBox> + 'static { let f: Box_<F> = 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::<Self, F> as *const (), )), @@ -855,7 +855,7 @@ pub trait ComboBoxExt: IsA<ComboBox> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::active-id\0".as_ptr() as *const _, + c"notify::active-id".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_active_id_trampoline::<Self, F> as *const (), )), @@ -881,7 +881,7 @@ pub trait ComboBoxExt: IsA<ComboBox> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::button-sensitivity\0".as_ptr() as *const _, + c"notify::button-sensitivity".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_button_sensitivity_trampoline::<Self, F> as *const (), )), @@ -904,7 +904,7 @@ pub trait ComboBoxExt: IsA<ComboBox> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::child\0".as_ptr() as *const _, + c"notify::child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_child_trampoline::<Self, F> as *const (), )), @@ -930,7 +930,7 @@ pub trait ComboBoxExt: IsA<ComboBox> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::entry-text-column\0".as_ptr() as *const _, + c"notify::entry-text-column".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_entry_text_column_trampoline::<Self, F> as *const (), )), @@ -953,7 +953,7 @@ pub trait ComboBoxExt: IsA<ComboBox> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::has-frame\0".as_ptr() as *const _, + c"notify::has-frame".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_has_frame_trampoline::<Self, F> as *const (), )), @@ -976,7 +976,7 @@ pub trait ComboBoxExt: IsA<ComboBox> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::id-column\0".as_ptr() as *const _, + c"notify::id-column".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_id_column_trampoline::<Self, F> as *const (), )), @@ -999,7 +999,7 @@ pub trait ComboBoxExt: IsA<ComboBox> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::model\0".as_ptr() as *const _, + c"notify::model".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_model_trampoline::<Self, F> as *const (), )), @@ -1025,7 +1025,7 @@ pub trait ComboBoxExt: IsA<ComboBox> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::popup-fixed-width\0".as_ptr() as *const _, + c"notify::popup-fixed-width".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_popup_fixed_width_trampoline::<Self, F> as *const (), )), @@ -1051,7 +1051,7 @@ pub trait ComboBoxExt: IsA<ComboBox> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::popup-shown\0".as_ptr() as *const _, + c"notify::popup-shown".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_popup_shown_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/constraint_guide.rs b/gtk4/src/auto/constraint_guide.rs index daffd9afc6a6..67934cbfd741 100644 --- a/gtk4/src/auto/constraint_guide.rs +++ b/gtk4/src/auto/constraint_guide.rs @@ -161,7 +161,7 @@ impl ConstraintGuide { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::max-height\0".as_ptr() as *const _, + c"notify::max-height".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_max_height_trampoline::<F> as *const (), )), @@ -184,7 +184,7 @@ impl ConstraintGuide { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::max-width\0".as_ptr() as *const _, + c"notify::max-width".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_max_width_trampoline::<F> as *const (), )), @@ -207,7 +207,7 @@ impl ConstraintGuide { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::min-height\0".as_ptr() as *const _, + c"notify::min-height".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_min_height_trampoline::<F> as *const (), )), @@ -230,7 +230,7 @@ impl ConstraintGuide { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::min-width\0".as_ptr() as *const _, + c"notify::min-width".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_min_width_trampoline::<F> as *const (), )), @@ -253,7 +253,7 @@ impl ConstraintGuide { let f: Box_<F> = 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::<F> as *const (), )), @@ -276,7 +276,7 @@ impl ConstraintGuide { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::nat-height\0".as_ptr() as *const _, + c"notify::nat-height".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_nat_height_trampoline::<F> as *const (), )), @@ -299,7 +299,7 @@ impl ConstraintGuide { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::nat-width\0".as_ptr() as *const _, + c"notify::nat-width".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_nat_width_trampoline::<F> as *const (), )), @@ -322,7 +322,7 @@ impl ConstraintGuide { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::strength\0".as_ptr() as *const _, + c"notify::strength".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_strength_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/css_provider.rs b/gtk4/src/auto/css_provider.rs index c4062e24ccb1..bee46bdcfe1b 100644 --- a/gtk4/src/auto/css_provider.rs +++ b/gtk4/src/auto/css_provider.rs @@ -130,7 +130,7 @@ impl CssProvider { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"parsing-error\0".as_ptr() as *const _, + c"parsing-error".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( parsing_error_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/dialog.rs b/gtk4/src/auto/dialog.rs index 4cd533b70aef..60ceefe5ba9b 100644 --- a/gtk4/src/auto/dialog.rs +++ b/gtk4/src/auto/dialog.rs @@ -540,7 +540,7 @@ pub trait DialogExt: IsA<Dialog> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"close\0".as_ptr() as *const _, + c"close".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( close_trampoline::<Self, F> as *const (), )), @@ -574,7 +574,7 @@ pub trait DialogExt: IsA<Dialog> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"response\0".as_ptr() as *const _, + c"response".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( response_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/directory_list.rs b/gtk4/src/auto/directory_list.rs index 923ba42217c3..cdffce6b9bcd 100644 --- a/gtk4/src/auto/directory_list.rs +++ b/gtk4/src/auto/directory_list.rs @@ -110,7 +110,7 @@ impl DirectoryList { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::attributes\0".as_ptr() as *const _, + c"notify::attributes".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_attributes_trampoline::<F> as *const (), )), @@ -133,7 +133,7 @@ impl DirectoryList { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::error\0".as_ptr() as *const _, + c"notify::error".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_error_trampoline::<F> as *const (), )), @@ -156,7 +156,7 @@ impl DirectoryList { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::file\0".as_ptr() as *const _, + c"notify::file".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_file_trampoline::<F> as *const (), )), @@ -179,7 +179,7 @@ impl DirectoryList { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::io-priority\0".as_ptr() as *const _, + c"notify::io-priority".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_io_priority_trampoline::<F> as *const (), )), @@ -202,7 +202,7 @@ impl DirectoryList { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::loading\0".as_ptr() as *const _, + c"notify::loading".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_loading_trampoline::<F> as *const (), )), @@ -225,7 +225,7 @@ impl DirectoryList { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::monitored\0".as_ptr() as *const _, + c"notify::monitored".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_monitored_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/drag_icon.rs b/gtk4/src/auto/drag_icon.rs index 2639cdddc178..a5517f484357 100644 --- a/gtk4/src/auto/drag_icon.rs +++ b/gtk4/src/auto/drag_icon.rs @@ -89,7 +89,7 @@ impl DragIcon { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::child\0".as_ptr() as *const _, + c"notify::child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_child_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/drag_source.rs b/gtk4/src/auto/drag_source.rs index 94ecf49afc4c..6b4ca4d0da07 100644 --- a/gtk4/src/auto/drag_source.rs +++ b/gtk4/src/auto/drag_source.rs @@ -104,7 +104,7 @@ impl DragSource { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"drag-begin\0".as_ptr() as *const _, + c"drag-begin".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( drag_begin_trampoline::<F> as *const (), )), @@ -140,7 +140,7 @@ impl DragSource { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"drag-cancel\0".as_ptr() as *const _, + c"drag-cancel".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( drag_cancel_trampoline::<F> as *const (), )), @@ -171,7 +171,7 @@ impl DragSource { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"drag-end\0".as_ptr() as *const _, + c"drag-end".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( drag_end_trampoline::<F> as *const (), )), @@ -200,7 +200,7 @@ impl DragSource { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"prepare\0".as_ptr() as *const _, + c"prepare".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( prepare_trampoline::<F> as *const (), )), @@ -223,7 +223,7 @@ impl DragSource { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::actions\0".as_ptr() as *const _, + c"notify::actions".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_actions_trampoline::<F> as *const (), )), @@ -246,7 +246,7 @@ impl DragSource { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::content\0".as_ptr() as *const _, + c"notify::content".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_content_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/drawing_area.rs b/gtk4/src/auto/drawing_area.rs index dc4ee14c1f14..86808d0c4a0d 100644 --- a/gtk4/src/auto/drawing_area.rs +++ b/gtk4/src/auto/drawing_area.rs @@ -320,7 +320,7 @@ pub trait DrawingAreaExt: IsA<DrawingArea> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"resize\0".as_ptr() as *const _, + c"resize".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( resize_trampoline::<Self, F> as *const (), )), @@ -346,7 +346,7 @@ pub trait DrawingAreaExt: IsA<DrawingArea> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::content-height\0".as_ptr() as *const _, + c"notify::content-height".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_content_height_trampoline::<Self, F> as *const (), )), @@ -372,7 +372,7 @@ pub trait DrawingAreaExt: IsA<DrawingArea> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::content-width\0".as_ptr() as *const _, + c"notify::content-width".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_content_width_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/drop_controller_motion.rs b/gtk4/src/auto/drop_controller_motion.rs index e671c141188a..872e543f7ac0 100644 --- a/gtk4/src/auto/drop_controller_motion.rs +++ b/gtk4/src/auto/drop_controller_motion.rs @@ -81,7 +81,7 @@ impl DropControllerMotion { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"enter\0".as_ptr() as *const _, + c"enter".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( enter_trampoline::<F> as *const (), )), @@ -103,7 +103,7 @@ impl DropControllerMotion { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"leave\0".as_ptr() as *const _, + c"leave".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( leave_trampoline::<F> as *const (), )), @@ -127,7 +127,7 @@ impl DropControllerMotion { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"motion\0".as_ptr() as *const _, + c"motion".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( motion_trampoline::<F> as *const (), )), @@ -152,7 +152,7 @@ impl DropControllerMotion { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::contains-pointer\0".as_ptr() as *const _, + c"notify::contains-pointer".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_contains_pointer_trampoline::<F> as *const (), )), @@ -175,7 +175,7 @@ impl DropControllerMotion { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::drop\0".as_ptr() as *const _, + c"notify::drop".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_drop_trampoline::<F> as *const (), )), @@ -200,7 +200,7 @@ impl DropControllerMotion { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::is-pointer\0".as_ptr() as *const _, + c"notify::is-pointer".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_is_pointer_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/drop_down.rs b/gtk4/src/auto/drop_down.rs index debb2eddcf8b..3b660f4ff93b 100644 --- a/gtk4/src/auto/drop_down.rs +++ b/gtk4/src/auto/drop_down.rs @@ -250,7 +250,7 @@ impl DropDown { let f: Box_<F> = 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::<F> as *const (), )), @@ -279,7 +279,7 @@ impl DropDown { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::enable-search\0".as_ptr() as *const _, + c"notify::enable-search".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_enable_search_trampoline::<F> as *const (), )), @@ -302,7 +302,7 @@ impl DropDown { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::expression\0".as_ptr() as *const _, + c"notify::expression".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_expression_trampoline::<F> as *const (), )), @@ -325,7 +325,7 @@ impl DropDown { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::factory\0".as_ptr() as *const _, + c"notify::factory".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_factory_trampoline::<F> as *const (), )), @@ -350,7 +350,7 @@ impl DropDown { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::header-factory\0".as_ptr() as *const _, + c"notify::header-factory".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_header_factory_trampoline::<F> as *const (), )), @@ -373,7 +373,7 @@ impl DropDown { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::list-factory\0".as_ptr() as *const _, + c"notify::list-factory".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_list_factory_trampoline::<F> as *const (), )), @@ -396,7 +396,7 @@ impl DropDown { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::model\0".as_ptr() as *const _, + c"notify::model".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_model_trampoline::<F> as *const (), )), @@ -424,7 +424,7 @@ impl DropDown { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::search-match-mode\0".as_ptr() as *const _, + c"notify::search-match-mode".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_search_match_mode_trampoline::<F> as *const (), )), @@ -447,7 +447,7 @@ impl DropDown { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::selected\0".as_ptr() as *const _, + c"notify::selected".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_selected_trampoline::<F> as *const (), )), @@ -470,7 +470,7 @@ impl DropDown { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::selected-item\0".as_ptr() as *const _, + c"notify::selected-item".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_selected_item_trampoline::<F> as *const (), )), @@ -495,7 +495,7 @@ impl DropDown { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-arrow\0".as_ptr() as *const _, + c"notify::show-arrow".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_arrow_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/drop_target.rs b/gtk4/src/auto/drop_target.rs index 1605b2679543..a7126650e788 100644 --- a/gtk4/src/auto/drop_target.rs +++ b/gtk4/src/auto/drop_target.rs @@ -122,7 +122,7 @@ impl DropTarget { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"accept\0".as_ptr() as *const _, + c"accept".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( accept_trampoline::<F> as *const (), )), @@ -151,7 +151,7 @@ impl DropTarget { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"enter\0".as_ptr() as *const _, + c"enter".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( enter_trampoline::<F> as *const (), )), @@ -173,7 +173,7 @@ impl DropTarget { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"leave\0".as_ptr() as *const _, + c"leave".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( leave_trampoline::<F> as *const (), )), @@ -202,7 +202,7 @@ impl DropTarget { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"motion\0".as_ptr() as *const _, + c"motion".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( motion_trampoline::<F> as *const (), )), @@ -225,7 +225,7 @@ impl DropTarget { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::actions\0".as_ptr() as *const _, + c"notify::actions".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_actions_trampoline::<F> as *const (), )), @@ -250,7 +250,7 @@ impl DropTarget { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::current-drop\0".as_ptr() as *const _, + c"notify::current-drop".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_current_drop_trampoline::<F> as *const (), )), @@ -274,7 +274,7 @@ impl DropTarget { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::drop\0".as_ptr() as *const _, + c"notify::drop".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_drop_trampoline::<F> as *const (), )), @@ -297,7 +297,7 @@ impl DropTarget { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::preload\0".as_ptr() as *const _, + c"notify::preload".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_preload_trampoline::<F> as *const (), )), @@ -320,7 +320,7 @@ impl DropTarget { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::value\0".as_ptr() as *const _, + c"notify::value".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_value_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/drop_target_async.rs b/gtk4/src/auto/drop_target_async.rs index 4660b2ac6a75..70b425453ee6 100644 --- a/gtk4/src/auto/drop_target_async.rs +++ b/gtk4/src/auto/drop_target_async.rs @@ -101,7 +101,7 @@ impl DropTargetAsync { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"accept\0".as_ptr() as *const _, + c"accept".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( accept_trampoline::<F> as *const (), )), @@ -131,7 +131,7 @@ impl DropTargetAsync { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"drag-enter\0".as_ptr() as *const _, + c"drag-enter".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( drag_enter_trampoline::<F> as *const (), )), @@ -156,7 +156,7 @@ impl DropTargetAsync { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"drag-leave\0".as_ptr() as *const _, + c"drag-leave".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( drag_leave_trampoline::<F> as *const (), )), @@ -186,7 +186,7 @@ impl DropTargetAsync { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"drag-motion\0".as_ptr() as *const _, + c"drag-motion".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( drag_motion_trampoline::<F> as *const (), )), @@ -216,7 +216,7 @@ impl DropTargetAsync { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"drop\0".as_ptr() as *const _, + c"drop".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( drop_trampoline::<F> as *const (), )), @@ -239,7 +239,7 @@ impl DropTargetAsync { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::actions\0".as_ptr() as *const _, + c"notify::actions".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_actions_trampoline::<F> as *const (), )), @@ -262,7 +262,7 @@ impl DropTargetAsync { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::formats\0".as_ptr() as *const _, + c"notify::formats".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_formats_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/editable.rs b/gtk4/src/auto/editable.rs index 38c7ba9a929f..39a7272ec8de 100644 --- a/gtk4/src/auto/editable.rs +++ b/gtk4/src/auto/editable.rs @@ -262,7 +262,7 @@ pub trait EditableExt: IsA<Editable> + 'static { let f: Box_<F> = 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::<Self, F> as *const (), )), @@ -293,7 +293,7 @@ pub trait EditableExt: IsA<Editable> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"delete-text\0".as_ptr() as *const _, + c"delete-text".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( delete_text_trampoline::<Self, F> as *const (), )), @@ -319,7 +319,7 @@ pub trait EditableExt: IsA<Editable> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::cursor-position\0".as_ptr() as *const _, + c"notify::cursor-position".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_cursor_position_trampoline::<Self, F> as *const (), )), @@ -342,7 +342,7 @@ pub trait EditableExt: IsA<Editable> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::editable\0".as_ptr() as *const _, + c"notify::editable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_editable_trampoline::<Self, F> as *const (), )), @@ -368,7 +368,7 @@ pub trait EditableExt: IsA<Editable> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::enable-undo\0".as_ptr() as *const _, + c"notify::enable-undo".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_enable_undo_trampoline::<Self, F> as *const (), )), @@ -394,7 +394,7 @@ pub trait EditableExt: IsA<Editable> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::max-width-chars\0".as_ptr() as *const _, + c"notify::max-width-chars".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_max_width_chars_trampoline::<Self, F> as *const (), )), @@ -420,7 +420,7 @@ pub trait EditableExt: IsA<Editable> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::selection-bound\0".as_ptr() as *const _, + c"notify::selection-bound".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_selection_bound_trampoline::<Self, F> as *const (), )), @@ -443,7 +443,7 @@ pub trait EditableExt: IsA<Editable> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::text\0".as_ptr() as *const _, + c"notify::text".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_text_trampoline::<Self, F> as *const (), )), @@ -469,7 +469,7 @@ pub trait EditableExt: IsA<Editable> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::width-chars\0".as_ptr() as *const _, + c"notify::width-chars".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_width_chars_trampoline::<Self, F> as *const (), )), @@ -492,7 +492,7 @@ pub trait EditableExt: IsA<Editable> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::xalign\0".as_ptr() as *const _, + c"notify::xalign".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_xalign_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/emoji_chooser.rs b/gtk4/src/auto/emoji_chooser.rs index c8a8243d93e4..fff765f2a4e9 100644 --- a/gtk4/src/auto/emoji_chooser.rs +++ b/gtk4/src/auto/emoji_chooser.rs @@ -54,7 +54,7 @@ impl EmojiChooser { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"emoji-picked\0".as_ptr() as *const _, + c"emoji-picked".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( emoji_picked_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/entry.rs b/gtk4/src/auto/entry.rs index f35b149edbec..1a19e5011c68 100644 --- a/gtk4/src/auto/entry.rs +++ b/gtk4/src/auto/entry.rs @@ -1404,7 +1404,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = 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::<Self, F> as *const (), )), @@ -1440,7 +1440,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"icon-press\0".as_ptr() as *const _, + c"icon-press".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( icon_press_trampoline::<Self, F> as *const (), )), @@ -1472,7 +1472,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"icon-release\0".as_ptr() as *const _, + c"icon-release".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( icon_release_trampoline::<Self, F> as *const (), )), @@ -1498,7 +1498,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::activates-default\0".as_ptr() as *const _, + c"notify::activates-default".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_activates_default_trampoline::<Self, F> as *const (), )), @@ -1521,7 +1521,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::attributes\0".as_ptr() as *const _, + c"notify::attributes".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_attributes_trampoline::<Self, F> as *const (), )), @@ -1544,7 +1544,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::buffer\0".as_ptr() as *const _, + c"notify::buffer".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_buffer_trampoline::<Self, F> as *const (), )), @@ -1568,7 +1568,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::completion\0".as_ptr() as *const _, + c"notify::completion".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_completion_trampoline::<Self, F> as *const (), )), @@ -1597,7 +1597,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::enable-emoji-completion\0".as_ptr() as *const _, + c"notify::enable-emoji-completion".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_enable_emoji_completion_trampoline::<Self, F> as *const (), )), @@ -1620,7 +1620,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::extra-menu\0".as_ptr() as *const _, + c"notify::extra-menu".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_extra_menu_trampoline::<Self, F> as *const (), )), @@ -1643,7 +1643,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::has-frame\0".as_ptr() as *const _, + c"notify::has-frame".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_has_frame_trampoline::<Self, F> as *const (), )), @@ -1666,7 +1666,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::im-module\0".as_ptr() as *const _, + c"notify::im-module".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_im_module_trampoline::<Self, F> as *const (), )), @@ -1689,7 +1689,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::input-hints\0".as_ptr() as *const _, + c"notify::input-hints".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_input_hints_trampoline::<Self, F> as *const (), )), @@ -1712,7 +1712,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::input-purpose\0".as_ptr() as *const _, + c"notify::input-purpose".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_input_purpose_trampoline::<Self, F> as *const (), )), @@ -1738,7 +1738,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::invisible-char\0".as_ptr() as *const _, + c"notify::invisible-char".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_invisible_char_trampoline::<Self, F> as *const (), )), @@ -1764,7 +1764,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::invisible-char-set\0".as_ptr() as *const _, + c"notify::invisible-char-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_invisible_char_set_trampoline::<Self, F> as *const (), )), @@ -1787,7 +1787,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::max-length\0".as_ptr() as *const _, + c"notify::max-length".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_max_length_trampoline::<Self, F> as *const (), )), @@ -1813,7 +1813,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::overwrite-mode\0".as_ptr() as *const _, + c"notify::overwrite-mode".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_overwrite_mode_trampoline::<Self, F> as *const (), )), @@ -1839,7 +1839,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::placeholder-text\0".as_ptr() as *const _, + c"notify::placeholder-text".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_placeholder_text_trampoline::<Self, F> as *const (), )), @@ -1868,7 +1868,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::primary-icon-activatable\0".as_ptr() as *const _, + c"notify::primary-icon-activatable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_primary_icon_activatable_trampoline::<Self, F> as *const (), )), @@ -1894,7 +1894,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::primary-icon-gicon\0".as_ptr() as *const _, + c"notify::primary-icon-gicon".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_primary_icon_gicon_trampoline::<Self, F> as *const (), )), @@ -1920,7 +1920,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::primary-icon-name\0".as_ptr() as *const _, + c"notify::primary-icon-name".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_primary_icon_name_trampoline::<Self, F> as *const (), )), @@ -1949,7 +1949,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::primary-icon-paintable\0".as_ptr() as *const _, + c"notify::primary-icon-paintable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_primary_icon_paintable_trampoline::<Self, F> as *const (), )), @@ -1978,7 +1978,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::primary-icon-sensitive\0".as_ptr() as *const _, + c"notify::primary-icon-sensitive".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_primary_icon_sensitive_trampoline::<Self, F> as *const (), )), @@ -2007,7 +2007,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::primary-icon-storage-type\0".as_ptr() as *const _, + c"notify::primary-icon-storage-type".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_primary_icon_storage_type_trampoline::<Self, F> as *const (), )), @@ -2036,7 +2036,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::primary-icon-tooltip-markup\0".as_ptr() as *const _, + c"notify::primary-icon-tooltip-markup".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_primary_icon_tooltip_markup_trampoline::<Self, F> as *const (), )), @@ -2065,7 +2065,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::primary-icon-tooltip-text\0".as_ptr() as *const _, + c"notify::primary-icon-tooltip-text".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_primary_icon_tooltip_text_trampoline::<Self, F> as *const (), )), @@ -2091,7 +2091,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::progress-fraction\0".as_ptr() as *const _, + c"notify::progress-fraction".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_progress_fraction_trampoline::<Self, F> as *const (), )), @@ -2117,7 +2117,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::progress-pulse-step\0".as_ptr() as *const _, + c"notify::progress-pulse-step".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_progress_pulse_step_trampoline::<Self, F> as *const (), )), @@ -2140,7 +2140,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::scroll-offset\0".as_ptr() as *const _, + c"notify::scroll-offset".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_scroll_offset_trampoline::<Self, F> as *const (), )), @@ -2169,7 +2169,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::secondary-icon-activatable\0".as_ptr() as *const _, + c"notify::secondary-icon-activatable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_secondary_icon_activatable_trampoline::<Self, F> as *const (), )), @@ -2195,7 +2195,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::secondary-icon-gicon\0".as_ptr() as *const _, + c"notify::secondary-icon-gicon".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_secondary_icon_gicon_trampoline::<Self, F> as *const (), )), @@ -2221,7 +2221,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::secondary-icon-name\0".as_ptr() as *const _, + c"notify::secondary-icon-name".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_secondary_icon_name_trampoline::<Self, F> as *const (), )), @@ -2250,7 +2250,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::secondary-icon-paintable\0".as_ptr() as *const _, + c"notify::secondary-icon-paintable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_secondary_icon_paintable_trampoline::<Self, F> as *const (), )), @@ -2279,7 +2279,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::secondary-icon-sensitive\0".as_ptr() as *const _, + c"notify::secondary-icon-sensitive".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_secondary_icon_sensitive_trampoline::<Self, F> as *const (), )), @@ -2308,7 +2308,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::secondary-icon-storage-type\0".as_ptr() as *const _, + c"notify::secondary-icon-storage-type".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_secondary_icon_storage_type_trampoline::<Self, F> as *const (), )), @@ -2337,7 +2337,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::secondary-icon-tooltip-markup\0".as_ptr() as *const _, + c"notify::secondary-icon-tooltip-markup".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_secondary_icon_tooltip_markup_trampoline::<Self, F> as *const (), )), @@ -2366,7 +2366,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::secondary-icon-tooltip-text\0".as_ptr() as *const _, + c"notify::secondary-icon-tooltip-text".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_secondary_icon_tooltip_text_trampoline::<Self, F> as *const (), )), @@ -2392,7 +2392,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-emoji-icon\0".as_ptr() as *const _, + c"notify::show-emoji-icon".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_emoji_icon_trampoline::<Self, F> as *const (), )), @@ -2415,7 +2415,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::tabs\0".as_ptr() as *const _, + c"notify::tabs".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_tabs_trampoline::<Self, F> as *const (), )), @@ -2438,7 +2438,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::text-length\0".as_ptr() as *const _, + c"notify::text-length".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_text_length_trampoline::<Self, F> as *const (), )), @@ -2464,7 +2464,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::truncate-multiline\0".as_ptr() as *const _, + c"notify::truncate-multiline".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_truncate_multiline_trampoline::<Self, F> as *const (), )), @@ -2487,7 +2487,7 @@ pub trait EntryExt: IsA<Entry> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::visibility\0".as_ptr() as *const _, + c"notify::visibility".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_visibility_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/entry_buffer.rs b/gtk4/src/auto/entry_buffer.rs index 6a689467ec48..7683102428b4 100644 --- a/gtk4/src/auto/entry_buffer.rs +++ b/gtk4/src/auto/entry_buffer.rs @@ -106,7 +106,7 @@ pub trait EntryBufferExt: IsA<EntryBuffer> + 'static { let f: Box_<F> = 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::<Self, F> as *const (), )), @@ -132,7 +132,7 @@ pub trait EntryBufferExt: IsA<EntryBuffer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::max-length\0".as_ptr() as *const _, + c"notify::max-length".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_max_length_trampoline::<Self, F> as *const (), )), @@ -155,7 +155,7 @@ pub trait EntryBufferExt: IsA<EntryBuffer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::text\0".as_ptr() as *const _, + c"notify::text".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_text_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/entry_completion.rs b/gtk4/src/auto/entry_completion.rs index 0a23ff711915..7fd4dc9861e1 100644 --- a/gtk4/src/auto/entry_completion.rs +++ b/gtk4/src/auto/entry_completion.rs @@ -355,7 +355,7 @@ impl EntryCompletion { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"cursor-on-match\0".as_ptr() as *const _, + c"cursor-on-match".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( cursor_on_match_trampoline::<F> as *const (), )), @@ -387,7 +387,7 @@ impl EntryCompletion { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"insert-prefix\0".as_ptr() as *const _, + c"insert-prefix".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( insert_prefix_trampoline::<F> as *const (), )), @@ -423,7 +423,7 @@ impl EntryCompletion { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"match-selected\0".as_ptr() as *const _, + c"match-selected".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( match_selected_trampoline::<F> as *const (), )), @@ -445,7 +445,7 @@ impl EntryCompletion { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"no-matches\0".as_ptr() as *const _, + c"no-matches".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( no_matches_trampoline::<F> as *const (), )), @@ -473,7 +473,7 @@ impl EntryCompletion { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::inline-completion\0".as_ptr() as *const _, + c"notify::inline-completion".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_inline_completion_trampoline::<F> as *const (), )), @@ -498,7 +498,7 @@ impl EntryCompletion { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::inline-selection\0".as_ptr() as *const _, + c"notify::inline-selection".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_inline_selection_trampoline::<F> as *const (), )), @@ -526,7 +526,7 @@ impl EntryCompletion { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::minimum-key-length\0".as_ptr() as *const _, + c"notify::minimum-key-length".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_minimum_key_length_trampoline::<F> as *const (), )), @@ -549,7 +549,7 @@ impl EntryCompletion { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::model\0".as_ptr() as *const _, + c"notify::model".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_model_trampoline::<F> as *const (), )), @@ -574,7 +574,7 @@ impl EntryCompletion { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::popup-completion\0".as_ptr() as *const _, + c"notify::popup-completion".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_popup_completion_trampoline::<F> as *const (), )), @@ -599,7 +599,7 @@ impl EntryCompletion { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::popup-set-width\0".as_ptr() as *const _, + c"notify::popup-set-width".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_popup_set_width_trampoline::<F> as *const (), )), @@ -627,7 +627,7 @@ impl EntryCompletion { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::popup-single-match\0".as_ptr() as *const _, + c"notify::popup-single-match".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_popup_single_match_trampoline::<F> as *const (), )), @@ -650,7 +650,7 @@ impl EntryCompletion { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::text-column\0".as_ptr() as *const _, + c"notify::text-column".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_text_column_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/event_controller.rs b/gtk4/src/auto/event_controller.rs index b47e115db1c0..5e5b7b4edb88 100644 --- a/gtk4/src/auto/event_controller.rs +++ b/gtk4/src/auto/event_controller.rs @@ -171,7 +171,7 @@ pub trait EventControllerExt: IsA<EventController> + 'static { let f: Box_<F> = 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::<Self, F> as *const (), )), @@ -197,7 +197,7 @@ pub trait EventControllerExt: IsA<EventController> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::propagation-limit\0".as_ptr() as *const _, + c"notify::propagation-limit".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_propagation_limit_trampoline::<Self, F> as *const (), )), @@ -223,7 +223,7 @@ pub trait EventControllerExt: IsA<EventController> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::propagation-phase\0".as_ptr() as *const _, + c"notify::propagation-phase".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_propagation_phase_trampoline::<Self, F> as *const (), )), @@ -249,7 +249,7 @@ pub trait EventControllerExt: IsA<EventController> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::widget\0".as_ptr() as *const _, + c"notify::widget".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_widget_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/event_controller_focus.rs b/gtk4/src/auto/event_controller_focus.rs index 4d86b8a9a7b9..6bb7069ec596 100644 --- a/gtk4/src/auto/event_controller_focus.rs +++ b/gtk4/src/auto/event_controller_focus.rs @@ -69,7 +69,7 @@ impl EventControllerFocus { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"enter\0".as_ptr() as *const _, + c"enter".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( enter_trampoline::<F> as *const (), )), @@ -91,7 +91,7 @@ impl EventControllerFocus { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"leave\0".as_ptr() as *const _, + c"leave".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( leave_trampoline::<F> as *const (), )), @@ -116,7 +116,7 @@ impl EventControllerFocus { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::contains-focus\0".as_ptr() as *const _, + c"notify::contains-focus".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_contains_focus_trampoline::<F> as *const (), )), @@ -139,7 +139,7 @@ impl EventControllerFocus { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::is-focus\0".as_ptr() as *const _, + c"notify::is-focus".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_is_focus_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/event_controller_key.rs b/gtk4/src/auto/event_controller_key.rs index d6c2e38dcc10..031c7c01fcce 100644 --- a/gtk4/src/auto/event_controller_key.rs +++ b/gtk4/src/auto/event_controller_key.rs @@ -85,7 +85,7 @@ impl EventControllerKey { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"im-update\0".as_ptr() as *const _, + c"im-update".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( im_update_trampoline::<F> as *const (), )), @@ -113,7 +113,7 @@ impl EventControllerKey { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"modifiers\0".as_ptr() as *const _, + c"modifiers".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( modifiers_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/event_controller_legacy.rs b/gtk4/src/auto/event_controller_legacy.rs index 2578d4d67ffb..7370249ae4e2 100644 --- a/gtk4/src/auto/event_controller_legacy.rs +++ b/gtk4/src/auto/event_controller_legacy.rs @@ -55,7 +55,7 @@ impl EventControllerLegacy { let f: Box_<F> = 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::<F> as *const (), )), diff --git a/gtk4/src/auto/event_controller_motion.rs b/gtk4/src/auto/event_controller_motion.rs index ff38cc5804c0..4002f564b39e 100644 --- a/gtk4/src/auto/event_controller_motion.rs +++ b/gtk4/src/auto/event_controller_motion.rs @@ -71,7 +71,7 @@ impl EventControllerMotion { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"enter\0".as_ptr() as *const _, + c"enter".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( enter_trampoline::<F> as *const (), )), @@ -93,7 +93,7 @@ impl EventControllerMotion { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"leave\0".as_ptr() as *const _, + c"leave".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( leave_trampoline::<F> as *const (), )), @@ -119,7 +119,7 @@ impl EventControllerMotion { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"motion\0".as_ptr() as *const _, + c"motion".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( motion_trampoline::<F> as *const (), )), @@ -144,7 +144,7 @@ impl EventControllerMotion { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::contains-pointer\0".as_ptr() as *const _, + c"notify::contains-pointer".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_contains_pointer_trampoline::<F> as *const (), )), @@ -169,7 +169,7 @@ impl EventControllerMotion { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::is-pointer\0".as_ptr() as *const _, + c"notify::is-pointer".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_is_pointer_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/event_controller_scroll.rs b/gtk4/src/auto/event_controller_scroll.rs index 1019fec80dcb..6369f841a0f7 100644 --- a/gtk4/src/auto/event_controller_scroll.rs +++ b/gtk4/src/auto/event_controller_scroll.rs @@ -84,7 +84,7 @@ impl EventControllerScroll { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"decelerate\0".as_ptr() as *const _, + c"decelerate".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( decelerate_trampoline::<F> as *const (), )), @@ -113,7 +113,7 @@ impl EventControllerScroll { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"scroll\0".as_ptr() as *const _, + c"scroll".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( scroll_trampoline::<F> as *const (), )), @@ -135,7 +135,7 @@ impl EventControllerScroll { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"scroll-begin\0".as_ptr() as *const _, + c"scroll-begin".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( scroll_begin_trampoline::<F> as *const (), )), @@ -157,7 +157,7 @@ impl EventControllerScroll { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"scroll-end\0".as_ptr() as *const _, + c"scroll-end".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( scroll_end_trampoline::<F> as *const (), )), @@ -180,7 +180,7 @@ impl EventControllerScroll { let f: Box_<F> = 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::<F> as *const (), )), diff --git a/gtk4/src/auto/expander.rs b/gtk4/src/auto/expander.rs index d820ad69780f..de68957847d9 100644 --- a/gtk4/src/auto/expander.rs +++ b/gtk4/src/auto/expander.rs @@ -174,7 +174,7 @@ impl Expander { let f: Box_<F> = 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::<F> as *const (), )), @@ -201,7 +201,7 @@ impl Expander { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::child\0".as_ptr() as *const _, + c"notify::child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_child_trampoline::<F> as *const (), )), @@ -224,7 +224,7 @@ impl Expander { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::expanded\0".as_ptr() as *const _, + c"notify::expanded".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_expanded_trampoline::<F> as *const (), )), @@ -247,7 +247,7 @@ impl Expander { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::label\0".as_ptr() as *const _, + c"notify::label".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_label_trampoline::<F> as *const (), )), @@ -270,7 +270,7 @@ impl Expander { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::label-widget\0".as_ptr() as *const _, + c"notify::label-widget".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_label_widget_trampoline::<F> as *const (), )), @@ -293,7 +293,7 @@ impl Expander { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::resize-toplevel\0".as_ptr() as *const _, + c"notify::resize-toplevel".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_resize_toplevel_trampoline::<F> as *const (), )), @@ -316,7 +316,7 @@ impl Expander { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::use-markup\0".as_ptr() as *const _, + c"notify::use-markup".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_use_markup_trampoline::<F> as *const (), )), @@ -339,7 +339,7 @@ impl Expander { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::use-underline\0".as_ptr() as *const _, + c"notify::use-underline".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_use_underline_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/file_chooser.rs b/gtk4/src/auto/file_chooser.rs index 2e227b1d4fa2..006c39f9bc11 100644 --- a/gtk4/src/auto/file_chooser.rs +++ b/gtk4/src/auto/file_chooser.rs @@ -346,7 +346,7 @@ pub trait FileChooserExt: IsA<FileChooser> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::action\0".as_ptr() as *const _, + c"notify::action".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_action_trampoline::<Self, F> as *const (), )), @@ -373,7 +373,7 @@ pub trait FileChooserExt: IsA<FileChooser> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::create-folders\0".as_ptr() as *const _, + c"notify::create-folders".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_create_folders_trampoline::<Self, F> as *const (), )), @@ -397,7 +397,7 @@ pub trait FileChooserExt: IsA<FileChooser> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::filter\0".as_ptr() as *const _, + c"notify::filter".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_filter_trampoline::<Self, F> as *const (), )), @@ -421,7 +421,7 @@ pub trait FileChooserExt: IsA<FileChooser> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::filters\0".as_ptr() as *const _, + c"notify::filters".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_filters_trampoline::<Self, F> as *const (), )), @@ -448,7 +448,7 @@ pub trait FileChooserExt: IsA<FileChooser> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::select-multiple\0".as_ptr() as *const _, + c"notify::select-multiple".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_select_multiple_trampoline::<Self, F> as *const (), )), @@ -475,7 +475,7 @@ pub trait FileChooserExt: IsA<FileChooser> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::shortcut-folders\0".as_ptr() as *const _, + c"notify::shortcut-folders".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_shortcut_folders_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/file_chooser_native.rs b/gtk4/src/auto/file_chooser_native.rs index ae96b81c3143..a0bf1b5ff573 100644 --- a/gtk4/src/auto/file_chooser_native.rs +++ b/gtk4/src/auto/file_chooser_native.rs @@ -117,7 +117,7 @@ impl FileChooserNative { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::accept-label\0".as_ptr() as *const _, + c"notify::accept-label".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_accept_label_trampoline::<F> as *const (), )), @@ -140,7 +140,7 @@ impl FileChooserNative { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::cancel-label\0".as_ptr() as *const _, + c"notify::cancel-label".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_cancel_label_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/file_chooser_widget.rs b/gtk4/src/auto/file_chooser_widget.rs index 71aec3ed0a21..bafc9df22d3c 100644 --- a/gtk4/src/auto/file_chooser_widget.rs +++ b/gtk4/src/auto/file_chooser_widget.rs @@ -77,7 +77,7 @@ impl FileChooserWidget { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"desktop-folder\0".as_ptr() as *const _, + c"desktop-folder".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( desktop_folder_trampoline::<F> as *const (), )), @@ -103,7 +103,7 @@ impl FileChooserWidget { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"down-folder\0".as_ptr() as *const _, + c"down-folder".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( down_folder_trampoline::<F> as *const (), )), @@ -129,7 +129,7 @@ impl FileChooserWidget { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"home-folder\0".as_ptr() as *const _, + c"home-folder".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( home_folder_trampoline::<F> as *const (), )), @@ -161,7 +161,7 @@ impl FileChooserWidget { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"location-popup\0".as_ptr() as *const _, + c"location-popup".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( location_popup_trampoline::<F> as *const (), )), @@ -189,7 +189,7 @@ impl FileChooserWidget { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"location-popup-on-paste\0".as_ptr() as *const _, + c"location-popup-on-paste".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( location_popup_on_paste_trampoline::<F> as *const (), )), @@ -217,7 +217,7 @@ impl FileChooserWidget { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"location-toggle-popup\0".as_ptr() as *const _, + c"location-toggle-popup".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( location_toggle_popup_trampoline::<F> as *const (), )), @@ -243,7 +243,7 @@ impl FileChooserWidget { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"places-shortcut\0".as_ptr() as *const _, + c"places-shortcut".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( places_shortcut_trampoline::<F> as *const (), )), @@ -270,7 +270,7 @@ impl FileChooserWidget { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"quick-bookmark\0".as_ptr() as *const _, + c"quick-bookmark".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( quick_bookmark_trampoline::<F> as *const (), )), @@ -296,7 +296,7 @@ impl FileChooserWidget { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"recent-shortcut\0".as_ptr() as *const _, + c"recent-shortcut".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( recent_shortcut_trampoline::<F> as *const (), )), @@ -322,7 +322,7 @@ impl FileChooserWidget { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"search-shortcut\0".as_ptr() as *const _, + c"search-shortcut".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( search_shortcut_trampoline::<F> as *const (), )), @@ -348,7 +348,7 @@ impl FileChooserWidget { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"show-hidden\0".as_ptr() as *const _, + c"show-hidden".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( show_hidden_trampoline::<F> as *const (), )), @@ -374,7 +374,7 @@ impl FileChooserWidget { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"up-folder\0".as_ptr() as *const _, + c"up-folder".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( up_folder_trampoline::<F> as *const (), )), @@ -401,7 +401,7 @@ impl FileChooserWidget { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::search-mode\0".as_ptr() as *const _, + c"notify::search-mode".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_search_mode_trampoline::<F> as *const (), )), @@ -426,7 +426,7 @@ impl FileChooserWidget { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-time\0".as_ptr() as *const _, + c"notify::show-time".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_time_trampoline::<F> as *const (), )), @@ -449,7 +449,7 @@ impl FileChooserWidget { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::subtitle\0".as_ptr() as *const _, + c"notify::subtitle".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_subtitle_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/file_dialog.rs b/gtk4/src/auto/file_dialog.rs index 644e88fb25fd..df5264a06265 100644 --- a/gtk4/src/auto/file_dialog.rs +++ b/gtk4/src/auto/file_dialog.rs @@ -532,7 +532,7 @@ impl FileDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::accept-label\0".as_ptr() as *const _, + c"notify::accept-label".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_accept_label_trampoline::<F> as *const (), )), @@ -557,7 +557,7 @@ impl FileDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::default-filter\0".as_ptr() as *const _, + c"notify::default-filter".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_default_filter_trampoline::<F> as *const (), )), @@ -582,7 +582,7 @@ impl FileDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::filters\0".as_ptr() as *const _, + c"notify::filters".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_filters_trampoline::<F> as *const (), )), @@ -607,7 +607,7 @@ impl FileDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::initial-file\0".as_ptr() as *const _, + c"notify::initial-file".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_initial_file_trampoline::<F> as *const (), )), @@ -632,7 +632,7 @@ impl FileDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::initial-folder\0".as_ptr() as *const _, + c"notify::initial-folder".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_initial_folder_trampoline::<F> as *const (), )), @@ -657,7 +657,7 @@ impl FileDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::initial-name\0".as_ptr() as *const _, + c"notify::initial-name".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_initial_name_trampoline::<F> as *const (), )), @@ -682,7 +682,7 @@ impl FileDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::modal\0".as_ptr() as *const _, + c"notify::modal".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_modal_trampoline::<F> as *const (), )), @@ -707,7 +707,7 @@ impl FileDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::title\0".as_ptr() as *const _, + c"notify::title".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_title_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/file_filter.rs b/gtk4/src/auto/file_filter.rs index f82e45efaef8..a628797e201d 100644 --- a/gtk4/src/auto/file_filter.rs +++ b/gtk4/src/auto/file_filter.rs @@ -110,7 +110,7 @@ impl FileFilter { let f: Box_<F> = 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::<F> as *const (), )), diff --git a/gtk4/src/auto/file_launcher.rs b/gtk4/src/auto/file_launcher.rs index 826324709d6c..f05d99f5d4dd 100644 --- a/gtk4/src/auto/file_launcher.rs +++ b/gtk4/src/auto/file_launcher.rs @@ -235,7 +235,7 @@ impl FileLauncher { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::always-ask\0".as_ptr() as *const _, + c"notify::always-ask".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_always_ask_trampoline::<F> as *const (), )), @@ -260,7 +260,7 @@ impl FileLauncher { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::file\0".as_ptr() as *const _, + c"notify::file".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_file_trampoline::<F> as *const (), )), @@ -285,7 +285,7 @@ impl FileLauncher { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::writable\0".as_ptr() as *const _, + c"notify::writable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_writable_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/filter.rs b/gtk4/src/auto/filter.rs index f942d35713fb..fa3ddf0bdd88 100644 --- a/gtk4/src/auto/filter.rs +++ b/gtk4/src/auto/filter.rs @@ -72,7 +72,7 @@ pub trait FilterExt: IsA<Filter> + 'static { let f: Box_<F> = 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::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/filter_list_model.rs b/gtk4/src/auto/filter_list_model.rs index 1c99888971e2..21c7d7257dde 100644 --- a/gtk4/src/auto/filter_list_model.rs +++ b/gtk4/src/auto/filter_list_model.rs @@ -133,7 +133,7 @@ impl FilterListModel { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::filter\0".as_ptr() as *const _, + c"notify::filter".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_filter_trampoline::<F> as *const (), )), @@ -156,7 +156,7 @@ impl FilterListModel { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::incremental\0".as_ptr() as *const _, + c"notify::incremental".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_incremental_trampoline::<F> as *const (), )), @@ -179,7 +179,7 @@ impl FilterListModel { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::model\0".as_ptr() as *const _, + c"notify::model".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_model_trampoline::<F> as *const (), )), @@ -202,7 +202,7 @@ impl FilterListModel { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::pending\0".as_ptr() as *const _, + c"notify::pending".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_pending_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/fixed_layout_child.rs b/gtk4/src/auto/fixed_layout_child.rs index 6ca837c1c238..a8919d508b4c 100644 --- a/gtk4/src/auto/fixed_layout_child.rs +++ b/gtk4/src/auto/fixed_layout_child.rs @@ -55,7 +55,7 @@ impl FixedLayoutChild { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::transform\0".as_ptr() as *const _, + c"notify::transform".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_transform_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/flatten_list_model.rs b/gtk4/src/auto/flatten_list_model.rs index eb2a60333cac..4f57c2fc11e9 100644 --- a/gtk4/src/auto/flatten_list_model.rs +++ b/gtk4/src/auto/flatten_list_model.rs @@ -87,7 +87,7 @@ impl FlattenListModel { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::model\0".as_ptr() as *const _, + c"notify::model".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_model_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/flow_box.rs b/gtk4/src/auto/flow_box.rs index d3d46e052005..d67ea6b9e0f8 100644 --- a/gtk4/src/auto/flow_box.rs +++ b/gtk4/src/auto/flow_box.rs @@ -402,7 +402,7 @@ impl FlowBox { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"activate-cursor-child\0".as_ptr() as *const _, + c"activate-cursor-child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( activate_cursor_child_trampoline::<F> as *const (), )), @@ -434,7 +434,7 @@ impl FlowBox { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"child-activated\0".as_ptr() as *const _, + c"child-activated".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( child_activated_trampoline::<F> as *const (), )), @@ -472,7 +472,7 @@ impl FlowBox { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"move-cursor\0".as_ptr() as *const _, + c"move-cursor".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( move_cursor_trampoline::<F> as *const (), )), @@ -504,7 +504,7 @@ impl FlowBox { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"select-all\0".as_ptr() as *const _, + c"select-all".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( select_all_trampoline::<F> as *const (), )), @@ -533,7 +533,7 @@ impl FlowBox { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"selected-children-changed\0".as_ptr() as *const _, + c"selected-children-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( selected_children_changed_trampoline::<F> as *const (), )), @@ -555,7 +555,7 @@ impl FlowBox { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"toggle-cursor-child\0".as_ptr() as *const _, + c"toggle-cursor-child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( toggle_cursor_child_trampoline::<F> as *const (), )), @@ -581,7 +581,7 @@ impl FlowBox { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"unselect-all\0".as_ptr() as *const _, + c"unselect-all".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( unselect_all_trampoline::<F> as *const (), )), @@ -613,7 +613,7 @@ impl FlowBox { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::accept-unpaired-release\0".as_ptr() as *const _, + c"notify::accept-unpaired-release".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_accept_unpaired_release_trampoline::<F> as *const (), )), @@ -641,7 +641,7 @@ impl FlowBox { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::activate-on-single-click\0".as_ptr() as *const _, + c"notify::activate-on-single-click".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_activate_on_single_click_trampoline::<F> as *const (), )), @@ -664,7 +664,7 @@ impl FlowBox { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::column-spacing\0".as_ptr() as *const _, + c"notify::column-spacing".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_column_spacing_trampoline::<F> as *const (), )), @@ -687,7 +687,7 @@ impl FlowBox { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::homogeneous\0".as_ptr() as *const _, + c"notify::homogeneous".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_homogeneous_trampoline::<F> as *const (), )), @@ -713,7 +713,7 @@ impl FlowBox { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::max-children-per-line\0".as_ptr() as *const _, + c"notify::max-children-per-line".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_max_children_per_line_trampoline::<F> as *const (), )), @@ -739,7 +739,7 @@ impl FlowBox { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::min-children-per-line\0".as_ptr() as *const _, + c"notify::min-children-per-line".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_min_children_per_line_trampoline::<F> as *const (), )), @@ -762,7 +762,7 @@ impl FlowBox { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::row-spacing\0".as_ptr() as *const _, + c"notify::row-spacing".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_row_spacing_trampoline::<F> as *const (), )), @@ -785,7 +785,7 @@ impl FlowBox { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::selection-mode\0".as_ptr() as *const _, + c"notify::selection-mode".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_selection_mode_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/flow_box_child.rs b/gtk4/src/auto/flow_box_child.rs index 00254447d3c7..d6910dd35765 100644 --- a/gtk4/src/auto/flow_box_child.rs +++ b/gtk4/src/auto/flow_box_child.rs @@ -318,7 +318,7 @@ pub trait FlowBoxChildExt: IsA<FlowBoxChild> + 'static { let f: Box_<F> = 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::<Self, F> as *const (), )), @@ -345,7 +345,7 @@ pub trait FlowBoxChildExt: IsA<FlowBoxChild> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::child\0".as_ptr() as *const _, + c"notify::child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_child_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/font_button.rs b/gtk4/src/auto/font_button.rs index d9e15d4c57f4..dc2b16737473 100644 --- a/gtk4/src/auto/font_button.rs +++ b/gtk4/src/auto/font_button.rs @@ -144,7 +144,7 @@ impl FontButton { let f: Box_<F> = 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::<F> as *const (), )), @@ -172,7 +172,7 @@ impl FontButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"font-set\0".as_ptr() as *const _, + c"font-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( font_set_trampoline::<F> as *const (), )), @@ -195,7 +195,7 @@ impl FontButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::modal\0".as_ptr() as *const _, + c"notify::modal".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_modal_trampoline::<F> as *const (), )), @@ -218,7 +218,7 @@ impl FontButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::title\0".as_ptr() as *const _, + c"notify::title".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_title_trampoline::<F> as *const (), )), @@ -241,7 +241,7 @@ impl FontButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::use-font\0".as_ptr() as *const _, + c"notify::use-font".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_use_font_trampoline::<F> as *const (), )), @@ -264,7 +264,7 @@ impl FontButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::use-size\0".as_ptr() as *const _, + c"notify::use-size".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_use_size_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/font_chooser.rs b/gtk4/src/auto/font_chooser.rs index 2ec48f0bca44..1e1943675180 100644 --- a/gtk4/src/auto/font_chooser.rs +++ b/gtk4/src/auto/font_chooser.rs @@ -305,7 +305,7 @@ pub trait FontChooserExt: IsA<FontChooser> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"font-activated\0".as_ptr() as *const _, + c"font-activated".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( font_activated_trampoline::<Self, F> as *const (), )), @@ -329,7 +329,7 @@ pub trait FontChooserExt: IsA<FontChooser> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::font\0".as_ptr() as *const _, + c"notify::font".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_font_trampoline::<Self, F> as *const (), )), @@ -356,7 +356,7 @@ pub trait FontChooserExt: IsA<FontChooser> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::font-desc\0".as_ptr() as *const _, + c"notify::font-desc".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_font_desc_trampoline::<Self, F> as *const (), )), @@ -383,7 +383,7 @@ pub trait FontChooserExt: IsA<FontChooser> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::font-features\0".as_ptr() as *const _, + c"notify::font-features".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_font_features_trampoline::<Self, F> as *const (), )), @@ -410,7 +410,7 @@ pub trait FontChooserExt: IsA<FontChooser> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::language\0".as_ptr() as *const _, + c"notify::language".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_language_trampoline::<Self, F> as *const (), )), @@ -434,7 +434,7 @@ pub trait FontChooserExt: IsA<FontChooser> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::level\0".as_ptr() as *const _, + c"notify::level".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_level_trampoline::<Self, F> as *const (), )), @@ -461,7 +461,7 @@ pub trait FontChooserExt: IsA<FontChooser> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::preview-text\0".as_ptr() as *const _, + c"notify::preview-text".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_preview_text_trampoline::<Self, F> as *const (), )), @@ -488,7 +488,7 @@ pub trait FontChooserExt: IsA<FontChooser> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-preview-entry\0".as_ptr() as *const _, + c"notify::show-preview-entry".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_preview_entry_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/font_chooser_widget.rs b/gtk4/src/auto/font_chooser_widget.rs index b3676506a355..fe4ea2671fca 100644 --- a/gtk4/src/auto/font_chooser_widget.rs +++ b/gtk4/src/auto/font_chooser_widget.rs @@ -59,7 +59,7 @@ impl FontChooserWidget { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::tweak-action\0".as_ptr() as *const _, + c"notify::tweak-action".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_tweak_action_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/font_dialog.rs b/gtk4/src/auto/font_dialog.rs index 2b24e8cf1ab8..6b5b71eb488a 100644 --- a/gtk4/src/auto/font_dialog.rs +++ b/gtk4/src/auto/font_dialog.rs @@ -356,7 +356,7 @@ impl FontDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::filter\0".as_ptr() as *const _, + c"notify::filter".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_filter_trampoline::<F> as *const (), )), @@ -381,7 +381,7 @@ impl FontDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::font-map\0".as_ptr() as *const _, + c"notify::font-map".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_font_map_trampoline::<F> as *const (), )), @@ -406,7 +406,7 @@ impl FontDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::language\0".as_ptr() as *const _, + c"notify::language".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_language_trampoline::<F> as *const (), )), @@ -431,7 +431,7 @@ impl FontDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::modal\0".as_ptr() as *const _, + c"notify::modal".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_modal_trampoline::<F> as *const (), )), @@ -456,7 +456,7 @@ impl FontDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::title\0".as_ptr() as *const _, + c"notify::title".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_title_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/font_dialog_button.rs b/gtk4/src/auto/font_dialog_button.rs index 3f2fab378661..3fac15e54ccf 100644 --- a/gtk4/src/auto/font_dialog_button.rs +++ b/gtk4/src/auto/font_dialog_button.rs @@ -230,7 +230,7 @@ impl FontDialogButton { let f: Box_<F> = 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::<F> as *const (), )), @@ -261,7 +261,7 @@ impl FontDialogButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::dialog\0".as_ptr() as *const _, + c"notify::dialog".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_dialog_trampoline::<F> as *const (), )), @@ -286,7 +286,7 @@ impl FontDialogButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::font-desc\0".as_ptr() as *const _, + c"notify::font-desc".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_font_desc_trampoline::<F> as *const (), )), @@ -311,7 +311,7 @@ impl FontDialogButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::font-features\0".as_ptr() as *const _, + c"notify::font-features".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_font_features_trampoline::<F> as *const (), )), @@ -336,7 +336,7 @@ impl FontDialogButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::language\0".as_ptr() as *const _, + c"notify::language".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_language_trampoline::<F> as *const (), )), @@ -359,7 +359,7 @@ impl FontDialogButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::level\0".as_ptr() as *const _, + c"notify::level".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_level_trampoline::<F> as *const (), )), @@ -382,7 +382,7 @@ impl FontDialogButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::use-font\0".as_ptr() as *const _, + c"notify::use-font".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_use_font_trampoline::<F> as *const (), )), @@ -405,7 +405,7 @@ impl FontDialogButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::use-size\0".as_ptr() as *const _, + c"notify::use-size".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_use_size_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/frame.rs b/gtk4/src/auto/frame.rs index 194fdc61cc1e..41ffe181498b 100644 --- a/gtk4/src/auto/frame.rs +++ b/gtk4/src/auto/frame.rs @@ -364,7 +364,7 @@ pub trait FrameExt: IsA<Frame> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::child\0".as_ptr() as *const _, + c"notify::child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_child_trampoline::<Self, F> as *const (), )), @@ -387,7 +387,7 @@ pub trait FrameExt: IsA<Frame> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::label\0".as_ptr() as *const _, + c"notify::label".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_label_trampoline::<Self, F> as *const (), )), @@ -410,7 +410,7 @@ pub trait FrameExt: IsA<Frame> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::label-widget\0".as_ptr() as *const _, + c"notify::label-widget".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_label_widget_trampoline::<Self, F> as *const (), )), @@ -433,7 +433,7 @@ pub trait FrameExt: IsA<Frame> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::label-xalign\0".as_ptr() as *const _, + c"notify::label-xalign".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_label_xalign_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/functions.rs b/gtk4/src/auto/functions.rs index a44aac8acd0e..86aa7f297f87 100644 --- a/gtk4/src/auto/functions.rs +++ b/gtk4/src/auto/functions.rs @@ -35,6 +35,16 @@ pub fn check_version( } } +#[cfg(feature = "v4_18")] +#[cfg_attr(docsrs, doc(cfg(feature = "v4_18")))] +#[doc(alias = "gtk_disable_portals")] +pub fn disable_portals() { + assert_initialized_main_thread!(); + unsafe { + ffi::gtk_disable_portals(); + } +} + #[doc(alias = "gtk_disable_setlocale")] pub fn disable_setlocale() { assert_not_initialized!(); diff --git a/gtk4/src/auto/gesture.rs b/gtk4/src/auto/gesture.rs index 061d51cf4d71..df1e29a787ed 100644 --- a/gtk4/src/auto/gesture.rs +++ b/gtk4/src/auto/gesture.rs @@ -244,7 +244,7 @@ pub trait GestureExt: IsA<Gesture> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"begin\0".as_ptr() as *const _, + c"begin".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( begin_trampoline::<Self, F> as *const (), )), @@ -278,7 +278,7 @@ pub trait GestureExt: IsA<Gesture> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"cancel\0".as_ptr() as *const _, + c"cancel".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( cancel_trampoline::<Self, F> as *const (), )), @@ -312,7 +312,7 @@ pub trait GestureExt: IsA<Gesture> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"end\0".as_ptr() as *const _, + c"end".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( end_trampoline::<Self, F> as *const (), )), @@ -350,7 +350,7 @@ pub trait GestureExt: IsA<Gesture> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"sequence-state-changed\0".as_ptr() as *const _, + c"sequence-state-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( sequence_state_changed_trampoline::<Self, F> as *const (), )), @@ -384,7 +384,7 @@ pub trait GestureExt: IsA<Gesture> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"update\0".as_ptr() as *const _, + c"update".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( update_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/gesture_click.rs b/gtk4/src/auto/gesture_click.rs index 58aa2367b276..22bb833360ff 100644 --- a/gtk4/src/auto/gesture_click.rs +++ b/gtk4/src/auto/gesture_click.rs @@ -50,7 +50,7 @@ impl GestureClick { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"pressed\0".as_ptr() as *const _, + c"pressed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( pressed_trampoline::<F> as *const (), )), @@ -75,7 +75,7 @@ impl GestureClick { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"released\0".as_ptr() as *const _, + c"released".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( released_trampoline::<F> as *const (), )), @@ -97,7 +97,7 @@ impl GestureClick { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"stopped\0".as_ptr() as *const _, + c"stopped".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( stopped_trampoline::<F> as *const (), )), @@ -138,7 +138,7 @@ impl GestureClick { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"unpaired-release\0".as_ptr() as *const _, + c"unpaired-release".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( unpaired_release_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/gesture_drag.rs b/gtk4/src/auto/gesture_drag.rs index a7cb943d1c4a..4008fc8da004 100644 --- a/gtk4/src/auto/gesture_drag.rs +++ b/gtk4/src/auto/gesture_drag.rs @@ -175,7 +175,7 @@ pub trait GestureDragExt: IsA<GestureDrag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"drag-begin\0".as_ptr() as *const _, + c"drag-begin".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( drag_begin_trampoline::<Self, F> as *const (), )), @@ -206,7 +206,7 @@ pub trait GestureDragExt: IsA<GestureDrag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"drag-end\0".as_ptr() as *const _, + c"drag-end".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( drag_end_trampoline::<Self, F> as *const (), )), @@ -237,7 +237,7 @@ pub trait GestureDragExt: IsA<GestureDrag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"drag-update\0".as_ptr() as *const _, + c"drag-update".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( drag_update_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/gesture_long_press.rs b/gtk4/src/auto/gesture_long_press.rs index db998b55a93a..dcb5e4bff8d5 100644 --- a/gtk4/src/auto/gesture_long_press.rs +++ b/gtk4/src/auto/gesture_long_press.rs @@ -62,7 +62,7 @@ impl GestureLongPress { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"cancelled\0".as_ptr() as *const _, + c"cancelled".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( cancelled_trampoline::<F> as *const (), )), @@ -86,7 +86,7 @@ impl GestureLongPress { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"pressed\0".as_ptr() as *const _, + c"pressed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( pressed_trampoline::<F> as *const (), )), @@ -109,7 +109,7 @@ impl GestureLongPress { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::delay-factor\0".as_ptr() as *const _, + c"notify::delay-factor".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_delay_factor_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/gesture_pan.rs b/gtk4/src/auto/gesture_pan.rs index 144afa97a631..f4f18c0a1d2e 100644 --- a/gtk4/src/auto/gesture_pan.rs +++ b/gtk4/src/auto/gesture_pan.rs @@ -68,7 +68,7 @@ impl GesturePan { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"pan\0".as_ptr() as *const _, + c"pan".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( pan_trampoline::<F> as *const (), )), @@ -91,7 +91,7 @@ impl GesturePan { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::orientation\0".as_ptr() as *const _, + c"notify::orientation".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_orientation_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/gesture_rotate.rs b/gtk4/src/auto/gesture_rotate.rs index 52d77a62e064..508d7f3b6cf5 100644 --- a/gtk4/src/auto/gesture_rotate.rs +++ b/gtk4/src/auto/gesture_rotate.rs @@ -55,7 +55,7 @@ impl GestureRotate { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"angle-changed\0".as_ptr() as *const _, + c"angle-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( angle_changed_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/gesture_single.rs b/gtk4/src/auto/gesture_single.rs index 48ed8fb84a1f..7a8326bc6f54 100644 --- a/gtk4/src/auto/gesture_single.rs +++ b/gtk4/src/auto/gesture_single.rs @@ -115,7 +115,7 @@ pub trait GestureSingleExt: IsA<GestureSingle> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::button\0".as_ptr() as *const _, + c"notify::button".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_button_trampoline::<Self, F> as *const (), )), @@ -141,7 +141,7 @@ pub trait GestureSingleExt: IsA<GestureSingle> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::exclusive\0".as_ptr() as *const _, + c"notify::exclusive".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_exclusive_trampoline::<Self, F> as *const (), )), @@ -167,7 +167,7 @@ pub trait GestureSingleExt: IsA<GestureSingle> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::touch-only\0".as_ptr() as *const _, + c"notify::touch-only".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_touch_only_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/gesture_stylus.rs b/gtk4/src/auto/gesture_stylus.rs index b00822d0b13e..b3e8bc18448e 100644 --- a/gtk4/src/auto/gesture_stylus.rs +++ b/gtk4/src/auto/gesture_stylus.rs @@ -122,7 +122,7 @@ impl GestureStylus { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"down\0".as_ptr() as *const _, + c"down".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( down_trampoline::<F> as *const (), )), @@ -146,7 +146,7 @@ impl GestureStylus { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"motion\0".as_ptr() as *const _, + c"motion".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( motion_trampoline::<F> as *const (), )), @@ -170,7 +170,7 @@ impl GestureStylus { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"proximity\0".as_ptr() as *const _, + c"proximity".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( proximity_trampoline::<F> as *const (), )), @@ -194,7 +194,7 @@ impl GestureStylus { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"up\0".as_ptr() as *const _, + c"up".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( up_trampoline::<F> as *const (), )), @@ -219,7 +219,7 @@ impl GestureStylus { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::stylus-only\0".as_ptr() as *const _, + c"notify::stylus-only".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_stylus_only_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/gesture_swipe.rs b/gtk4/src/auto/gesture_swipe.rs index 8842a5faa5a0..438663f0ce50 100644 --- a/gtk4/src/auto/gesture_swipe.rs +++ b/gtk4/src/auto/gesture_swipe.rs @@ -68,7 +68,7 @@ impl GestureSwipe { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"swipe\0".as_ptr() as *const _, + c"swipe".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( swipe_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/gesture_zoom.rs b/gtk4/src/auto/gesture_zoom.rs index a74396ff87c4..c3e1f26b43ef 100644 --- a/gtk4/src/auto/gesture_zoom.rs +++ b/gtk4/src/auto/gesture_zoom.rs @@ -54,7 +54,7 @@ impl GestureZoom { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"scale-changed\0".as_ptr() as *const _, + c"scale-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( scale_changed_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/gl_area.rs b/gtk4/src/auto/gl_area.rs index 8c3043bccc7b..4e79653623ef 100644 --- a/gtk4/src/auto/gl_area.rs +++ b/gtk4/src/auto/gl_area.rs @@ -489,7 +489,7 @@ pub trait GLAreaExt: IsA<GLArea> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"create-context\0".as_ptr() as *const _, + c"create-context".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( create_context_trampoline::<Self, F> as *const (), )), @@ -522,7 +522,7 @@ pub trait GLAreaExt: IsA<GLArea> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"render\0".as_ptr() as *const _, + c"render".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( render_trampoline::<Self, F> as *const (), )), @@ -550,7 +550,7 @@ pub trait GLAreaExt: IsA<GLArea> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"resize\0".as_ptr() as *const _, + c"resize".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( resize_trampoline::<Self, F> as *const (), )), @@ -575,7 +575,7 @@ pub trait GLAreaExt: IsA<GLArea> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::allowed-apis\0".as_ptr() as *const _, + c"notify::allowed-apis".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_allowed_apis_trampoline::<Self, F> as *const (), )), @@ -600,7 +600,7 @@ pub trait GLAreaExt: IsA<GLArea> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::api\0".as_ptr() as *const _, + c"notify::api".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_api_trampoline::<Self, F> as *const (), )), @@ -623,7 +623,7 @@ pub trait GLAreaExt: IsA<GLArea> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::auto-render\0".as_ptr() as *const _, + c"notify::auto-render".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_auto_render_trampoline::<Self, F> as *const (), )), @@ -646,7 +646,7 @@ pub trait GLAreaExt: IsA<GLArea> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::context\0".as_ptr() as *const _, + c"notify::context".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_context_trampoline::<Self, F> as *const (), )), @@ -672,7 +672,7 @@ pub trait GLAreaExt: IsA<GLArea> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::has-depth-buffer\0".as_ptr() as *const _, + c"notify::has-depth-buffer".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_has_depth_buffer_trampoline::<Self, F> as *const (), )), @@ -698,7 +698,7 @@ pub trait GLAreaExt: IsA<GLArea> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::has-stencil-buffer\0".as_ptr() as *const _, + c"notify::has-stencil-buffer".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_has_stencil_buffer_trampoline::<Self, F> as *const (), )), @@ -722,7 +722,7 @@ pub trait GLAreaExt: IsA<GLArea> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::use-es\0".as_ptr() as *const _, + c"notify::use-es".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_use_es_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/graphics_offload.rs b/gtk4/src/auto/graphics_offload.rs index a12ceaf8dea2..75ed4111cbb2 100644 --- a/gtk4/src/auto/graphics_offload.rs +++ b/gtk4/src/auto/graphics_offload.rs @@ -117,7 +117,7 @@ impl GraphicsOffload { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::black-background\0".as_ptr() as *const _, + c"notify::black-background".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_black_background_trampoline::<F> as *const (), )), @@ -142,7 +142,7 @@ impl GraphicsOffload { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::child\0".as_ptr() as *const _, + c"notify::child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_child_trampoline::<F> as *const (), )), @@ -167,7 +167,7 @@ impl GraphicsOffload { let f: Box_<F> = 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::<F> as *const (), )), diff --git a/gtk4/src/auto/grid.rs b/gtk4/src/auto/grid.rs index 80da49d04b3b..031090d7b479 100644 --- a/gtk4/src/auto/grid.rs +++ b/gtk4/src/auto/grid.rs @@ -539,7 +539,7 @@ pub trait GridExt: IsA<Grid> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::baseline-row\0".as_ptr() as *const _, + c"notify::baseline-row".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_baseline_row_trampoline::<Self, F> as *const (), )), @@ -565,7 +565,7 @@ pub trait GridExt: IsA<Grid> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::column-homogeneous\0".as_ptr() as *const _, + c"notify::column-homogeneous".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_column_homogeneous_trampoline::<Self, F> as *const (), )), @@ -588,7 +588,7 @@ pub trait GridExt: IsA<Grid> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::column-spacing\0".as_ptr() as *const _, + c"notify::column-spacing".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_column_spacing_trampoline::<Self, F> as *const (), )), @@ -614,7 +614,7 @@ pub trait GridExt: IsA<Grid> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::row-homogeneous\0".as_ptr() as *const _, + c"notify::row-homogeneous".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_row_homogeneous_trampoline::<Self, F> as *const (), )), @@ -637,7 +637,7 @@ pub trait GridExt: IsA<Grid> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::row-spacing\0".as_ptr() as *const _, + c"notify::row-spacing".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_row_spacing_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/grid_layout.rs b/gtk4/src/auto/grid_layout.rs index d056b70c1729..56082120d6d5 100644 --- a/gtk4/src/auto/grid_layout.rs +++ b/gtk4/src/auto/grid_layout.rs @@ -159,7 +159,7 @@ impl GridLayout { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::baseline-row\0".as_ptr() as *const _, + c"notify::baseline-row".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_baseline_row_trampoline::<F> as *const (), )), @@ -185,7 +185,7 @@ impl GridLayout { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::column-homogeneous\0".as_ptr() as *const _, + c"notify::column-homogeneous".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_column_homogeneous_trampoline::<F> as *const (), )), @@ -208,7 +208,7 @@ impl GridLayout { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::column-spacing\0".as_ptr() as *const _, + c"notify::column-spacing".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_column_spacing_trampoline::<F> as *const (), )), @@ -231,7 +231,7 @@ impl GridLayout { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::row-homogeneous\0".as_ptr() as *const _, + c"notify::row-homogeneous".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_row_homogeneous_trampoline::<F> as *const (), )), @@ -254,7 +254,7 @@ impl GridLayout { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::row-spacing\0".as_ptr() as *const _, + c"notify::row-spacing".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_row_spacing_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/grid_layout_child.rs b/gtk4/src/auto/grid_layout_child.rs index 83b1ec4e0bfe..786f56704538 100644 --- a/gtk4/src/auto/grid_layout_child.rs +++ b/gtk4/src/auto/grid_layout_child.rs @@ -92,7 +92,7 @@ impl GridLayoutChild { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::column\0".as_ptr() as *const _, + c"notify::column".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_column_trampoline::<F> as *const (), )), @@ -115,7 +115,7 @@ impl GridLayoutChild { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::column-span\0".as_ptr() as *const _, + c"notify::column-span".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_column_span_trampoline::<F> as *const (), )), @@ -138,7 +138,7 @@ impl GridLayoutChild { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::row\0".as_ptr() as *const _, + c"notify::row".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_row_trampoline::<F> as *const (), )), @@ -161,7 +161,7 @@ impl GridLayoutChild { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::row-span\0".as_ptr() as *const _, + c"notify::row-span".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_row_span_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/grid_view.rs b/gtk4/src/auto/grid_view.rs index 9dc3cce36d67..19cfaceb2665 100644 --- a/gtk4/src/auto/grid_view.rs +++ b/gtk4/src/auto/grid_view.rs @@ -205,7 +205,7 @@ impl GridView { let f: Box_<F> = 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::<F> as *const (), )), @@ -231,7 +231,7 @@ impl GridView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::enable-rubberband\0".as_ptr() as *const _, + c"notify::enable-rubberband".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_enable_rubberband_trampoline::<F> as *const (), )), @@ -254,7 +254,7 @@ impl GridView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::factory\0".as_ptr() as *const _, + c"notify::factory".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_factory_trampoline::<F> as *const (), )), @@ -277,7 +277,7 @@ impl GridView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::max-columns\0".as_ptr() as *const _, + c"notify::max-columns".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_max_columns_trampoline::<F> as *const (), )), @@ -300,7 +300,7 @@ impl GridView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::min-columns\0".as_ptr() as *const _, + c"notify::min-columns".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_min_columns_trampoline::<F> as *const (), )), @@ -323,7 +323,7 @@ impl GridView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::model\0".as_ptr() as *const _, + c"notify::model".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_model_trampoline::<F> as *const (), )), @@ -349,7 +349,7 @@ impl GridView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::single-click-activate\0".as_ptr() as *const _, + c"notify::single-click-activate".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_single_click_activate_trampoline::<F> as *const (), )), @@ -374,7 +374,7 @@ impl GridView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::tab-behavior\0".as_ptr() as *const _, + c"notify::tab-behavior".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_tab_behavior_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/header_bar.rs b/gtk4/src/auto/header_bar.rs index 1e7c217cdff0..dbf9655d8004 100644 --- a/gtk4/src/auto/header_bar.rs +++ b/gtk4/src/auto/header_bar.rs @@ -134,7 +134,7 @@ impl HeaderBar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::decoration-layout\0".as_ptr() as *const _, + c"notify::decoration-layout".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_decoration_layout_trampoline::<F> as *const (), )), @@ -160,7 +160,7 @@ impl HeaderBar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-title-buttons\0".as_ptr() as *const _, + c"notify::show-title-buttons".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_title_buttons_trampoline::<F> as *const (), )), @@ -183,7 +183,7 @@ impl HeaderBar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::title-widget\0".as_ptr() as *const _, + c"notify::title-widget".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_title_widget_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/icon_theme.rs b/gtk4/src/auto/icon_theme.rs index c2107da5a19e..16d135df94c6 100644 --- a/gtk4/src/auto/icon_theme.rs +++ b/gtk4/src/auto/icon_theme.rs @@ -215,7 +215,7 @@ impl IconTheme { let f: Box_<F> = 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::<F> as *const (), )), @@ -238,7 +238,7 @@ impl IconTheme { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::display\0".as_ptr() as *const _, + c"notify::display".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_display_trampoline::<F> as *const (), )), @@ -261,7 +261,7 @@ impl IconTheme { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::icon-names\0".as_ptr() as *const _, + c"notify::icon-names".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_icon_names_trampoline::<F> as *const (), )), @@ -284,7 +284,7 @@ impl IconTheme { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::resource-path\0".as_ptr() as *const _, + c"notify::resource-path".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_resource_path_trampoline::<F> as *const (), )), @@ -307,7 +307,7 @@ impl IconTheme { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::search-path\0".as_ptr() as *const _, + c"notify::search-path".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_search_path_trampoline::<F> as *const (), )), @@ -330,7 +330,7 @@ impl IconTheme { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::theme-name\0".as_ptr() as *const _, + c"notify::theme-name".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_theme_name_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/icon_view.rs b/gtk4/src/auto/icon_view.rs index aac3480fb53f..baa1c8c077d3 100644 --- a/gtk4/src/auto/icon_view.rs +++ b/gtk4/src/auto/icon_view.rs @@ -855,7 +855,7 @@ impl IconView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"activate-cursor-item\0".as_ptr() as *const _, + c"activate-cursor-item".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( activate_cursor_item_trampoline::<F> as *const (), )), @@ -885,7 +885,7 @@ impl IconView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"item-activated\0".as_ptr() as *const _, + c"item-activated".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( item_activated_trampoline::<F> as *const (), )), @@ -923,7 +923,7 @@ impl IconView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"move-cursor\0".as_ptr() as *const _, + c"move-cursor".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( move_cursor_trampoline::<F> as *const (), )), @@ -955,7 +955,7 @@ impl IconView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"select-all\0".as_ptr() as *const _, + c"select-all".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( select_all_trampoline::<F> as *const (), )), @@ -981,7 +981,7 @@ impl IconView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"select-cursor-item\0".as_ptr() as *const _, + c"select-cursor-item".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( select_cursor_item_trampoline::<F> as *const (), )), @@ -1007,7 +1007,7 @@ impl IconView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"selection-changed\0".as_ptr() as *const _, + c"selection-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( selection_changed_trampoline::<F> as *const (), )), @@ -1029,7 +1029,7 @@ impl IconView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"toggle-cursor-item\0".as_ptr() as *const _, + c"toggle-cursor-item".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( toggle_cursor_item_trampoline::<F> as *const (), )), @@ -1055,7 +1055,7 @@ impl IconView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"unselect-all\0".as_ptr() as *const _, + c"unselect-all".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( unselect_all_trampoline::<F> as *const (), )), @@ -1087,7 +1087,7 @@ impl IconView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::activate-on-single-click\0".as_ptr() as *const _, + c"notify::activate-on-single-click".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_activate_on_single_click_trampoline::<F> as *const (), )), @@ -1110,7 +1110,7 @@ impl IconView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::column-spacing\0".as_ptr() as *const _, + c"notify::column-spacing".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_column_spacing_trampoline::<F> as *const (), )), @@ -1133,7 +1133,7 @@ impl IconView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::columns\0".as_ptr() as *const _, + c"notify::columns".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_columns_trampoline::<F> as *const (), )), @@ -1156,7 +1156,7 @@ impl IconView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::item-orientation\0".as_ptr() as *const _, + c"notify::item-orientation".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_item_orientation_trampoline::<F> as *const (), )), @@ -1179,7 +1179,7 @@ impl IconView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::item-padding\0".as_ptr() as *const _, + c"notify::item-padding".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_item_padding_trampoline::<F> as *const (), )), @@ -1202,7 +1202,7 @@ impl IconView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::item-width\0".as_ptr() as *const _, + c"notify::item-width".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_item_width_trampoline::<F> as *const (), )), @@ -1225,7 +1225,7 @@ impl IconView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::margin\0".as_ptr() as *const _, + c"notify::margin".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_margin_trampoline::<F> as *const (), )), @@ -1248,7 +1248,7 @@ impl IconView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::markup-column\0".as_ptr() as *const _, + c"notify::markup-column".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_markup_column_trampoline::<F> as *const (), )), @@ -1271,7 +1271,7 @@ impl IconView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::model\0".as_ptr() as *const _, + c"notify::model".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_model_trampoline::<F> as *const (), )), @@ -1294,7 +1294,7 @@ impl IconView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::pixbuf-column\0".as_ptr() as *const _, + c"notify::pixbuf-column".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_pixbuf_column_trampoline::<F> as *const (), )), @@ -1317,7 +1317,7 @@ impl IconView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::reorderable\0".as_ptr() as *const _, + c"notify::reorderable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_reorderable_trampoline::<F> as *const (), )), @@ -1340,7 +1340,7 @@ impl IconView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::row-spacing\0".as_ptr() as *const _, + c"notify::row-spacing".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_row_spacing_trampoline::<F> as *const (), )), @@ -1363,7 +1363,7 @@ impl IconView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::selection-mode\0".as_ptr() as *const _, + c"notify::selection-mode".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_selection_mode_trampoline::<F> as *const (), )), @@ -1386,7 +1386,7 @@ impl IconView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::spacing\0".as_ptr() as *const _, + c"notify::spacing".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_spacing_trampoline::<F> as *const (), )), @@ -1409,7 +1409,7 @@ impl IconView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::text-column\0".as_ptr() as *const _, + c"notify::text-column".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_text_column_trampoline::<F> as *const (), )), @@ -1432,7 +1432,7 @@ impl IconView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::tooltip-column\0".as_ptr() as *const _, + c"notify::tooltip-column".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_tooltip_column_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/im_context.rs b/gtk4/src/auto/im_context.rs index 3a8f0bbab1f3..af5192e635b5 100644 --- a/gtk4/src/auto/im_context.rs +++ b/gtk4/src/auto/im_context.rs @@ -271,7 +271,7 @@ pub trait IMContextExt: IsA<IMContext> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"commit\0".as_ptr() as *const _, + c"commit".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( commit_trampoline::<Self, F> as *const (), )), @@ -306,7 +306,7 @@ pub trait IMContextExt: IsA<IMContext> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"delete-surrounding\0".as_ptr() as *const _, + c"delete-surrounding".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( delete_surrounding_trampoline::<Self, F> as *const (), )), @@ -328,7 +328,7 @@ pub trait IMContextExt: IsA<IMContext> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"preedit-changed\0".as_ptr() as *const _, + c"preedit-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( preedit_changed_trampoline::<Self, F> as *const (), )), @@ -350,7 +350,7 @@ pub trait IMContextExt: IsA<IMContext> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"preedit-end\0".as_ptr() as *const _, + c"preedit-end".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( preedit_end_trampoline::<Self, F> as *const (), )), @@ -372,7 +372,7 @@ pub trait IMContextExt: IsA<IMContext> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"preedit-start\0".as_ptr() as *const _, + c"preedit-start".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( preedit_start_trampoline::<Self, F> as *const (), )), @@ -400,7 +400,7 @@ pub trait IMContextExt: IsA<IMContext> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"retrieve-surrounding\0".as_ptr() as *const _, + c"retrieve-surrounding".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( retrieve_surrounding_trampoline::<Self, F> as *const (), )), @@ -426,7 +426,7 @@ pub trait IMContextExt: IsA<IMContext> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::input-hints\0".as_ptr() as *const _, + c"notify::input-hints".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_input_hints_trampoline::<Self, F> as *const (), )), @@ -452,7 +452,7 @@ pub trait IMContextExt: IsA<IMContext> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::input-purpose\0".as_ptr() as *const _, + c"notify::input-purpose".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_input_purpose_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/image.rs b/gtk4/src/auto/image.rs index 9900c36b63e8..df745b0eb13f 100644 --- a/gtk4/src/auto/image.rs +++ b/gtk4/src/auto/image.rs @@ -263,7 +263,7 @@ impl Image { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::file\0".as_ptr() as *const _, + c"notify::file".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_file_trampoline::<F> as *const (), )), @@ -286,7 +286,7 @@ impl Image { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gicon\0".as_ptr() as *const _, + c"notify::gicon".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gicon_trampoline::<F> as *const (), )), @@ -309,7 +309,7 @@ impl Image { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::icon-name\0".as_ptr() as *const _, + c"notify::icon-name".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_icon_name_trampoline::<F> as *const (), )), @@ -332,7 +332,7 @@ impl Image { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::icon-size\0".as_ptr() as *const _, + c"notify::icon-size".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_icon_size_trampoline::<F> as *const (), )), @@ -355,7 +355,7 @@ impl Image { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::paintable\0".as_ptr() as *const _, + c"notify::paintable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_paintable_trampoline::<F> as *const (), )), @@ -378,7 +378,7 @@ impl Image { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::pixel-size\0".as_ptr() as *const _, + c"notify::pixel-size".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_pixel_size_trampoline::<F> as *const (), )), @@ -401,7 +401,7 @@ impl Image { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::resource\0".as_ptr() as *const _, + c"notify::resource".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_resource_trampoline::<F> as *const (), )), @@ -424,7 +424,7 @@ impl Image { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::storage-type\0".as_ptr() as *const _, + c"notify::storage-type".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_storage_type_trampoline::<F> as *const (), )), @@ -447,7 +447,7 @@ impl Image { let f: Box_<F> = 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::<F> as *const (), )), diff --git a/gtk4/src/auto/info_bar.rs b/gtk4/src/auto/info_bar.rs index e9dcee89ccf4..b49b56eb93f4 100644 --- a/gtk4/src/auto/info_bar.rs +++ b/gtk4/src/auto/info_bar.rs @@ -201,7 +201,7 @@ impl InfoBar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"close\0".as_ptr() as *const _, + c"close".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( close_trampoline::<F> as *const (), )), @@ -228,7 +228,7 @@ impl InfoBar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"response\0".as_ptr() as *const _, + c"response".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( response_trampoline::<F> as *const (), )), @@ -251,7 +251,7 @@ impl InfoBar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::message-type\0".as_ptr() as *const _, + c"notify::message-type".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_message_type_trampoline::<F> as *const (), )), @@ -274,7 +274,7 @@ impl InfoBar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::revealed\0".as_ptr() as *const _, + c"notify::revealed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_revealed_trampoline::<F> as *const (), )), @@ -300,7 +300,7 @@ impl InfoBar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-close-button\0".as_ptr() as *const _, + c"notify::show-close-button".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_close_button_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/inscription.rs b/gtk4/src/auto/inscription.rs index 4c5599d21b63..645d2bdbb5d4 100644 --- a/gtk4/src/auto/inscription.rs +++ b/gtk4/src/auto/inscription.rs @@ -228,7 +228,7 @@ impl Inscription { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::attributes\0".as_ptr() as *const _, + c"notify::attributes".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_attributes_trampoline::<F> as *const (), )), @@ -253,7 +253,7 @@ impl Inscription { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::markup\0".as_ptr() as *const _, + c"notify::markup".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_markup_trampoline::<F> as *const (), )), @@ -278,7 +278,7 @@ impl Inscription { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::min-chars\0".as_ptr() as *const _, + c"notify::min-chars".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_min_chars_trampoline::<F> as *const (), )), @@ -303,7 +303,7 @@ impl Inscription { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::min-lines\0".as_ptr() as *const _, + c"notify::min-lines".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_min_lines_trampoline::<F> as *const (), )), @@ -328,7 +328,7 @@ impl Inscription { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::nat-chars\0".as_ptr() as *const _, + c"notify::nat-chars".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_nat_chars_trampoline::<F> as *const (), )), @@ -353,7 +353,7 @@ impl Inscription { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::nat-lines\0".as_ptr() as *const _, + c"notify::nat-lines".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_nat_lines_trampoline::<F> as *const (), )), @@ -378,7 +378,7 @@ impl Inscription { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::text\0".as_ptr() as *const _, + c"notify::text".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_text_trampoline::<F> as *const (), )), @@ -403,7 +403,7 @@ impl Inscription { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::text-overflow\0".as_ptr() as *const _, + c"notify::text-overflow".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_text_overflow_trampoline::<F> as *const (), )), @@ -428,7 +428,7 @@ impl Inscription { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::wrap-mode\0".as_ptr() as *const _, + c"notify::wrap-mode".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_wrap_mode_trampoline::<F> as *const (), )), @@ -453,7 +453,7 @@ impl Inscription { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::xalign\0".as_ptr() as *const _, + c"notify::xalign".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_xalign_trampoline::<F> as *const (), )), @@ -478,7 +478,7 @@ impl Inscription { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::yalign\0".as_ptr() as *const _, + c"notify::yalign".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_yalign_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/label.rs b/gtk4/src/auto/label.rs index cb69d63576dd..8fde8373d01d 100644 --- a/gtk4/src/auto/label.rs +++ b/gtk4/src/auto/label.rs @@ -459,7 +459,7 @@ impl Label { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"activate-current-link\0".as_ptr() as *const _, + c"activate-current-link".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( activate_current_link_trampoline::<F> as *const (), )), @@ -495,7 +495,7 @@ impl Label { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"activate-link\0".as_ptr() as *const _, + c"activate-link".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( activate_link_trampoline::<F> as *const (), )), @@ -517,7 +517,7 @@ impl Label { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"copy-clipboard\0".as_ptr() as *const _, + c"copy-clipboard".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( copy_clipboard_trampoline::<F> as *const (), )), @@ -556,7 +556,7 @@ impl Label { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"move-cursor\0".as_ptr() as *const _, + c"move-cursor".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( move_cursor_trampoline::<F> as *const (), )), @@ -583,7 +583,7 @@ impl Label { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::attributes\0".as_ptr() as *const _, + c"notify::attributes".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_attributes_trampoline::<F> as *const (), )), @@ -606,7 +606,7 @@ impl Label { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::ellipsize\0".as_ptr() as *const _, + c"notify::ellipsize".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_ellipsize_trampoline::<F> as *const (), )), @@ -629,7 +629,7 @@ impl Label { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::extra-menu\0".as_ptr() as *const _, + c"notify::extra-menu".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_extra_menu_trampoline::<F> as *const (), )), @@ -652,7 +652,7 @@ impl Label { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::justify\0".as_ptr() as *const _, + c"notify::justify".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_justify_trampoline::<F> as *const (), )), @@ -675,7 +675,7 @@ impl Label { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::label\0".as_ptr() as *const _, + c"notify::label".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_label_trampoline::<F> as *const (), )), @@ -698,7 +698,7 @@ impl Label { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::lines\0".as_ptr() as *const _, + c"notify::lines".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_lines_trampoline::<F> as *const (), )), @@ -721,7 +721,7 @@ impl Label { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::max-width-chars\0".as_ptr() as *const _, + c"notify::max-width-chars".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_max_width_chars_trampoline::<F> as *const (), )), @@ -744,7 +744,7 @@ impl Label { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::mnemonic-keyval\0".as_ptr() as *const _, + c"notify::mnemonic-keyval".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_mnemonic_keyval_trampoline::<F> as *const (), )), @@ -767,7 +767,7 @@ impl Label { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::mnemonic-widget\0".as_ptr() as *const _, + c"notify::mnemonic-widget".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_mnemonic_widget_trampoline::<F> as *const (), )), @@ -795,7 +795,7 @@ impl Label { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::natural-wrap-mode\0".as_ptr() as *const _, + c"notify::natural-wrap-mode".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_natural_wrap_mode_trampoline::<F> as *const (), )), @@ -818,7 +818,7 @@ impl Label { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::selectable\0".as_ptr() as *const _, + c"notify::selectable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_selectable_trampoline::<F> as *const (), )), @@ -841,7 +841,7 @@ impl Label { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::single-line-mode\0".as_ptr() as *const _, + c"notify::single-line-mode".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_single_line_mode_trampoline::<F> as *const (), )), @@ -866,7 +866,7 @@ impl Label { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::tabs\0".as_ptr() as *const _, + c"notify::tabs".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_tabs_trampoline::<F> as *const (), )), @@ -889,7 +889,7 @@ impl Label { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::use-markup\0".as_ptr() as *const _, + c"notify::use-markup".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_use_markup_trampoline::<F> as *const (), )), @@ -912,7 +912,7 @@ impl Label { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::use-underline\0".as_ptr() as *const _, + c"notify::use-underline".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_use_underline_trampoline::<F> as *const (), )), @@ -935,7 +935,7 @@ impl Label { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::width-chars\0".as_ptr() as *const _, + c"notify::width-chars".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_width_chars_trampoline::<F> as *const (), )), @@ -958,7 +958,7 @@ impl Label { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::wrap\0".as_ptr() as *const _, + c"notify::wrap".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_wrap_trampoline::<F> as *const (), )), @@ -981,7 +981,7 @@ impl Label { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::wrap-mode\0".as_ptr() as *const _, + c"notify::wrap-mode".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_wrap_mode_trampoline::<F> as *const (), )), @@ -1004,7 +1004,7 @@ impl Label { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::xalign\0".as_ptr() as *const _, + c"notify::xalign".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_xalign_trampoline::<F> as *const (), )), @@ -1027,7 +1027,7 @@ impl Label { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::yalign\0".as_ptr() as *const _, + c"notify::yalign".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_yalign_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/level_bar.rs b/gtk4/src/auto/level_bar.rs index a8cba9af79c7..1075439bef7d 100644 --- a/gtk4/src/auto/level_bar.rs +++ b/gtk4/src/auto/level_bar.rs @@ -219,7 +219,7 @@ impl LevelBar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::inverted\0".as_ptr() as *const _, + c"notify::inverted".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_inverted_trampoline::<F> as *const (), )), @@ -242,7 +242,7 @@ impl LevelBar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::max-value\0".as_ptr() as *const _, + c"notify::max-value".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_max_value_trampoline::<F> as *const (), )), @@ -265,7 +265,7 @@ impl LevelBar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::min-value\0".as_ptr() as *const _, + c"notify::min-value".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_min_value_trampoline::<F> as *const (), )), @@ -288,7 +288,7 @@ impl LevelBar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::mode\0".as_ptr() as *const _, + c"notify::mode".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_mode_trampoline::<F> as *const (), )), @@ -311,7 +311,7 @@ impl LevelBar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::value\0".as_ptr() as *const _, + c"notify::value".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_value_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/link_button.rs b/gtk4/src/auto/link_button.rs index 4e76b094771d..8a72021ca87d 100644 --- a/gtk4/src/auto/link_button.rs +++ b/gtk4/src/auto/link_button.rs @@ -99,7 +99,7 @@ impl LinkButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"activate-link\0".as_ptr() as *const _, + c"activate-link".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( activate_link_trampoline::<F> as *const (), )), @@ -122,7 +122,7 @@ impl LinkButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::uri\0".as_ptr() as *const _, + c"notify::uri".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_uri_trampoline::<F> as *const (), )), @@ -145,7 +145,7 @@ impl LinkButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::visited\0".as_ptr() as *const _, + c"notify::visited".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_visited_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/list_box.rs b/gtk4/src/auto/list_box.rs index 2e85ab75ad6a..b301af30466a 100644 --- a/gtk4/src/auto/list_box.rs +++ b/gtk4/src/auto/list_box.rs @@ -429,7 +429,7 @@ impl ListBox { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"activate-cursor-row\0".as_ptr() as *const _, + c"activate-cursor-row".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( activate_cursor_row_trampoline::<F> as *const (), )), @@ -470,7 +470,7 @@ impl ListBox { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"move-cursor\0".as_ptr() as *const _, + c"move-cursor".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( move_cursor_trampoline::<F> as *const (), )), @@ -500,7 +500,7 @@ impl ListBox { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"row-activated\0".as_ptr() as *const _, + c"row-activated".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( row_activated_trampoline::<F> as *const (), )), @@ -533,7 +533,7 @@ impl ListBox { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"row-selected\0".as_ptr() as *const _, + c"row-selected".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( row_selected_trampoline::<F> as *const (), )), @@ -555,7 +555,7 @@ impl ListBox { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"select-all\0".as_ptr() as *const _, + c"select-all".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( select_all_trampoline::<F> as *const (), )), @@ -581,7 +581,7 @@ impl ListBox { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"selected-rows-changed\0".as_ptr() as *const _, + c"selected-rows-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( selected_rows_changed_trampoline::<F> as *const (), )), @@ -603,7 +603,7 @@ impl ListBox { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"toggle-cursor-row\0".as_ptr() as *const _, + c"toggle-cursor-row".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( toggle_cursor_row_trampoline::<F> as *const (), )), @@ -629,7 +629,7 @@ impl ListBox { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"unselect-all\0".as_ptr() as *const _, + c"unselect-all".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( unselect_all_trampoline::<F> as *const (), )), @@ -661,7 +661,7 @@ impl ListBox { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::accept-unpaired-release\0".as_ptr() as *const _, + c"notify::accept-unpaired-release".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_accept_unpaired_release_trampoline::<F> as *const (), )), @@ -689,7 +689,7 @@ impl ListBox { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::activate-on-single-click\0".as_ptr() as *const _, + c"notify::activate-on-single-click".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_activate_on_single_click_trampoline::<F> as *const (), )), @@ -712,7 +712,7 @@ impl ListBox { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::selection-mode\0".as_ptr() as *const _, + c"notify::selection-mode".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_selection_mode_trampoline::<F> as *const (), )), @@ -735,7 +735,7 @@ impl ListBox { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-separators\0".as_ptr() as *const _, + c"notify::show-separators".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_separators_trampoline::<F> as *const (), )), @@ -760,7 +760,7 @@ impl ListBox { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::tab-behavior\0".as_ptr() as *const _, + c"notify::tab-behavior".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_tab_behavior_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/list_box_row.rs b/gtk4/src/auto/list_box_row.rs index 6834724e0e90..10812cc85689 100644 --- a/gtk4/src/auto/list_box_row.rs +++ b/gtk4/src/auto/list_box_row.rs @@ -408,7 +408,7 @@ pub trait ListBoxRowExt: IsA<ListBoxRow> + 'static { let f: Box_<F> = 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::<Self, F> as *const (), )), @@ -438,7 +438,7 @@ pub trait ListBoxRowExt: IsA<ListBoxRow> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::activatable\0".as_ptr() as *const _, + c"notify::activatable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_activatable_trampoline::<Self, F> as *const (), )), @@ -461,7 +461,7 @@ pub trait ListBoxRowExt: IsA<ListBoxRow> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::child\0".as_ptr() as *const _, + c"notify::child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_child_trampoline::<Self, F> as *const (), )), @@ -487,7 +487,7 @@ pub trait ListBoxRowExt: IsA<ListBoxRow> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::selectable\0".as_ptr() as *const _, + c"notify::selectable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_selectable_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/list_header.rs b/gtk4/src/auto/list_header.rs index e87e567d5f64..4c2192d5d9c1 100644 --- a/gtk4/src/auto/list_header.rs +++ b/gtk4/src/auto/list_header.rs @@ -78,7 +78,7 @@ impl ListHeader { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::child\0".as_ptr() as *const _, + c"notify::child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_child_trampoline::<F> as *const (), )), @@ -103,7 +103,7 @@ impl ListHeader { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::end\0".as_ptr() as *const _, + c"notify::end".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_end_trampoline::<F> as *const (), )), @@ -128,7 +128,7 @@ impl ListHeader { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::item\0".as_ptr() as *const _, + c"notify::item".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_item_trampoline::<F> as *const (), )), @@ -153,7 +153,7 @@ impl ListHeader { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::n-items\0".as_ptr() as *const _, + c"notify::n-items".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_n_items_trampoline::<F> as *const (), )), @@ -178,7 +178,7 @@ impl ListHeader { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::start\0".as_ptr() as *const _, + c"notify::start".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_start_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/list_item.rs b/gtk4/src/auto/list_item.rs index 4402b1f2c25b..d098f999ba11 100644 --- a/gtk4/src/auto/list_item.rs +++ b/gtk4/src/auto/list_item.rs @@ -205,7 +205,7 @@ pub trait ListItemExt: IsA<ListItem> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::accessible-description\0".as_ptr() as *const _, + c"notify::accessible-description".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_accessible_description_trampoline::<Self, F> as *const (), )), @@ -233,7 +233,7 @@ pub trait ListItemExt: IsA<ListItem> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::accessible-label\0".as_ptr() as *const _, + c"notify::accessible-label".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_accessible_label_trampoline::<Self, F> as *const (), )), @@ -259,7 +259,7 @@ pub trait ListItemExt: IsA<ListItem> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::activatable\0".as_ptr() as *const _, + c"notify::activatable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_activatable_trampoline::<Self, F> as *const (), )), @@ -282,7 +282,7 @@ pub trait ListItemExt: IsA<ListItem> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::child\0".as_ptr() as *const _, + c"notify::child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_child_trampoline::<Self, F> as *const (), )), @@ -307,7 +307,7 @@ pub trait ListItemExt: IsA<ListItem> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::focusable\0".as_ptr() as *const _, + c"notify::focusable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_focusable_trampoline::<Self, F> as *const (), )), @@ -330,7 +330,7 @@ pub trait ListItemExt: IsA<ListItem> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::item\0".as_ptr() as *const _, + c"notify::item".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_item_trampoline::<Self, F> as *const (), )), @@ -353,7 +353,7 @@ pub trait ListItemExt: IsA<ListItem> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::position\0".as_ptr() as *const _, + c"notify::position".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_position_trampoline::<Self, F> as *const (), )), @@ -376,7 +376,7 @@ pub trait ListItemExt: IsA<ListItem> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::selectable\0".as_ptr() as *const _, + c"notify::selectable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_selectable_trampoline::<Self, F> as *const (), )), @@ -399,7 +399,7 @@ pub trait ListItemExt: IsA<ListItem> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::selected\0".as_ptr() as *const _, + c"notify::selected".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_selected_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/list_view.rs b/gtk4/src/auto/list_view.rs index 9246ee3ba726..8c9bf0e7708d 100644 --- a/gtk4/src/auto/list_view.rs +++ b/gtk4/src/auto/list_view.rs @@ -219,7 +219,7 @@ impl ListView { let f: Box_<F> = 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::<F> as *const (), )), @@ -245,7 +245,7 @@ impl ListView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::enable-rubberband\0".as_ptr() as *const _, + c"notify::enable-rubberband".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_enable_rubberband_trampoline::<F> as *const (), )), @@ -268,7 +268,7 @@ impl ListView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::factory\0".as_ptr() as *const _, + c"notify::factory".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_factory_trampoline::<F> as *const (), )), @@ -293,7 +293,7 @@ impl ListView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::header-factory\0".as_ptr() as *const _, + c"notify::header-factory".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_header_factory_trampoline::<F> as *const (), )), @@ -316,7 +316,7 @@ impl ListView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::model\0".as_ptr() as *const _, + c"notify::model".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_model_trampoline::<F> as *const (), )), @@ -339,7 +339,7 @@ impl ListView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-separators\0".as_ptr() as *const _, + c"notify::show-separators".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_separators_trampoline::<F> as *const (), )), @@ -365,7 +365,7 @@ impl ListView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::single-click-activate\0".as_ptr() as *const _, + c"notify::single-click-activate".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_single_click_activate_trampoline::<F> as *const (), )), @@ -390,7 +390,7 @@ impl ListView { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::tab-behavior\0".as_ptr() as *const _, + c"notify::tab-behavior".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_tab_behavior_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/lock_button.rs b/gtk4/src/auto/lock_button.rs index 70011ec3aebc..d0b590918ae1 100644 --- a/gtk4/src/auto/lock_button.rs +++ b/gtk4/src/auto/lock_button.rs @@ -141,7 +141,7 @@ impl LockButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::permission\0".as_ptr() as *const _, + c"notify::permission".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_permission_trampoline::<F> as *const (), )), @@ -165,7 +165,7 @@ impl LockButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::text-lock\0".as_ptr() as *const _, + c"notify::text-lock".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_text_lock_trampoline::<F> as *const (), )), @@ -189,7 +189,7 @@ impl LockButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::text-unlock\0".as_ptr() as *const _, + c"notify::text-unlock".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_text_unlock_trampoline::<F> as *const (), )), @@ -213,7 +213,7 @@ impl LockButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::tooltip-lock\0".as_ptr() as *const _, + c"notify::tooltip-lock".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_tooltip_lock_trampoline::<F> as *const (), )), @@ -242,7 +242,7 @@ impl LockButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::tooltip-not-authorized\0".as_ptr() as *const _, + c"notify::tooltip-not-authorized".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_tooltip_not_authorized_trampoline::<F> as *const (), )), @@ -266,7 +266,7 @@ impl LockButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::tooltip-unlock\0".as_ptr() as *const _, + c"notify::tooltip-unlock".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_tooltip_unlock_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/map_list_model.rs b/gtk4/src/auto/map_list_model.rs index 46b232272944..006497e96ae8 100644 --- a/gtk4/src/auto/map_list_model.rs +++ b/gtk4/src/auto/map_list_model.rs @@ -133,7 +133,7 @@ impl MapListModel { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::has-map\0".as_ptr() as *const _, + c"notify::has-map".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_has_map_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/media_controls.rs b/gtk4/src/auto/media_controls.rs index 7e3ea43e9993..cac78e1a8e11 100644 --- a/gtk4/src/auto/media_controls.rs +++ b/gtk4/src/auto/media_controls.rs @@ -78,7 +78,7 @@ impl MediaControls { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::media-stream\0".as_ptr() as *const _, + c"notify::media-stream".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_media_stream_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/media_file.rs b/gtk4/src/auto/media_file.rs index bbe2a3c07bcc..1bfb1cf66c67 100644 --- a/gtk4/src/auto/media_file.rs +++ b/gtk4/src/auto/media_file.rs @@ -160,7 +160,7 @@ pub trait MediaFileExt: IsA<MediaFile> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::file\0".as_ptr() as *const _, + c"notify::file".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_file_trampoline::<Self, F> as *const (), )), @@ -186,7 +186,7 @@ pub trait MediaFileExt: IsA<MediaFile> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::input-stream\0".as_ptr() as *const _, + c"notify::input-stream".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_input_stream_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/media_stream.rs b/gtk4/src/auto/media_stream.rs index 5f9dca7f5683..b1c98ccd5e9c 100644 --- a/gtk4/src/auto/media_stream.rs +++ b/gtk4/src/auto/media_stream.rs @@ -328,7 +328,7 @@ pub trait MediaStreamExt: IsA<MediaStream> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::duration\0".as_ptr() as *const _, + c"notify::duration".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_duration_trampoline::<Self, F> as *const (), )), @@ -351,7 +351,7 @@ pub trait MediaStreamExt: IsA<MediaStream> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::ended\0".as_ptr() as *const _, + c"notify::ended".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_ended_trampoline::<Self, F> as *const (), )), @@ -374,7 +374,7 @@ pub trait MediaStreamExt: IsA<MediaStream> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::error\0".as_ptr() as *const _, + c"notify::error".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_error_trampoline::<Self, F> as *const (), )), @@ -400,7 +400,7 @@ pub trait MediaStreamExt: IsA<MediaStream> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::has-audio\0".as_ptr() as *const _, + c"notify::has-audio".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_has_audio_trampoline::<Self, F> as *const (), )), @@ -426,7 +426,7 @@ pub trait MediaStreamExt: IsA<MediaStream> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::has-video\0".as_ptr() as *const _, + c"notify::has-video".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_has_video_trampoline::<Self, F> as *const (), )), @@ -449,7 +449,7 @@ pub trait MediaStreamExt: IsA<MediaStream> + 'static { let f: Box_<F> = 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::<Self, F> as *const (), )), @@ -472,7 +472,7 @@ pub trait MediaStreamExt: IsA<MediaStream> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::muted\0".as_ptr() as *const _, + c"notify::muted".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_muted_trampoline::<Self, F> as *const (), )), @@ -495,7 +495,7 @@ pub trait MediaStreamExt: IsA<MediaStream> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::playing\0".as_ptr() as *const _, + c"notify::playing".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_playing_trampoline::<Self, F> as *const (), )), @@ -521,7 +521,7 @@ pub trait MediaStreamExt: IsA<MediaStream> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::prepared\0".as_ptr() as *const _, + c"notify::prepared".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_prepared_trampoline::<Self, F> as *const (), )), @@ -547,7 +547,7 @@ pub trait MediaStreamExt: IsA<MediaStream> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::seekable\0".as_ptr() as *const _, + c"notify::seekable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_seekable_trampoline::<Self, F> as *const (), )), @@ -570,7 +570,7 @@ pub trait MediaStreamExt: IsA<MediaStream> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::seeking\0".as_ptr() as *const _, + c"notify::seeking".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_seeking_trampoline::<Self, F> as *const (), )), @@ -596,7 +596,7 @@ pub trait MediaStreamExt: IsA<MediaStream> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::timestamp\0".as_ptr() as *const _, + c"notify::timestamp".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_timestamp_trampoline::<Self, F> as *const (), )), @@ -619,7 +619,7 @@ pub trait MediaStreamExt: IsA<MediaStream> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::volume\0".as_ptr() as *const _, + c"notify::volume".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_volume_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/menu_button.rs b/gtk4/src/auto/menu_button.rs index afe5269323b3..8fe791a45450 100644 --- a/gtk4/src/auto/menu_button.rs +++ b/gtk4/src/auto/menu_button.rs @@ -314,7 +314,7 @@ impl MenuButton { let f: Box_<F> = 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::<F> as *const (), )), @@ -345,7 +345,7 @@ impl MenuButton { let f: Box_<F> = 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::<F> as *const (), )), @@ -373,7 +373,7 @@ impl MenuButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::always-show-arrow\0".as_ptr() as *const _, + c"notify::always-show-arrow".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_always_show_arrow_trampoline::<F> as *const (), )), @@ -398,7 +398,7 @@ impl MenuButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::can-shrink\0".as_ptr() as *const _, + c"notify::can-shrink".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_can_shrink_trampoline::<F> as *const (), )), @@ -423,7 +423,7 @@ impl MenuButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::child\0".as_ptr() as *const _, + c"notify::child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_child_trampoline::<F> as *const (), )), @@ -446,7 +446,7 @@ impl MenuButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::direction\0".as_ptr() as *const _, + c"notify::direction".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_direction_trampoline::<F> as *const (), )), @@ -469,7 +469,7 @@ impl MenuButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::has-frame\0".as_ptr() as *const _, + c"notify::has-frame".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_has_frame_trampoline::<F> as *const (), )), @@ -492,7 +492,7 @@ impl MenuButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::icon-name\0".as_ptr() as *const _, + c"notify::icon-name".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_icon_name_trampoline::<F> as *const (), )), @@ -515,7 +515,7 @@ impl MenuButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::label\0".as_ptr() as *const _, + c"notify::label".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_label_trampoline::<F> as *const (), )), @@ -538,7 +538,7 @@ impl MenuButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::menu-model\0".as_ptr() as *const _, + c"notify::menu-model".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_menu_model_trampoline::<F> as *const (), )), @@ -561,7 +561,7 @@ impl MenuButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::popover\0".as_ptr() as *const _, + c"notify::popover".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_popover_trampoline::<F> as *const (), )), @@ -586,7 +586,7 @@ impl MenuButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::primary\0".as_ptr() as *const _, + c"notify::primary".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_primary_trampoline::<F> as *const (), )), @@ -609,7 +609,7 @@ impl MenuButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::use-underline\0".as_ptr() as *const _, + c"notify::use-underline".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_use_underline_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/message_dialog.rs b/gtk4/src/auto/message_dialog.rs index d83977c0797e..c63e7013c1db 100644 --- a/gtk4/src/auto/message_dialog.rs +++ b/gtk4/src/auto/message_dialog.rs @@ -116,7 +116,7 @@ impl MessageDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::message-area\0".as_ptr() as *const _, + c"notify::message-area".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_message_area_trampoline::<F> as *const (), )), @@ -139,7 +139,7 @@ impl MessageDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::message-type\0".as_ptr() as *const _, + c"notify::message-type".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_message_type_trampoline::<F> as *const (), )), @@ -162,7 +162,7 @@ impl MessageDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::secondary-text\0".as_ptr() as *const _, + c"notify::secondary-text".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_secondary_text_trampoline::<F> as *const (), )), @@ -190,7 +190,7 @@ impl MessageDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::secondary-use-markup\0".as_ptr() as *const _, + c"notify::secondary-use-markup".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_secondary_use_markup_trampoline::<F> as *const (), )), @@ -213,7 +213,7 @@ impl MessageDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::text\0".as_ptr() as *const _, + c"notify::text".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_text_trampoline::<F> as *const (), )), @@ -236,7 +236,7 @@ impl MessageDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::use-markup\0".as_ptr() as *const _, + c"notify::use-markup".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_use_markup_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/mount_operation.rs b/gtk4/src/auto/mount_operation.rs index 38a66afc53bb..8469faf22417 100644 --- a/gtk4/src/auto/mount_operation.rs +++ b/gtk4/src/auto/mount_operation.rs @@ -213,7 +213,7 @@ pub trait GtkMountOperationExt: IsA<MountOperation> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::display\0".as_ptr() as *const _, + c"notify::display".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_display_trampoline::<Self, F> as *const (), )), @@ -239,7 +239,7 @@ pub trait GtkMountOperationExt: IsA<MountOperation> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::is-showing\0".as_ptr() as *const _, + c"notify::is-showing".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_is_showing_trampoline::<Self, F> as *const (), )), @@ -265,7 +265,7 @@ pub trait GtkMountOperationExt: IsA<MountOperation> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::parent\0".as_ptr() as *const _, + c"notify::parent".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_parent_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/multi_selection.rs b/gtk4/src/auto/multi_selection.rs index 75b22dbf8998..28796e1fbe32 100644 --- a/gtk4/src/auto/multi_selection.rs +++ b/gtk4/src/auto/multi_selection.rs @@ -76,7 +76,7 @@ impl MultiSelection { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::model\0".as_ptr() as *const _, + c"notify::model".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_model_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/native_dialog.rs b/gtk4/src/auto/native_dialog.rs index 6c65ee67d5d1..4baf69e8fd15 100644 --- a/gtk4/src/auto/native_dialog.rs +++ b/gtk4/src/auto/native_dialog.rs @@ -142,7 +142,7 @@ pub trait NativeDialogExt: IsA<NativeDialog> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"response\0".as_ptr() as *const _, + c"response".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( response_trampoline::<Self, F> as *const (), )), @@ -165,7 +165,7 @@ pub trait NativeDialogExt: IsA<NativeDialog> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::modal\0".as_ptr() as *const _, + c"notify::modal".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_modal_trampoline::<Self, F> as *const (), )), @@ -188,7 +188,7 @@ pub trait NativeDialogExt: IsA<NativeDialog> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::title\0".as_ptr() as *const _, + c"notify::title".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_title_trampoline::<Self, F> as *const (), )), @@ -214,7 +214,7 @@ pub trait NativeDialogExt: IsA<NativeDialog> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::transient-for\0".as_ptr() as *const _, + c"notify::transient-for".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_transient_for_trampoline::<Self, F> as *const (), )), @@ -240,7 +240,7 @@ pub trait NativeDialogExt: IsA<NativeDialog> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::visible\0".as_ptr() as *const _, + c"notify::visible".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_visible_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/no_selection.rs b/gtk4/src/auto/no_selection.rs index 8a1272ee33d4..65e5522682d6 100644 --- a/gtk4/src/auto/no_selection.rs +++ b/gtk4/src/auto/no_selection.rs @@ -76,7 +76,7 @@ impl NoSelection { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::model\0".as_ptr() as *const _, + c"notify::model".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_model_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/notebook.rs b/gtk4/src/auto/notebook.rs index 0fd688535990..0b482ba3972c 100644 --- a/gtk4/src/auto/notebook.rs +++ b/gtk4/src/auto/notebook.rs @@ -347,7 +347,7 @@ impl Notebook { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"change-current-page\0".as_ptr() as *const _, + c"change-current-page".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( change_current_page_trampoline::<F> as *const (), )), @@ -381,7 +381,7 @@ impl Notebook { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"create-window\0".as_ptr() as *const _, + c"create-window".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( create_window_trampoline::<F> as *const (), )), @@ -409,7 +409,7 @@ impl Notebook { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"focus-tab\0".as_ptr() as *const _, + c"focus-tab".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( focus_tab_trampoline::<F> as *const (), )), @@ -441,7 +441,7 @@ impl Notebook { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"move-focus-out\0".as_ptr() as *const _, + c"move-focus-out".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( move_focus_out_trampoline::<F> as *const (), )), @@ -472,7 +472,7 @@ impl Notebook { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"page-added\0".as_ptr() as *const _, + c"page-added".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( page_added_trampoline::<F> as *const (), )), @@ -499,7 +499,7 @@ impl Notebook { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"page-removed\0".as_ptr() as *const _, + c"page-removed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( page_removed_trampoline::<F> as *const (), )), @@ -526,7 +526,7 @@ impl Notebook { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"page-reordered\0".as_ptr() as *const _, + c"page-reordered".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( page_reordered_trampoline::<F> as *const (), )), @@ -560,7 +560,7 @@ impl Notebook { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"reorder-tab\0".as_ptr() as *const _, + c"reorder-tab".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( reorder_tab_trampoline::<F> as *const (), )), @@ -590,7 +590,7 @@ impl Notebook { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"select-page\0".as_ptr() as *const _, + c"select-page".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( select_page_trampoline::<F> as *const (), )), @@ -621,7 +621,7 @@ impl Notebook { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"switch-page\0".as_ptr() as *const _, + c"switch-page".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( switch_page_trampoline::<F> as *const (), )), @@ -644,7 +644,7 @@ impl Notebook { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::enable-popup\0".as_ptr() as *const _, + c"notify::enable-popup".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_enable_popup_trampoline::<F> as *const (), )), @@ -667,7 +667,7 @@ impl Notebook { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::group-name\0".as_ptr() as *const _, + c"notify::group-name".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_group_name_trampoline::<F> as *const (), )), @@ -690,7 +690,7 @@ impl Notebook { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::page\0".as_ptr() as *const _, + c"notify::page".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_page_trampoline::<F> as *const (), )), @@ -713,7 +713,7 @@ impl Notebook { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::pages\0".as_ptr() as *const _, + c"notify::pages".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_pages_trampoline::<F> as *const (), )), @@ -736,7 +736,7 @@ impl Notebook { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::scrollable\0".as_ptr() as *const _, + c"notify::scrollable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_scrollable_trampoline::<F> as *const (), )), @@ -759,7 +759,7 @@ impl Notebook { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-border\0".as_ptr() as *const _, + c"notify::show-border".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_border_trampoline::<F> as *const (), )), @@ -782,7 +782,7 @@ impl Notebook { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-tabs\0".as_ptr() as *const _, + c"notify::show-tabs".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_tabs_trampoline::<F> as *const (), )), @@ -805,7 +805,7 @@ impl Notebook { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::tab-pos\0".as_ptr() as *const _, + c"notify::tab-pos".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_tab_pos_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/notebook_page.rs b/gtk4/src/auto/notebook_page.rs index 488596cd2e9e..d8ff8f377c95 100644 --- a/gtk4/src/auto/notebook_page.rs +++ b/gtk4/src/auto/notebook_page.rs @@ -112,7 +112,7 @@ impl NotebookPage { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::detachable\0".as_ptr() as *const _, + c"notify::detachable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_detachable_trampoline::<F> as *const (), )), @@ -135,7 +135,7 @@ impl NotebookPage { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::menu-label\0".as_ptr() as *const _, + c"notify::menu-label".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_menu_label_trampoline::<F> as *const (), )), @@ -158,7 +158,7 @@ impl NotebookPage { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::position\0".as_ptr() as *const _, + c"notify::position".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_position_trampoline::<F> as *const (), )), @@ -181,7 +181,7 @@ impl NotebookPage { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::reorderable\0".as_ptr() as *const _, + c"notify::reorderable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_reorderable_trampoline::<F> as *const (), )), @@ -204,7 +204,7 @@ impl NotebookPage { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::tab-expand\0".as_ptr() as *const _, + c"notify::tab-expand".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_tab_expand_trampoline::<F> as *const (), )), @@ -227,7 +227,7 @@ impl NotebookPage { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::tab-fill\0".as_ptr() as *const _, + c"notify::tab-fill".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_tab_fill_trampoline::<F> as *const (), )), @@ -250,7 +250,7 @@ impl NotebookPage { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::tab-label\0".as_ptr() as *const _, + c"notify::tab-label".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_tab_label_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/numeric_sorter.rs b/gtk4/src/auto/numeric_sorter.rs index b0190a613f03..7ad476f9db7e 100644 --- a/gtk4/src/auto/numeric_sorter.rs +++ b/gtk4/src/auto/numeric_sorter.rs @@ -94,7 +94,7 @@ impl NumericSorter { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::expression\0".as_ptr() as *const _, + c"notify::expression".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_expression_trampoline::<F> as *const (), )), @@ -117,7 +117,7 @@ impl NumericSorter { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::sort-order\0".as_ptr() as *const _, + c"notify::sort-order".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_sort_order_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/orientable.rs b/gtk4/src/auto/orientable.rs index b5f105ae50ce..13e07581ea9f 100644 --- a/gtk4/src/auto/orientable.rs +++ b/gtk4/src/auto/orientable.rs @@ -62,7 +62,7 @@ pub trait OrientableExt: IsA<Orientable> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::orientation\0".as_ptr() as *const _, + c"notify::orientation".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_orientation_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/overlay.rs b/gtk4/src/auto/overlay.rs index c2a057f5749e..400b706632fb 100644 --- a/gtk4/src/auto/overlay.rs +++ b/gtk4/src/auto/overlay.rs @@ -129,7 +129,7 @@ impl Overlay { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::child\0".as_ptr() as *const _, + c"notify::child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_child_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/overlay_layout_child.rs b/gtk4/src/auto/overlay_layout_child.rs index 07110b2ec0eb..b45880c5a80e 100644 --- a/gtk4/src/auto/overlay_layout_child.rs +++ b/gtk4/src/auto/overlay_layout_child.rs @@ -77,7 +77,7 @@ impl OverlayLayoutChild { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::clip-overlay\0".as_ptr() as *const _, + c"notify::clip-overlay".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_clip_overlay_trampoline::<F> as *const (), )), @@ -100,7 +100,7 @@ impl OverlayLayoutChild { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::measure\0".as_ptr() as *const _, + c"notify::measure".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_measure_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/paned.rs b/gtk4/src/auto/paned.rs index 4efee5e3ae51..eccb01d1cdb7 100644 --- a/gtk4/src/auto/paned.rs +++ b/gtk4/src/auto/paned.rs @@ -205,7 +205,7 @@ impl Paned { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"accept-position\0".as_ptr() as *const _, + c"accept-position".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( accept_position_trampoline::<F> as *const (), )), @@ -231,7 +231,7 @@ impl Paned { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"cancel-position\0".as_ptr() as *const _, + c"cancel-position".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( cancel_position_trampoline::<F> as *const (), )), @@ -261,7 +261,7 @@ impl Paned { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"cycle-child-focus\0".as_ptr() as *const _, + c"cycle-child-focus".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( cycle_child_focus_trampoline::<F> as *const (), )), @@ -293,7 +293,7 @@ impl Paned { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"cycle-handle-focus\0".as_ptr() as *const _, + c"cycle-handle-focus".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( cycle_handle_focus_trampoline::<F> as *const (), )), @@ -323,7 +323,7 @@ impl Paned { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"move-handle\0".as_ptr() as *const _, + c"move-handle".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( move_handle_trampoline::<F> as *const (), )), @@ -352,7 +352,7 @@ impl Paned { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"toggle-handle-focus\0".as_ptr() as *const _, + c"toggle-handle-focus".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( toggle_handle_focus_trampoline::<F> as *const (), )), @@ -379,7 +379,7 @@ impl Paned { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::end-child\0".as_ptr() as *const _, + c"notify::end-child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_end_child_trampoline::<F> as *const (), )), @@ -402,7 +402,7 @@ impl Paned { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::max-position\0".as_ptr() as *const _, + c"notify::max-position".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_max_position_trampoline::<F> as *const (), )), @@ -425,7 +425,7 @@ impl Paned { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::min-position\0".as_ptr() as *const _, + c"notify::min-position".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_min_position_trampoline::<F> as *const (), )), @@ -448,7 +448,7 @@ impl Paned { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::position\0".as_ptr() as *const _, + c"notify::position".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_position_trampoline::<F> as *const (), )), @@ -471,7 +471,7 @@ impl Paned { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::position-set\0".as_ptr() as *const _, + c"notify::position-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_position_set_trampoline::<F> as *const (), )), @@ -494,7 +494,7 @@ impl Paned { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::resize-end-child\0".as_ptr() as *const _, + c"notify::resize-end-child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_resize_end_child_trampoline::<F> as *const (), )), @@ -520,7 +520,7 @@ impl Paned { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::resize-start-child\0".as_ptr() as *const _, + c"notify::resize-start-child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_resize_start_child_trampoline::<F> as *const (), )), @@ -543,7 +543,7 @@ impl Paned { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::shrink-end-child\0".as_ptr() as *const _, + c"notify::shrink-end-child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_shrink_end_child_trampoline::<F> as *const (), )), @@ -569,7 +569,7 @@ impl Paned { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::shrink-start-child\0".as_ptr() as *const _, + c"notify::shrink-start-child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_shrink_start_child_trampoline::<F> as *const (), )), @@ -592,7 +592,7 @@ impl Paned { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::start-child\0".as_ptr() as *const _, + c"notify::start-child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_start_child_trampoline::<F> as *const (), )), @@ -615,7 +615,7 @@ impl Paned { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::wide-handle\0".as_ptr() as *const _, + c"notify::wide-handle".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_wide_handle_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/password_entry.rs b/gtk4/src/auto/password_entry.rs index 33082e74f84a..a90577b9a3ed 100644 --- a/gtk4/src/auto/password_entry.rs +++ b/gtk4/src/auto/password_entry.rs @@ -114,7 +114,7 @@ impl PasswordEntry { let f: Box_<F> = 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::<F> as *const (), )), @@ -146,7 +146,7 @@ impl PasswordEntry { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::activates-default\0".as_ptr() as *const _, + c"notify::activates-default".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_activates_default_trampoline::<F> as *const (), )), @@ -169,7 +169,7 @@ impl PasswordEntry { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::extra-menu\0".as_ptr() as *const _, + c"notify::extra-menu".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_extra_menu_trampoline::<F> as *const (), )), @@ -192,7 +192,7 @@ impl PasswordEntry { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::placeholder-text\0".as_ptr() as *const _, + c"notify::placeholder-text".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_placeholder_text_trampoline::<F> as *const (), )), @@ -215,7 +215,7 @@ impl PasswordEntry { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-peek-icon\0".as_ptr() as *const _, + c"notify::show-peek-icon".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_peek_icon_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/picture.rs b/gtk4/src/auto/picture.rs index 2ae7ef213617..968488c8e504 100644 --- a/gtk4/src/auto/picture.rs +++ b/gtk4/src/auto/picture.rs @@ -253,7 +253,7 @@ impl Picture { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::alternative-text\0".as_ptr() as *const _, + c"notify::alternative-text".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_alternative_text_trampoline::<F> as *const (), )), @@ -276,7 +276,7 @@ impl Picture { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::can-shrink\0".as_ptr() as *const _, + c"notify::can-shrink".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_can_shrink_trampoline::<F> as *const (), )), @@ -301,7 +301,7 @@ impl Picture { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::content-fit\0".as_ptr() as *const _, + c"notify::content-fit".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_content_fit_trampoline::<F> as *const (), )), @@ -324,7 +324,7 @@ impl Picture { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::file\0".as_ptr() as *const _, + c"notify::file".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_file_trampoline::<F> as *const (), )), @@ -351,7 +351,7 @@ impl Picture { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::keep-aspect-ratio\0".as_ptr() as *const _, + c"notify::keep-aspect-ratio".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_keep_aspect_ratio_trampoline::<F> as *const (), )), @@ -374,7 +374,7 @@ impl Picture { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::paintable\0".as_ptr() as *const _, + c"notify::paintable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_paintable_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/popover.rs b/gtk4/src/auto/popover.rs index 068676daaf90..fb56124f8ad1 100644 --- a/gtk4/src/auto/popover.rs +++ b/gtk4/src/auto/popover.rs @@ -519,7 +519,7 @@ pub trait PopoverExt: IsA<Popover> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"activate-default\0".as_ptr() as *const _, + c"activate-default".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( activate_default_trampoline::<Self, F> as *const (), )), @@ -545,7 +545,7 @@ pub trait PopoverExt: IsA<Popover> + 'static { let f: Box_<F> = 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::<Self, F> as *const (), )), @@ -568,7 +568,7 @@ pub trait PopoverExt: IsA<Popover> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::autohide\0".as_ptr() as *const _, + c"notify::autohide".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_autohide_trampoline::<Self, F> as *const (), )), @@ -594,7 +594,7 @@ pub trait PopoverExt: IsA<Popover> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::cascade-popdown\0".as_ptr() as *const _, + c"notify::cascade-popdown".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_cascade_popdown_trampoline::<Self, F> as *const (), )), @@ -617,7 +617,7 @@ pub trait PopoverExt: IsA<Popover> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::child\0".as_ptr() as *const _, + c"notify::child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_child_trampoline::<Self, F> as *const (), )), @@ -643,7 +643,7 @@ pub trait PopoverExt: IsA<Popover> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::default-widget\0".as_ptr() as *const _, + c"notify::default-widget".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_default_widget_trampoline::<Self, F> as *const (), )), @@ -666,7 +666,7 @@ pub trait PopoverExt: IsA<Popover> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::has-arrow\0".as_ptr() as *const _, + c"notify::has-arrow".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_has_arrow_trampoline::<Self, F> as *const (), )), @@ -692,7 +692,7 @@ pub trait PopoverExt: IsA<Popover> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::mnemonics-visible\0".as_ptr() as *const _, + c"notify::mnemonics-visible".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_mnemonics_visible_trampoline::<Self, F> as *const (), )), @@ -715,7 +715,7 @@ pub trait PopoverExt: IsA<Popover> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::pointing-to\0".as_ptr() as *const _, + c"notify::pointing-to".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_pointing_to_trampoline::<Self, F> as *const (), )), @@ -738,7 +738,7 @@ pub trait PopoverExt: IsA<Popover> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::position\0".as_ptr() as *const _, + c"notify::position".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_position_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/popover_menu.rs b/gtk4/src/auto/popover_menu.rs index 2831235325ce..cdd397b11cef 100644 --- a/gtk4/src/auto/popover_menu.rs +++ b/gtk4/src/auto/popover_menu.rs @@ -142,7 +142,7 @@ impl PopoverMenu { let f: Box_<F> = 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::<F> as *const (), )), @@ -165,7 +165,7 @@ impl PopoverMenu { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::menu-model\0".as_ptr() as *const _, + c"notify::menu-model".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_menu_model_trampoline::<F> as *const (), )), @@ -188,7 +188,7 @@ impl PopoverMenu { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::visible-submenu\0".as_ptr() as *const _, + c"notify::visible-submenu".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_visible_submenu_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/popover_menu_bar.rs b/gtk4/src/auto/popover_menu_bar.rs index 95d43e4e484a..44d379d58395 100644 --- a/gtk4/src/auto/popover_menu_bar.rs +++ b/gtk4/src/auto/popover_menu_bar.rs @@ -100,7 +100,7 @@ impl PopoverMenuBar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::menu-model\0".as_ptr() as *const _, + c"notify::menu-model".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_menu_model_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/print_dialog.rs b/gtk4/src/auto/print_dialog.rs index f50955b66e47..554edbcaeb41 100644 --- a/gtk4/src/auto/print_dialog.rs +++ b/gtk4/src/auto/print_dialog.rs @@ -355,7 +355,7 @@ impl PrintDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::accept-label\0".as_ptr() as *const _, + c"notify::accept-label".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_accept_label_trampoline::<F> as *const (), )), @@ -380,7 +380,7 @@ impl PrintDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::modal\0".as_ptr() as *const _, + c"notify::modal".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_modal_trampoline::<F> as *const (), )), @@ -405,7 +405,7 @@ impl PrintDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::page-setup\0".as_ptr() as *const _, + c"notify::page-setup".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_page_setup_trampoline::<F> as *const (), )), @@ -430,7 +430,7 @@ impl PrintDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::print-settings\0".as_ptr() as *const _, + c"notify::print-settings".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_print_settings_trampoline::<F> as *const (), )), @@ -455,7 +455,7 @@ impl PrintDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::title\0".as_ptr() as *const _, + c"notify::title".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_title_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/print_job.rs b/gtk4/src/auto/print_job.rs index 92e259df92f7..c69334767bd2 100644 --- a/gtk4/src/auto/print_job.rs +++ b/gtk4/src/auto/print_job.rs @@ -296,7 +296,7 @@ impl PrintJob { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"status-changed\0".as_ptr() as *const _, + c"status-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( status_changed_trampoline::<F> as *const (), )), @@ -322,7 +322,7 @@ impl PrintJob { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::track-print-status\0".as_ptr() as *const _, + c"notify::track-print-status".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_track_print_status_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/print_operation.rs b/gtk4/src/auto/print_operation.rs index 9c29a0420d08..5e8c13cd5ae4 100644 --- a/gtk4/src/auto/print_operation.rs +++ b/gtk4/src/auto/print_operation.rs @@ -534,7 +534,7 @@ pub trait PrintOperationExt: IsA<PrintOperation> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"begin-print\0".as_ptr() as *const _, + c"begin-print".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( begin_print_trampoline::<Self, F> as *const (), )), @@ -564,7 +564,7 @@ pub trait PrintOperationExt: IsA<PrintOperation> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"create-custom-widget\0".as_ptr() as *const _, + c"create-custom-widget".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( create_custom_widget_trampoline::<Self, F> as *const (), )), @@ -596,7 +596,7 @@ pub trait PrintOperationExt: IsA<PrintOperation> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"custom-widget-apply\0".as_ptr() as *const _, + c"custom-widget-apply".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( custom_widget_apply_trampoline::<Self, F> as *const (), )), @@ -625,7 +625,7 @@ pub trait PrintOperationExt: IsA<PrintOperation> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"done\0".as_ptr() as *const _, + c"done".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( done_trampoline::<Self, F> as *const (), )), @@ -659,7 +659,7 @@ pub trait PrintOperationExt: IsA<PrintOperation> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"draw-page\0".as_ptr() as *const _, + c"draw-page".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( draw_page_trampoline::<Self, F> as *const (), )), @@ -688,7 +688,7 @@ pub trait PrintOperationExt: IsA<PrintOperation> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"end-print\0".as_ptr() as *const _, + c"end-print".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( end_print_trampoline::<Self, F> as *const (), )), @@ -721,7 +721,7 @@ pub trait PrintOperationExt: IsA<PrintOperation> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"paginate\0".as_ptr() as *const _, + c"paginate".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( paginate_trampoline::<Self, F> as *const (), )), @@ -760,7 +760,7 @@ pub trait PrintOperationExt: IsA<PrintOperation> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"preview\0".as_ptr() as *const _, + c"preview".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( preview_trampoline::<Self, F> as *const (), )), @@ -796,7 +796,7 @@ pub trait PrintOperationExt: IsA<PrintOperation> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"request-page-setup\0".as_ptr() as *const _, + c"request-page-setup".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( request_page_setup_trampoline::<Self, F> as *const (), )), @@ -821,7 +821,7 @@ pub trait PrintOperationExt: IsA<PrintOperation> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"status-changed\0".as_ptr() as *const _, + c"status-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( status_changed_trampoline::<Self, F> as *const (), )), @@ -857,7 +857,7 @@ pub trait PrintOperationExt: IsA<PrintOperation> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"update-custom-widget\0".as_ptr() as *const _, + c"update-custom-widget".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( update_custom_widget_trampoline::<Self, F> as *const (), )), @@ -883,7 +883,7 @@ pub trait PrintOperationExt: IsA<PrintOperation> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::allow-async\0".as_ptr() as *const _, + c"notify::allow-async".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_allow_async_trampoline::<Self, F> as *const (), )), @@ -909,7 +909,7 @@ pub trait PrintOperationExt: IsA<PrintOperation> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::current-page\0".as_ptr() as *const _, + c"notify::current-page".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_current_page_trampoline::<Self, F> as *const (), )), @@ -935,7 +935,7 @@ pub trait PrintOperationExt: IsA<PrintOperation> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::custom-tab-label\0".as_ptr() as *const _, + c"notify::custom-tab-label".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_custom_tab_label_trampoline::<Self, F> as *const (), )), @@ -961,7 +961,7 @@ pub trait PrintOperationExt: IsA<PrintOperation> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::default-page-setup\0".as_ptr() as *const _, + c"notify::default-page-setup".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_default_page_setup_trampoline::<Self, F> as *const (), )), @@ -987,7 +987,7 @@ pub trait PrintOperationExt: IsA<PrintOperation> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::embed-page-setup\0".as_ptr() as *const _, + c"notify::embed-page-setup".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_embed_page_setup_trampoline::<Self, F> as *const (), )), @@ -1013,7 +1013,7 @@ pub trait PrintOperationExt: IsA<PrintOperation> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::export-filename\0".as_ptr() as *const _, + c"notify::export-filename".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_export_filename_trampoline::<Self, F> as *const (), )), @@ -1039,7 +1039,7 @@ pub trait PrintOperationExt: IsA<PrintOperation> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::has-selection\0".as_ptr() as *const _, + c"notify::has-selection".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_has_selection_trampoline::<Self, F> as *const (), )), @@ -1065,7 +1065,7 @@ pub trait PrintOperationExt: IsA<PrintOperation> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::job-name\0".as_ptr() as *const _, + c"notify::job-name".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_job_name_trampoline::<Self, F> as *const (), )), @@ -1091,7 +1091,7 @@ pub trait PrintOperationExt: IsA<PrintOperation> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::n-pages\0".as_ptr() as *const _, + c"notify::n-pages".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_n_pages_trampoline::<Self, F> as *const (), )), @@ -1117,7 +1117,7 @@ pub trait PrintOperationExt: IsA<PrintOperation> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::n-pages-to-print\0".as_ptr() as *const _, + c"notify::n-pages-to-print".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_n_pages_to_print_trampoline::<Self, F> as *const (), )), @@ -1143,7 +1143,7 @@ pub trait PrintOperationExt: IsA<PrintOperation> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::print-settings\0".as_ptr() as *const _, + c"notify::print-settings".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_print_settings_trampoline::<Self, F> as *const (), )), @@ -1169,7 +1169,7 @@ pub trait PrintOperationExt: IsA<PrintOperation> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-progress\0".as_ptr() as *const _, + c"notify::show-progress".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_progress_trampoline::<Self, F> as *const (), )), @@ -1195,7 +1195,7 @@ pub trait PrintOperationExt: IsA<PrintOperation> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::status\0".as_ptr() as *const _, + c"notify::status".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_status_trampoline::<Self, F> as *const (), )), @@ -1221,7 +1221,7 @@ pub trait PrintOperationExt: IsA<PrintOperation> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::status-string\0".as_ptr() as *const _, + c"notify::status-string".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_status_string_trampoline::<Self, F> as *const (), )), @@ -1247,7 +1247,7 @@ pub trait PrintOperationExt: IsA<PrintOperation> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::support-selection\0".as_ptr() as *const _, + c"notify::support-selection".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_support_selection_trampoline::<Self, F> as *const (), )), @@ -1273,7 +1273,7 @@ pub trait PrintOperationExt: IsA<PrintOperation> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::track-print-status\0".as_ptr() as *const _, + c"notify::track-print-status".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_track_print_status_trampoline::<Self, F> as *const (), )), @@ -1296,7 +1296,7 @@ pub trait PrintOperationExt: IsA<PrintOperation> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::unit\0".as_ptr() as *const _, + c"notify::unit".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_unit_trampoline::<Self, F> as *const (), )), @@ -1322,7 +1322,7 @@ pub trait PrintOperationExt: IsA<PrintOperation> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::use-full-page\0".as_ptr() as *const _, + c"notify::use-full-page".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_use_full_page_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/print_operation_preview.rs b/gtk4/src/auto/print_operation_preview.rs index 966c2d538e1b..f93d30bca8fc 100644 --- a/gtk4/src/auto/print_operation_preview.rs +++ b/gtk4/src/auto/print_operation_preview.rs @@ -73,7 +73,7 @@ pub trait PrintOperationPreviewExt: IsA<PrintOperationPreview> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"got-page-size\0".as_ptr() as *const _, + c"got-page-size".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( got_page_size_trampoline::<Self, F> as *const (), )), @@ -102,7 +102,7 @@ pub trait PrintOperationPreviewExt: IsA<PrintOperationPreview> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"ready\0".as_ptr() as *const _, + c"ready".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( ready_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/print_unix_dialog.rs b/gtk4/src/auto/print_unix_dialog.rs index cf65c39d4737..0b8910817af3 100644 --- a/gtk4/src/auto/print_unix_dialog.rs +++ b/gtk4/src/auto/print_unix_dialog.rs @@ -237,7 +237,7 @@ impl PrintUnixDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::current-page\0".as_ptr() as *const _, + c"notify::current-page".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_current_page_trampoline::<F> as *const (), )), @@ -262,7 +262,7 @@ impl PrintUnixDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::embed-page-setup\0".as_ptr() as *const _, + c"notify::embed-page-setup".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_embed_page_setup_trampoline::<F> as *const (), )), @@ -285,7 +285,7 @@ impl PrintUnixDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::has-selection\0".as_ptr() as *const _, + c"notify::has-selection".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_has_selection_trampoline::<F> as *const (), )), @@ -313,7 +313,7 @@ impl PrintUnixDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::manual-capabilities\0".as_ptr() as *const _, + c"notify::manual-capabilities".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_manual_capabilities_trampoline::<F> as *const (), )), @@ -336,7 +336,7 @@ impl PrintUnixDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::page-setup\0".as_ptr() as *const _, + c"notify::page-setup".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_page_setup_trampoline::<F> as *const (), )), @@ -359,7 +359,7 @@ impl PrintUnixDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::print-settings\0".as_ptr() as *const _, + c"notify::print-settings".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_print_settings_trampoline::<F> as *const (), )), @@ -384,7 +384,7 @@ impl PrintUnixDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::selected-printer\0".as_ptr() as *const _, + c"notify::selected-printer".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_selected_printer_trampoline::<F> as *const (), )), @@ -412,7 +412,7 @@ impl PrintUnixDialog { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::support-selection\0".as_ptr() as *const _, + c"notify::support-selection".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_support_selection_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/printer.rs b/gtk4/src/auto/printer.rs index 9653ddd5423e..bedffd62b4a5 100644 --- a/gtk4/src/auto/printer.rs +++ b/gtk4/src/auto/printer.rs @@ -215,7 +215,7 @@ impl Printer { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"details-acquired\0".as_ptr() as *const _, + c"details-acquired".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( details_acquired_trampoline::<F> as *const (), )), @@ -238,7 +238,7 @@ impl Printer { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::accepting-jobs\0".as_ptr() as *const _, + c"notify::accepting-jobs".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_accepting_jobs_trampoline::<F> as *const (), )), @@ -261,7 +261,7 @@ impl Printer { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::icon-name\0".as_ptr() as *const _, + c"notify::icon-name".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_icon_name_trampoline::<F> as *const (), )), @@ -284,7 +284,7 @@ impl Printer { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::job-count\0".as_ptr() as *const _, + c"notify::job-count".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_job_count_trampoline::<F> as *const (), )), @@ -307,7 +307,7 @@ impl Printer { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::location\0".as_ptr() as *const _, + c"notify::location".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_location_trampoline::<F> as *const (), )), @@ -330,7 +330,7 @@ impl Printer { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::paused\0".as_ptr() as *const _, + c"notify::paused".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_paused_trampoline::<F> as *const (), )), @@ -353,7 +353,7 @@ impl Printer { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::state-message\0".as_ptr() as *const _, + c"notify::state-message".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_state_message_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/progress_bar.rs b/gtk4/src/auto/progress_bar.rs index 81fa2d733e6b..ca7492d48081 100644 --- a/gtk4/src/auto/progress_bar.rs +++ b/gtk4/src/auto/progress_bar.rs @@ -160,7 +160,7 @@ impl ProgressBar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::ellipsize\0".as_ptr() as *const _, + c"notify::ellipsize".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_ellipsize_trampoline::<F> as *const (), )), @@ -183,7 +183,7 @@ impl ProgressBar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::fraction\0".as_ptr() as *const _, + c"notify::fraction".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_fraction_trampoline::<F> as *const (), )), @@ -206,7 +206,7 @@ impl ProgressBar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::inverted\0".as_ptr() as *const _, + c"notify::inverted".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_inverted_trampoline::<F> as *const (), )), @@ -229,7 +229,7 @@ impl ProgressBar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::pulse-step\0".as_ptr() as *const _, + c"notify::pulse-step".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_pulse_step_trampoline::<F> as *const (), )), @@ -252,7 +252,7 @@ impl ProgressBar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-text\0".as_ptr() as *const _, + c"notify::show-text".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_text_trampoline::<F> as *const (), )), @@ -275,7 +275,7 @@ impl ProgressBar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::text\0".as_ptr() as *const _, + c"notify::text".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_text_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/range.rs b/gtk4/src/auto/range.rs index c5ceffdd86f1..622d34c747cc 100644 --- a/gtk4/src/auto/range.rs +++ b/gtk4/src/auto/range.rs @@ -253,7 +253,7 @@ pub trait RangeExt: IsA<Range> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"adjust-bounds\0".as_ptr() as *const _, + c"adjust-bounds".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( adjust_bounds_trampoline::<Self, F> as *const (), )), @@ -288,7 +288,7 @@ pub trait RangeExt: IsA<Range> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"change-value\0".as_ptr() as *const _, + c"change-value".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( change_value_trampoline::<Self, F> as *const (), )), @@ -317,7 +317,7 @@ pub trait RangeExt: IsA<Range> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"move-slider\0".as_ptr() as *const _, + c"move-slider".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( move_slider_trampoline::<Self, F> as *const (), )), @@ -343,7 +343,7 @@ pub trait RangeExt: IsA<Range> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"value-changed\0".as_ptr() as *const _, + c"value-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( value_changed_trampoline::<Self, F> as *const (), )), @@ -366,7 +366,7 @@ pub trait RangeExt: IsA<Range> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::adjustment\0".as_ptr() as *const _, + c"notify::adjustment".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_adjustment_trampoline::<Self, F> as *const (), )), @@ -389,7 +389,7 @@ pub trait RangeExt: IsA<Range> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::fill-level\0".as_ptr() as *const _, + c"notify::fill-level".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_fill_level_trampoline::<Self, F> as *const (), )), @@ -412,7 +412,7 @@ pub trait RangeExt: IsA<Range> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::inverted\0".as_ptr() as *const _, + c"notify::inverted".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_inverted_trampoline::<Self, F> as *const (), )), @@ -441,7 +441,7 @@ pub trait RangeExt: IsA<Range> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::restrict-to-fill-level\0".as_ptr() as *const _, + c"notify::restrict-to-fill-level".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_restrict_to_fill_level_trampoline::<Self, F> as *const (), )), @@ -464,7 +464,7 @@ pub trait RangeExt: IsA<Range> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::round-digits\0".as_ptr() as *const _, + c"notify::round-digits".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_round_digits_trampoline::<Self, F> as *const (), )), @@ -490,7 +490,7 @@ pub trait RangeExt: IsA<Range> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-fill-level\0".as_ptr() as *const _, + c"notify::show-fill-level".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_fill_level_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/recent_manager.rs b/gtk4/src/auto/recent_manager.rs index 16357b888ec5..ed29cc3d7052 100644 --- a/gtk4/src/auto/recent_manager.rs +++ b/gtk4/src/auto/recent_manager.rs @@ -174,7 +174,7 @@ pub trait RecentManagerExt: IsA<RecentManager> + 'static { let f: Box_<F> = 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::<Self, F> as *const (), )), @@ -197,7 +197,7 @@ pub trait RecentManagerExt: IsA<RecentManager> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::size\0".as_ptr() as *const _, + c"notify::size".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_size_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/revealer.rs b/gtk4/src/auto/revealer.rs index 8ae6a815cad9..02474a6e1b62 100644 --- a/gtk4/src/auto/revealer.rs +++ b/gtk4/src/auto/revealer.rs @@ -120,7 +120,7 @@ impl Revealer { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::child\0".as_ptr() as *const _, + c"notify::child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_child_trampoline::<F> as *const (), )), @@ -143,7 +143,7 @@ impl Revealer { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::child-revealed\0".as_ptr() as *const _, + c"notify::child-revealed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_child_revealed_trampoline::<F> as *const (), )), @@ -166,7 +166,7 @@ impl Revealer { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::reveal-child\0".as_ptr() as *const _, + c"notify::reveal-child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_reveal_child_trampoline::<F> as *const (), )), @@ -192,7 +192,7 @@ impl Revealer { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::transition-duration\0".as_ptr() as *const _, + c"notify::transition-duration".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_transition_duration_trampoline::<F> as *const (), )), @@ -215,7 +215,7 @@ impl Revealer { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::transition-type\0".as_ptr() as *const _, + c"notify::transition-type".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_transition_type_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/scale.rs b/gtk4/src/auto/scale.rs index 54fdf044c7c5..37dcb37d1f3d 100644 --- a/gtk4/src/auto/scale.rs +++ b/gtk4/src/auto/scale.rs @@ -513,7 +513,7 @@ pub trait ScaleExt: IsA<Scale> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::digits\0".as_ptr() as *const _, + c"notify::digits".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_digits_trampoline::<Self, F> as *const (), )), @@ -536,7 +536,7 @@ pub trait ScaleExt: IsA<Scale> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::draw-value\0".as_ptr() as *const _, + c"notify::draw-value".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_draw_value_trampoline::<Self, F> as *const (), )), @@ -559,7 +559,7 @@ pub trait ScaleExt: IsA<Scale> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::has-origin\0".as_ptr() as *const _, + c"notify::has-origin".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_has_origin_trampoline::<Self, F> as *const (), )), @@ -582,7 +582,7 @@ pub trait ScaleExt: IsA<Scale> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::value-pos\0".as_ptr() as *const _, + c"notify::value-pos".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_value_pos_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/scale_button.rs b/gtk4/src/auto/scale_button.rs index 7aa484b65c69..a4ee5b0a66fe 100644 --- a/gtk4/src/auto/scale_button.rs +++ b/gtk4/src/auto/scale_button.rs @@ -442,7 +442,7 @@ pub trait ScaleButtonExt: IsA<ScaleButton> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"popdown\0".as_ptr() as *const _, + c"popdown".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( popdown_trampoline::<Self, F> as *const (), )), @@ -468,7 +468,7 @@ pub trait ScaleButtonExt: IsA<ScaleButton> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"popup\0".as_ptr() as *const _, + c"popup".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( popup_trampoline::<Self, F> as *const (), )), @@ -498,7 +498,7 @@ pub trait ScaleButtonExt: IsA<ScaleButton> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"value-changed\0".as_ptr() as *const _, + c"value-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( value_changed_trampoline::<Self, F> as *const (), )), @@ -523,7 +523,7 @@ pub trait ScaleButtonExt: IsA<ScaleButton> + 'static { let f: Box_<F> = 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::<Self, F> as *const (), )), @@ -549,7 +549,7 @@ pub trait ScaleButtonExt: IsA<ScaleButton> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::adjustment\0".as_ptr() as *const _, + c"notify::adjustment".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_adjustment_trampoline::<Self, F> as *const (), )), @@ -577,7 +577,7 @@ pub trait ScaleButtonExt: IsA<ScaleButton> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::has-frame\0".as_ptr() as *const _, + c"notify::has-frame".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_has_frame_trampoline::<Self, F> as *const (), )), @@ -600,7 +600,7 @@ pub trait ScaleButtonExt: IsA<ScaleButton> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::icons\0".as_ptr() as *const _, + c"notify::icons".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_icons_trampoline::<Self, F> as *const (), )), @@ -623,7 +623,7 @@ pub trait ScaleButtonExt: IsA<ScaleButton> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::value\0".as_ptr() as *const _, + c"notify::value".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_value_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/scrollable.rs b/gtk4/src/auto/scrollable.rs index 7231ab53e053..8c6647df4e36 100644 --- a/gtk4/src/auto/scrollable.rs +++ b/gtk4/src/auto/scrollable.rs @@ -144,7 +144,7 @@ pub trait ScrollableExt: IsA<Scrollable> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::hadjustment\0".as_ptr() as *const _, + c"notify::hadjustment".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_hadjustment_trampoline::<Self, F> as *const (), )), @@ -170,7 +170,7 @@ pub trait ScrollableExt: IsA<Scrollable> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::hscroll-policy\0".as_ptr() as *const _, + c"notify::hscroll-policy".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_hscroll_policy_trampoline::<Self, F> as *const (), )), @@ -196,7 +196,7 @@ pub trait ScrollableExt: IsA<Scrollable> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::vadjustment\0".as_ptr() as *const _, + c"notify::vadjustment".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_vadjustment_trampoline::<Self, F> as *const (), )), @@ -222,7 +222,7 @@ pub trait ScrollableExt: IsA<Scrollable> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::vscroll-policy\0".as_ptr() as *const _, + c"notify::vscroll-policy".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_vscroll_policy_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/scrollbar.rs b/gtk4/src/auto/scrollbar.rs index 9ed2a1ea5f6a..88f5b588e64c 100644 --- a/gtk4/src/auto/scrollbar.rs +++ b/gtk4/src/auto/scrollbar.rs @@ -89,7 +89,7 @@ impl Scrollbar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::adjustment\0".as_ptr() as *const _, + c"notify::adjustment".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_adjustment_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/scrolled_window.rs b/gtk4/src/auto/scrolled_window.rs index 4c78f687fc6c..8737ea734dec 100644 --- a/gtk4/src/auto/scrolled_window.rs +++ b/gtk4/src/auto/scrolled_window.rs @@ -380,7 +380,7 @@ impl ScrolledWindow { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"edge-overshot\0".as_ptr() as *const _, + c"edge-overshot".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( edge_overshot_trampoline::<F> as *const (), )), @@ -408,7 +408,7 @@ impl ScrolledWindow { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"edge-reached\0".as_ptr() as *const _, + c"edge-reached".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( edge_reached_trampoline::<F> as *const (), )), @@ -436,7 +436,7 @@ impl ScrolledWindow { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"move-focus-out\0".as_ptr() as *const _, + c"move-focus-out".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( move_focus_out_trampoline::<F> as *const (), )), @@ -474,7 +474,7 @@ impl ScrolledWindow { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"scroll-child\0".as_ptr() as *const _, + c"scroll-child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( scroll_child_trampoline::<F> as *const (), )), @@ -501,7 +501,7 @@ impl ScrolledWindow { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::child\0".as_ptr() as *const _, + c"notify::child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_child_trampoline::<F> as *const (), )), @@ -524,7 +524,7 @@ impl ScrolledWindow { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::hadjustment\0".as_ptr() as *const _, + c"notify::hadjustment".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_hadjustment_trampoline::<F> as *const (), )), @@ -547,7 +547,7 @@ impl ScrolledWindow { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::has-frame\0".as_ptr() as *const _, + c"notify::has-frame".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_has_frame_trampoline::<F> as *const (), )), @@ -575,7 +575,7 @@ impl ScrolledWindow { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::hscrollbar-policy\0".as_ptr() as *const _, + c"notify::hscrollbar-policy".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_hscrollbar_policy_trampoline::<F> as *const (), )), @@ -603,7 +603,7 @@ impl ScrolledWindow { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::kinetic-scrolling\0".as_ptr() as *const _, + c"notify::kinetic-scrolling".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_kinetic_scrolling_trampoline::<F> as *const (), )), @@ -631,7 +631,7 @@ impl ScrolledWindow { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::max-content-height\0".as_ptr() as *const _, + c"notify::max-content-height".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_max_content_height_trampoline::<F> as *const (), )), @@ -659,7 +659,7 @@ impl ScrolledWindow { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::max-content-width\0".as_ptr() as *const _, + c"notify::max-content-width".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_max_content_width_trampoline::<F> as *const (), )), @@ -687,7 +687,7 @@ impl ScrolledWindow { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::min-content-height\0".as_ptr() as *const _, + c"notify::min-content-height".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_min_content_height_trampoline::<F> as *const (), )), @@ -715,7 +715,7 @@ impl ScrolledWindow { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::min-content-width\0".as_ptr() as *const _, + c"notify::min-content-width".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_min_content_width_trampoline::<F> as *const (), )), @@ -743,7 +743,7 @@ impl ScrolledWindow { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::overlay-scrolling\0".as_ptr() as *const _, + c"notify::overlay-scrolling".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_overlay_scrolling_trampoline::<F> as *const (), )), @@ -771,7 +771,7 @@ impl ScrolledWindow { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::propagate-natural-height\0".as_ptr() as *const _, + c"notify::propagate-natural-height".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_propagate_natural_height_trampoline::<F> as *const (), )), @@ -799,7 +799,7 @@ impl ScrolledWindow { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::propagate-natural-width\0".as_ptr() as *const _, + c"notify::propagate-natural-width".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_propagate_natural_width_trampoline::<F> as *const (), )), @@ -822,7 +822,7 @@ impl ScrolledWindow { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::vadjustment\0".as_ptr() as *const _, + c"notify::vadjustment".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_vadjustment_trampoline::<F> as *const (), )), @@ -850,7 +850,7 @@ impl ScrolledWindow { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::vscrollbar-policy\0".as_ptr() as *const _, + c"notify::vscrollbar-policy".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_vscrollbar_policy_trampoline::<F> as *const (), )), @@ -875,7 +875,7 @@ impl ScrolledWindow { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::window-placement\0".as_ptr() as *const _, + c"notify::window-placement".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_window_placement_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/search_bar.rs b/gtk4/src/auto/search_bar.rs index 6651886ca537..bef778ae93f8 100644 --- a/gtk4/src/auto/search_bar.rs +++ b/gtk4/src/auto/search_bar.rs @@ -134,7 +134,7 @@ impl SearchBar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::child\0".as_ptr() as *const _, + c"notify::child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_child_trampoline::<F> as *const (), )), @@ -160,7 +160,7 @@ impl SearchBar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::key-capture-widget\0".as_ptr() as *const _, + c"notify::key-capture-widget".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_key_capture_widget_trampoline::<F> as *const (), )), @@ -186,7 +186,7 @@ impl SearchBar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::search-mode-enabled\0".as_ptr() as *const _, + c"notify::search-mode-enabled".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_search_mode_enabled_trampoline::<F> as *const (), )), @@ -212,7 +212,7 @@ impl SearchBar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-close-button\0".as_ptr() as *const _, + c"notify::show-close-button".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_close_button_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/search_entry.rs b/gtk4/src/auto/search_entry.rs index 9b353e4201a0..c7f701f0bbf1 100644 --- a/gtk4/src/auto/search_entry.rs +++ b/gtk4/src/auto/search_entry.rs @@ -154,7 +154,7 @@ impl SearchEntry { let f: Box_<F> = 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::<F> as *const (), )), @@ -180,7 +180,7 @@ impl SearchEntry { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"next-match\0".as_ptr() as *const _, + c"next-match".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( next_match_trampoline::<F> as *const (), )), @@ -206,7 +206,7 @@ impl SearchEntry { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"previous-match\0".as_ptr() as *const _, + c"previous-match".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( previous_match_trampoline::<F> as *const (), )), @@ -232,7 +232,7 @@ impl SearchEntry { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"search-changed\0".as_ptr() as *const _, + c"search-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( search_changed_trampoline::<F> as *const (), )), @@ -254,7 +254,7 @@ impl SearchEntry { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"search-started\0".as_ptr() as *const _, + c"search-started".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( search_started_trampoline::<F> as *const (), )), @@ -276,7 +276,7 @@ impl SearchEntry { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"stop-search\0".as_ptr() as *const _, + c"stop-search".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( stop_search_trampoline::<F> as *const (), )), @@ -306,7 +306,7 @@ impl SearchEntry { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::activates-default\0".as_ptr() as *const _, + c"notify::activates-default".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_activates_default_trampoline::<F> as *const (), )), @@ -331,7 +331,7 @@ impl SearchEntry { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::input-hints\0".as_ptr() as *const _, + c"notify::input-hints".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_input_hints_trampoline::<F> as *const (), )), @@ -356,7 +356,7 @@ impl SearchEntry { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::input-purpose\0".as_ptr() as *const _, + c"notify::input-purpose".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_input_purpose_trampoline::<F> as *const (), )), @@ -379,7 +379,7 @@ impl SearchEntry { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::placeholder-text\0".as_ptr() as *const _, + c"notify::placeholder-text".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_placeholder_text_trampoline::<F> as *const (), )), @@ -404,7 +404,7 @@ impl SearchEntry { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::search-delay\0".as_ptr() as *const _, + c"notify::search-delay".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_search_delay_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/section_model.rs b/gtk4/src/auto/section_model.rs index 130ac6ef828a..fc3c15dc3df9 100644 --- a/gtk4/src/auto/section_model.rs +++ b/gtk4/src/auto/section_model.rs @@ -75,7 +75,7 @@ pub trait SectionModelExt: IsA<SectionModel> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"sections-changed\0".as_ptr() as *const _, + c"sections-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( sections_changed_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/selection_filter_model.rs b/gtk4/src/auto/selection_filter_model.rs index fbb29d2e865e..e8fb023b158a 100644 --- a/gtk4/src/auto/selection_filter_model.rs +++ b/gtk4/src/auto/selection_filter_model.rs @@ -65,7 +65,7 @@ impl SelectionFilterModel { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::model\0".as_ptr() as *const _, + c"notify::model".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_model_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/selection_model.rs b/gtk4/src/auto/selection_model.rs index fc4a4546fe9f..94a4bb735051 100644 --- a/gtk4/src/auto/selection_model.rs +++ b/gtk4/src/auto/selection_model.rs @@ -162,7 +162,7 @@ pub trait SelectionModelExt: IsA<SelectionModel> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"selection-changed\0".as_ptr() as *const _, + c"selection-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( selection_changed_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/settings.rs b/gtk4/src/auto/settings.rs index 73731cd1e916..55efaa8b81f4 100644 --- a/gtk4/src/auto/settings.rs +++ b/gtk4/src/auto/settings.rs @@ -632,7 +632,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-alternative-button-order\0".as_ptr() as *const _, + c"notify::gtk-alternative-button-order".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_alternative_button_order_trampoline::<F> as *const (), )), @@ -660,7 +660,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-alternative-sort-arrows\0".as_ptr() as *const _, + c"notify::gtk-alternative-sort-arrows".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_alternative_sort_arrows_trampoline::<F> as *const (), )), @@ -688,7 +688,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-application-prefer-dark-theme\0".as_ptr() as *const _, + c"notify::gtk-application-prefer-dark-theme".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_application_prefer_dark_theme_trampoline::<F> as *const (), )), @@ -716,7 +716,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-cursor-aspect-ratio\0".as_ptr() as *const _, + c"notify::gtk-cursor-aspect-ratio".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_cursor_aspect_ratio_trampoline::<F> as *const (), )), @@ -739,7 +739,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-cursor-blink\0".as_ptr() as *const _, + c"notify::gtk-cursor-blink".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_cursor_blink_trampoline::<F> as *const (), )), @@ -765,7 +765,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-cursor-blink-time\0".as_ptr() as *const _, + c"notify::gtk-cursor-blink-time".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_cursor_blink_time_trampoline::<F> as *const (), )), @@ -793,7 +793,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-cursor-blink-timeout\0".as_ptr() as *const _, + c"notify::gtk-cursor-blink-timeout".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_cursor_blink_timeout_trampoline::<F> as *const (), )), @@ -819,7 +819,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-cursor-theme-name\0".as_ptr() as *const _, + c"notify::gtk-cursor-theme-name".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_cursor_theme_name_trampoline::<F> as *const (), )), @@ -845,7 +845,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-cursor-theme-size\0".as_ptr() as *const _, + c"notify::gtk-cursor-theme-size".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_cursor_theme_size_trampoline::<F> as *const (), )), @@ -871,7 +871,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-decoration-layout\0".as_ptr() as *const _, + c"notify::gtk-decoration-layout".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_decoration_layout_trampoline::<F> as *const (), )), @@ -899,7 +899,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-dialogs-use-header\0".as_ptr() as *const _, + c"notify::gtk-dialogs-use-header".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_dialogs_use_header_trampoline::<F> as *const (), )), @@ -927,7 +927,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-dnd-drag-threshold\0".as_ptr() as *const _, + c"notify::gtk-dnd-drag-threshold".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_dnd_drag_threshold_trampoline::<F> as *const (), )), @@ -955,7 +955,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-double-click-distance\0".as_ptr() as *const _, + c"notify::gtk-double-click-distance".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_double_click_distance_trampoline::<F> as *const (), )), @@ -981,7 +981,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-double-click-time\0".as_ptr() as *const _, + c"notify::gtk-double-click-time".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_double_click_time_trampoline::<F> as *const (), )), @@ -1007,7 +1007,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-enable-accels\0".as_ptr() as *const _, + c"notify::gtk-enable-accels".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_enable_accels_trampoline::<F> as *const (), )), @@ -1033,7 +1033,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-enable-animations\0".as_ptr() as *const _, + c"notify::gtk-enable-animations".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_enable_animations_trampoline::<F> as *const (), )), @@ -1061,7 +1061,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-enable-event-sounds\0".as_ptr() as *const _, + c"notify::gtk-enable-event-sounds".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_enable_event_sounds_trampoline::<F> as *const (), )), @@ -1089,7 +1089,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-enable-input-feedback-sounds\0".as_ptr() as *const _, + c"notify::gtk-enable-input-feedback-sounds".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_enable_input_feedback_sounds_trampoline::<F> as *const (), )), @@ -1117,7 +1117,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-enable-primary-paste\0".as_ptr() as *const _, + c"notify::gtk-enable-primary-paste".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_enable_primary_paste_trampoline::<F> as *const (), )), @@ -1145,7 +1145,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-entry-password-hint-timeout\0".as_ptr() as *const _, + c"notify::gtk-entry-password-hint-timeout".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_entry_password_hint_timeout_trampoline::<F> as *const (), )), @@ -1173,7 +1173,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-entry-select-on-focus\0".as_ptr() as *const _, + c"notify::gtk-entry-select-on-focus".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_entry_select_on_focus_trampoline::<F> as *const (), )), @@ -1196,7 +1196,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-error-bell\0".as_ptr() as *const _, + c"notify::gtk-error-bell".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_error_bell_trampoline::<F> as *const (), )), @@ -1219,7 +1219,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-font-name\0".as_ptr() as *const _, + c"notify::gtk-font-name".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_font_name_trampoline::<F> as *const (), )), @@ -1247,7 +1247,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-font-rendering\0".as_ptr() as *const _, + c"notify::gtk-font-rendering".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_font_rendering_trampoline::<F> as *const (), )), @@ -1275,7 +1275,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-fontconfig-timestamp\0".as_ptr() as *const _, + c"notify::gtk-fontconfig-timestamp".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_fontconfig_timestamp_trampoline::<F> as *const (), )), @@ -1303,7 +1303,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-hint-font-metrics\0".as_ptr() as *const _, + c"notify::gtk-hint-font-metrics".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_hint_font_metrics_trampoline::<F> as *const (), )), @@ -1329,7 +1329,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-icon-theme-name\0".as_ptr() as *const _, + c"notify::gtk-icon-theme-name".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_icon_theme_name_trampoline::<F> as *const (), )), @@ -1352,7 +1352,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-im-module\0".as_ptr() as *const _, + c"notify::gtk-im-module".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_im_module_trampoline::<F> as *const (), )), @@ -1378,7 +1378,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-keynav-use-caret\0".as_ptr() as *const _, + c"notify::gtk-keynav-use-caret".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_keynav_use_caret_trampoline::<F> as *const (), )), @@ -1406,7 +1406,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-label-select-on-focus\0".as_ptr() as *const _, + c"notify::gtk-label-select-on-focus".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_label_select_on_focus_trampoline::<F> as *const (), )), @@ -1432,7 +1432,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-long-press-time\0".as_ptr() as *const _, + c"notify::gtk-long-press-time".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_long_press_time_trampoline::<F> as *const (), )), @@ -1458,7 +1458,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-overlay-scrolling\0".as_ptr() as *const _, + c"notify::gtk-overlay-scrolling".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_overlay_scrolling_trampoline::<F> as *const (), )), @@ -1486,7 +1486,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-primary-button-warps-slider\0".as_ptr() as *const _, + c"notify::gtk-primary-button-warps-slider".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_primary_button_warps_slider_trampoline::<F> as *const (), )), @@ -1512,7 +1512,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-print-backends\0".as_ptr() as *const _, + c"notify::gtk-print-backends".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_print_backends_trampoline::<F> as *const (), )), @@ -1540,7 +1540,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-print-preview-command\0".as_ptr() as *const _, + c"notify::gtk-print-preview-command".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_print_preview_command_trampoline::<F> as *const (), )), @@ -1568,7 +1568,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-recent-files-enabled\0".as_ptr() as *const _, + c"notify::gtk-recent-files-enabled".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_recent_files_enabled_trampoline::<F> as *const (), )), @@ -1596,7 +1596,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-recent-files-max-age\0".as_ptr() as *const _, + c"notify::gtk-recent-files-max-age".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_recent_files_max_age_trampoline::<F> as *const (), )), @@ -1624,7 +1624,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-shell-shows-app-menu\0".as_ptr() as *const _, + c"notify::gtk-shell-shows-app-menu".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_shell_shows_app_menu_trampoline::<F> as *const (), )), @@ -1652,7 +1652,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-shell-shows-desktop\0".as_ptr() as *const _, + c"notify::gtk-shell-shows-desktop".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_shell_shows_desktop_trampoline::<F> as *const (), )), @@ -1680,7 +1680,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-shell-shows-menubar\0".as_ptr() as *const _, + c"notify::gtk-shell-shows-menubar".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_shell_shows_menubar_trampoline::<F> as *const (), )), @@ -1710,7 +1710,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-show-status-shapes\0".as_ptr() as *const _, + c"notify::gtk-show-status-shapes".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_show_status_shapes_trampoline::<F> as *const (), )), @@ -1736,7 +1736,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-sound-theme-name\0".as_ptr() as *const _, + c"notify::gtk-sound-theme-name".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_sound_theme_name_trampoline::<F> as *const (), )), @@ -1759,7 +1759,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-split-cursor\0".as_ptr() as *const _, + c"notify::gtk-split-cursor".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_split_cursor_trampoline::<F> as *const (), )), @@ -1782,7 +1782,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-theme-name\0".as_ptr() as *const _, + c"notify::gtk-theme-name".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_theme_name_trampoline::<F> as *const (), )), @@ -1810,7 +1810,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-titlebar-double-click\0".as_ptr() as *const _, + c"notify::gtk-titlebar-double-click".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_titlebar_double_click_trampoline::<F> as *const (), )), @@ -1838,7 +1838,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-titlebar-middle-click\0".as_ptr() as *const _, + c"notify::gtk-titlebar-middle-click".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_titlebar_middle_click_trampoline::<F> as *const (), )), @@ -1866,7 +1866,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-titlebar-right-click\0".as_ptr() as *const _, + c"notify::gtk-titlebar-right-click".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_titlebar_right_click_trampoline::<F> as *const (), )), @@ -1892,7 +1892,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-xft-antialias\0".as_ptr() as *const _, + c"notify::gtk-xft-antialias".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_xft_antialias_trampoline::<F> as *const (), )), @@ -1915,7 +1915,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-xft-dpi\0".as_ptr() as *const _, + c"notify::gtk-xft-dpi".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_xft_dpi_trampoline::<F> as *const (), )), @@ -1938,7 +1938,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-xft-hinting\0".as_ptr() as *const _, + c"notify::gtk-xft-hinting".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_xft_hinting_trampoline::<F> as *const (), )), @@ -1964,7 +1964,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-xft-hintstyle\0".as_ptr() as *const _, + c"notify::gtk-xft-hintstyle".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_xft_hintstyle_trampoline::<F> as *const (), )), @@ -1987,7 +1987,7 @@ impl Settings { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::gtk-xft-rgba\0".as_ptr() as *const _, + c"notify::gtk-xft-rgba".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_gtk_xft_rgba_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/shortcut.rs b/gtk4/src/auto/shortcut.rs index 557daf2e185f..2f0af3697ebc 100644 --- a/gtk4/src/auto/shortcut.rs +++ b/gtk4/src/auto/shortcut.rs @@ -104,7 +104,7 @@ impl Shortcut { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::action\0".as_ptr() as *const _, + c"notify::action".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_action_trampoline::<F> as *const (), )), @@ -127,7 +127,7 @@ impl Shortcut { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::arguments\0".as_ptr() as *const _, + c"notify::arguments".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_arguments_trampoline::<F> as *const (), )), @@ -150,7 +150,7 @@ impl Shortcut { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::trigger\0".as_ptr() as *const _, + c"notify::trigger".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_trigger_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/shortcut_controller.rs b/gtk4/src/auto/shortcut_controller.rs index f3d9bacb8b2a..0805af8b675d 100644 --- a/gtk4/src/auto/shortcut_controller.rs +++ b/gtk4/src/auto/shortcut_controller.rs @@ -117,7 +117,7 @@ impl ShortcutController { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::mnemonic-modifiers\0".as_ptr() as *const _, + c"notify::mnemonic-modifiers".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_mnemonic_modifiers_trampoline::<F> as *const (), )), @@ -140,7 +140,7 @@ impl ShortcutController { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::scope\0".as_ptr() as *const _, + c"notify::scope".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_scope_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/shortcut_label.rs b/gtk4/src/auto/shortcut_label.rs index aada08f35b15..bac692f484b5 100644 --- a/gtk4/src/auto/shortcut_label.rs +++ b/gtk4/src/auto/shortcut_label.rs @@ -97,7 +97,7 @@ impl ShortcutLabel { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::accelerator\0".as_ptr() as *const _, + c"notify::accelerator".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_accelerator_trampoline::<F> as *const (), )), @@ -120,7 +120,7 @@ impl ShortcutLabel { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::disabled-text\0".as_ptr() as *const _, + c"notify::disabled-text".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_disabled_text_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/shortcuts_group.rs b/gtk4/src/auto/shortcuts_group.rs index 35bb06b8f6ed..84d3e896d7f0 100644 --- a/gtk4/src/auto/shortcuts_group.rs +++ b/gtk4/src/auto/shortcuts_group.rs @@ -89,7 +89,7 @@ impl ShortcutsGroup { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::accel-size-group\0".as_ptr() as *const _, + c"notify::accel-size-group".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_accel_size_group_trampoline::<F> as *const (), )), @@ -112,7 +112,7 @@ impl ShortcutsGroup { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::height\0".as_ptr() as *const _, + c"notify::height".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_height_trampoline::<F> as *const (), )), @@ -135,7 +135,7 @@ impl ShortcutsGroup { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::title\0".as_ptr() as *const _, + c"notify::title".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_title_trampoline::<F> as *const (), )), @@ -160,7 +160,7 @@ impl ShortcutsGroup { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::title-size-group\0".as_ptr() as *const _, + c"notify::title-size-group".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_title_size_group_trampoline::<F> as *const (), )), @@ -183,7 +183,7 @@ impl ShortcutsGroup { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::view\0".as_ptr() as *const _, + c"notify::view".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_view_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/shortcuts_section.rs b/gtk4/src/auto/shortcuts_section.rs index 475a97a34bd7..9ff797c0de3a 100644 --- a/gtk4/src/auto/shortcuts_section.rs +++ b/gtk4/src/auto/shortcuts_section.rs @@ -95,7 +95,7 @@ impl ShortcutsSection { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::max-height\0".as_ptr() as *const _, + c"notify::max-height".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_max_height_trampoline::<F> as *const (), )), @@ -118,7 +118,7 @@ impl ShortcutsSection { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::section-name\0".as_ptr() as *const _, + c"notify::section-name".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_section_name_trampoline::<F> as *const (), )), @@ -141,7 +141,7 @@ impl ShortcutsSection { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::title\0".as_ptr() as *const _, + c"notify::title".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_title_trampoline::<F> as *const (), )), @@ -164,7 +164,7 @@ impl ShortcutsSection { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::view-name\0".as_ptr() as *const _, + c"notify::view-name".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_view_name_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/shortcuts_shortcut.rs b/gtk4/src/auto/shortcuts_shortcut.rs index 7196bce20334..7e02f7cbee16 100644 --- a/gtk4/src/auto/shortcuts_shortcut.rs +++ b/gtk4/src/auto/shortcuts_shortcut.rs @@ -119,7 +119,7 @@ impl ShortcutsShortcut { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::accel-size-group\0".as_ptr() as *const _, + c"notify::accel-size-group".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_accel_size_group_trampoline::<F> as *const (), )), @@ -142,7 +142,7 @@ impl ShortcutsShortcut { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::accelerator\0".as_ptr() as *const _, + c"notify::accelerator".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_accelerator_trampoline::<F> as *const (), )), @@ -165,7 +165,7 @@ impl ShortcutsShortcut { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::action-name\0".as_ptr() as *const _, + c"notify::action-name".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_action_name_trampoline::<F> as *const (), )), @@ -188,7 +188,7 @@ impl ShortcutsShortcut { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::direction\0".as_ptr() as *const _, + c"notify::direction".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_direction_trampoline::<F> as *const (), )), @@ -211,7 +211,7 @@ impl ShortcutsShortcut { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::icon\0".as_ptr() as *const _, + c"notify::icon".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_icon_trampoline::<F> as *const (), )), @@ -234,7 +234,7 @@ impl ShortcutsShortcut { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::icon-set\0".as_ptr() as *const _, + c"notify::icon-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_icon_set_trampoline::<F> as *const (), )), @@ -259,7 +259,7 @@ impl ShortcutsShortcut { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::shortcut-type\0".as_ptr() as *const _, + c"notify::shortcut-type".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_shortcut_type_trampoline::<F> as *const (), )), @@ -282,7 +282,7 @@ impl ShortcutsShortcut { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::subtitle\0".as_ptr() as *const _, + c"notify::subtitle".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_subtitle_trampoline::<F> as *const (), )), @@ -305,7 +305,7 @@ impl ShortcutsShortcut { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::subtitle-set\0".as_ptr() as *const _, + c"notify::subtitle-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_subtitle_set_trampoline::<F> as *const (), )), @@ -328,7 +328,7 @@ impl ShortcutsShortcut { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::title\0".as_ptr() as *const _, + c"notify::title".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_title_trampoline::<F> as *const (), )), @@ -353,7 +353,7 @@ impl ShortcutsShortcut { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::title-size-group\0".as_ptr() as *const _, + c"notify::title-size-group".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_title_size_group_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/shortcuts_window.rs b/gtk4/src/auto/shortcuts_window.rs index 716de80eeaa2..dc57c2848cc2 100644 --- a/gtk4/src/auto/shortcuts_window.rs +++ b/gtk4/src/auto/shortcuts_window.rs @@ -76,7 +76,7 @@ impl ShortcutsWindow { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"close\0".as_ptr() as *const _, + c"close".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( close_trampoline::<F> as *const (), )), @@ -102,7 +102,7 @@ impl ShortcutsWindow { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"search\0".as_ptr() as *const _, + c"search".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( search_trampoline::<F> as *const (), )), @@ -129,7 +129,7 @@ impl ShortcutsWindow { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::section-name\0".as_ptr() as *const _, + c"notify::section-name".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_section_name_trampoline::<F> as *const (), )), @@ -152,7 +152,7 @@ impl ShortcutsWindow { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::view-name\0".as_ptr() as *const _, + c"notify::view-name".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_view_name_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/signal_list_item_factory.rs b/gtk4/src/auto/signal_list_item_factory.rs index a22d310dd99c..b2e55ce72fc5 100644 --- a/gtk4/src/auto/signal_list_item_factory.rs +++ b/gtk4/src/auto/signal_list_item_factory.rs @@ -47,7 +47,7 @@ impl SignalListItemFactory { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"bind\0".as_ptr() as *const _, + c"bind".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( bind_trampoline::<F> as *const (), )), @@ -74,7 +74,7 @@ impl SignalListItemFactory { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"setup\0".as_ptr() as *const _, + c"setup".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( setup_trampoline::<F> as *const (), )), @@ -101,7 +101,7 @@ impl SignalListItemFactory { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"teardown\0".as_ptr() as *const _, + c"teardown".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( teardown_trampoline::<F> as *const (), )), @@ -128,7 +128,7 @@ impl SignalListItemFactory { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"unbind\0".as_ptr() as *const _, + c"unbind".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( unbind_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/single_selection.rs b/gtk4/src/auto/single_selection.rs index 3e7d633ba961..187d224d4e3e 100644 --- a/gtk4/src/auto/single_selection.rs +++ b/gtk4/src/auto/single_selection.rs @@ -150,7 +150,7 @@ impl SingleSelection { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::autoselect\0".as_ptr() as *const _, + c"notify::autoselect".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_autoselect_trampoline::<F> as *const (), )), @@ -173,7 +173,7 @@ impl SingleSelection { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::can-unselect\0".as_ptr() as *const _, + c"notify::can-unselect".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_can_unselect_trampoline::<F> as *const (), )), @@ -196,7 +196,7 @@ impl SingleSelection { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::model\0".as_ptr() as *const _, + c"notify::model".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_model_trampoline::<F> as *const (), )), @@ -219,7 +219,7 @@ impl SingleSelection { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::selected\0".as_ptr() as *const _, + c"notify::selected".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_selected_trampoline::<F> as *const (), )), @@ -242,7 +242,7 @@ impl SingleSelection { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::selected-item\0".as_ptr() as *const _, + c"notify::selected-item".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_selected_item_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/size_group.rs b/gtk4/src/auto/size_group.rs index 9c0437fc5967..988a4e59cda6 100644 --- a/gtk4/src/auto/size_group.rs +++ b/gtk4/src/auto/size_group.rs @@ -81,7 +81,7 @@ impl SizeGroup { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::mode\0".as_ptr() as *const _, + c"notify::mode".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_mode_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/slice_list_model.rs b/gtk4/src/auto/slice_list_model.rs index 42a96b6f9143..9a6439149b54 100644 --- a/gtk4/src/auto/slice_list_model.rs +++ b/gtk4/src/auto/slice_list_model.rs @@ -114,7 +114,7 @@ impl SliceListModel { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::model\0".as_ptr() as *const _, + c"notify::model".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_model_trampoline::<F> as *const (), )), @@ -137,7 +137,7 @@ impl SliceListModel { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::offset\0".as_ptr() as *const _, + c"notify::offset".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_offset_trampoline::<F> as *const (), )), @@ -160,7 +160,7 @@ impl SliceListModel { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::size\0".as_ptr() as *const _, + c"notify::size".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_size_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/sort_list_model.rs b/gtk4/src/auto/sort_list_model.rs index 55a4ea38e114..31b77f208081 100644 --- a/gtk4/src/auto/sort_list_model.rs +++ b/gtk4/src/auto/sort_list_model.rs @@ -159,7 +159,7 @@ impl SortListModel { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::incremental\0".as_ptr() as *const _, + c"notify::incremental".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_incremental_trampoline::<F> as *const (), )), @@ -182,7 +182,7 @@ impl SortListModel { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::model\0".as_ptr() as *const _, + c"notify::model".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_model_trampoline::<F> as *const (), )), @@ -205,7 +205,7 @@ impl SortListModel { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::pending\0".as_ptr() as *const _, + c"notify::pending".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_pending_trampoline::<F> as *const (), )), @@ -230,7 +230,7 @@ impl SortListModel { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::section-sorter\0".as_ptr() as *const _, + c"notify::section-sorter".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_section_sorter_trampoline::<F> as *const (), )), @@ -253,7 +253,7 @@ impl SortListModel { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::sorter\0".as_ptr() as *const _, + c"notify::sorter".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_sorter_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/sorter.rs b/gtk4/src/auto/sorter.rs index 76c1862e131f..5334ad6a1313 100644 --- a/gtk4/src/auto/sorter.rs +++ b/gtk4/src/auto/sorter.rs @@ -68,7 +68,7 @@ pub trait SorterExt: IsA<Sorter> + 'static { let f: Box_<F> = 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::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/spin_button.rs b/gtk4/src/auto/spin_button.rs index 8251a2caee58..880bb76e589c 100644 --- a/gtk4/src/auto/spin_button.rs +++ b/gtk4/src/auto/spin_button.rs @@ -327,7 +327,7 @@ impl SpinButton { let f: Box_<F> = 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::<F> as *const (), )), @@ -359,7 +359,7 @@ impl SpinButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"change-value\0".as_ptr() as *const _, + c"change-value".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( change_value_trampoline::<F> as *const (), )), @@ -390,7 +390,7 @@ impl SpinButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"output\0".as_ptr() as *const _, + c"output".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( output_trampoline::<F> as *const (), )), @@ -412,7 +412,7 @@ impl SpinButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"value-changed\0".as_ptr() as *const _, + c"value-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( value_changed_trampoline::<F> as *const (), )), @@ -434,7 +434,7 @@ impl SpinButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"wrapped\0".as_ptr() as *const _, + c"wrapped".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( wrapped_trampoline::<F> as *const (), )), @@ -462,7 +462,7 @@ impl SpinButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::activates-default\0".as_ptr() as *const _, + c"notify::activates-default".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_activates_default_trampoline::<F> as *const (), )), @@ -485,7 +485,7 @@ impl SpinButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::adjustment\0".as_ptr() as *const _, + c"notify::adjustment".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_adjustment_trampoline::<F> as *const (), )), @@ -508,7 +508,7 @@ impl SpinButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::climb-rate\0".as_ptr() as *const _, + c"notify::climb-rate".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_climb_rate_trampoline::<F> as *const (), )), @@ -531,7 +531,7 @@ impl SpinButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::digits\0".as_ptr() as *const _, + c"notify::digits".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_digits_trampoline::<F> as *const (), )), @@ -554,7 +554,7 @@ impl SpinButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::numeric\0".as_ptr() as *const _, + c"notify::numeric".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_numeric_trampoline::<F> as *const (), )), @@ -577,7 +577,7 @@ impl SpinButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::snap-to-ticks\0".as_ptr() as *const _, + c"notify::snap-to-ticks".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_snap_to_ticks_trampoline::<F> as *const (), )), @@ -600,7 +600,7 @@ impl SpinButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::update-policy\0".as_ptr() as *const _, + c"notify::update-policy".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_update_policy_trampoline::<F> as *const (), )), @@ -623,7 +623,7 @@ impl SpinButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::value\0".as_ptr() as *const _, + c"notify::value".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_value_trampoline::<F> as *const (), )), @@ -646,7 +646,7 @@ impl SpinButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::wrap\0".as_ptr() as *const _, + c"notify::wrap".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_wrap_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/spinner.rs b/gtk4/src/auto/spinner.rs index 36820a9764b1..cb44eba33f56 100644 --- a/gtk4/src/auto/spinner.rs +++ b/gtk4/src/auto/spinner.rs @@ -80,7 +80,7 @@ impl Spinner { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::spinning\0".as_ptr() as *const _, + c"notify::spinning".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_spinning_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/stack.rs b/gtk4/src/auto/stack.rs index 029d7d6f73a3..a8d570b9ae60 100644 --- a/gtk4/src/auto/stack.rs +++ b/gtk4/src/auto/stack.rs @@ -253,7 +253,7 @@ impl Stack { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::hhomogeneous\0".as_ptr() as *const _, + c"notify::hhomogeneous".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_hhomogeneous_trampoline::<F> as *const (), )), @@ -276,7 +276,7 @@ impl Stack { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::interpolate-size\0".as_ptr() as *const _, + c"notify::interpolate-size".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_interpolate_size_trampoline::<F> as *const (), )), @@ -299,7 +299,7 @@ impl Stack { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::pages\0".as_ptr() as *const _, + c"notify::pages".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_pages_trampoline::<F> as *const (), )), @@ -325,7 +325,7 @@ impl Stack { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::transition-duration\0".as_ptr() as *const _, + c"notify::transition-duration".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_transition_duration_trampoline::<F> as *const (), )), @@ -351,7 +351,7 @@ impl Stack { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::transition-running\0".as_ptr() as *const _, + c"notify::transition-running".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_transition_running_trampoline::<F> as *const (), )), @@ -374,7 +374,7 @@ impl Stack { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::transition-type\0".as_ptr() as *const _, + c"notify::transition-type".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_transition_type_trampoline::<F> as *const (), )), @@ -397,7 +397,7 @@ impl Stack { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::vhomogeneous\0".as_ptr() as *const _, + c"notify::vhomogeneous".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_vhomogeneous_trampoline::<F> as *const (), )), @@ -420,7 +420,7 @@ impl Stack { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::visible-child\0".as_ptr() as *const _, + c"notify::visible-child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_visible_child_trampoline::<F> as *const (), )), @@ -446,7 +446,7 @@ impl Stack { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::visible-child-name\0".as_ptr() as *const _, + c"notify::visible-child-name".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_visible_child_name_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/stack_page.rs b/gtk4/src/auto/stack_page.rs index 584919b05fcd..13e6cabdd123 100644 --- a/gtk4/src/auto/stack_page.rs +++ b/gtk4/src/auto/stack_page.rs @@ -132,7 +132,7 @@ impl StackPage { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::icon-name\0".as_ptr() as *const _, + c"notify::icon-name".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_icon_name_trampoline::<F> as *const (), )), @@ -155,7 +155,7 @@ impl StackPage { let f: Box_<F> = 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::<F> as *const (), )), @@ -178,7 +178,7 @@ impl StackPage { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::needs-attention\0".as_ptr() as *const _, + c"notify::needs-attention".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_needs_attention_trampoline::<F> as *const (), )), @@ -201,7 +201,7 @@ impl StackPage { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::title\0".as_ptr() as *const _, + c"notify::title".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_title_trampoline::<F> as *const (), )), @@ -224,7 +224,7 @@ impl StackPage { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::use-underline\0".as_ptr() as *const _, + c"notify::use-underline".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_use_underline_trampoline::<F> as *const (), )), @@ -247,7 +247,7 @@ impl StackPage { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::visible\0".as_ptr() as *const _, + c"notify::visible".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_visible_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/stack_sidebar.rs b/gtk4/src/auto/stack_sidebar.rs index c11464b85250..7b5570ee1334 100644 --- a/gtk4/src/auto/stack_sidebar.rs +++ b/gtk4/src/auto/stack_sidebar.rs @@ -65,7 +65,7 @@ impl StackSidebar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::stack\0".as_ptr() as *const _, + c"notify::stack".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_stack_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/stack_switcher.rs b/gtk4/src/auto/stack_switcher.rs index 753a7fec0175..b06cc934d865 100644 --- a/gtk4/src/auto/stack_switcher.rs +++ b/gtk4/src/auto/stack_switcher.rs @@ -65,7 +65,7 @@ impl StackSwitcher { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::stack\0".as_ptr() as *const _, + c"notify::stack".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_stack_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/statusbar.rs b/gtk4/src/auto/statusbar.rs index 1213a24a2942..7eb9fc4e4bc2 100644 --- a/gtk4/src/auto/statusbar.rs +++ b/gtk4/src/auto/statusbar.rs @@ -107,7 +107,7 @@ impl Statusbar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"text-popped\0".as_ptr() as *const _, + c"text-popped".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( text_popped_trampoline::<F> as *const (), )), @@ -136,7 +136,7 @@ impl Statusbar { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"text-pushed\0".as_ptr() as *const _, + c"text-pushed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( text_pushed_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/string_filter.rs b/gtk4/src/auto/string_filter.rs index b9e67e008d3c..ac5be9a61d81 100644 --- a/gtk4/src/auto/string_filter.rs +++ b/gtk4/src/auto/string_filter.rs @@ -119,7 +119,7 @@ impl StringFilter { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::expression\0".as_ptr() as *const _, + c"notify::expression".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_expression_trampoline::<F> as *const (), )), @@ -142,7 +142,7 @@ impl StringFilter { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::ignore-case\0".as_ptr() as *const _, + c"notify::ignore-case".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_ignore_case_trampoline::<F> as *const (), )), @@ -165,7 +165,7 @@ impl StringFilter { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::match-mode\0".as_ptr() as *const _, + c"notify::match-mode".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_match_mode_trampoline::<F> as *const (), )), @@ -188,7 +188,7 @@ impl StringFilter { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::search\0".as_ptr() as *const _, + c"notify::search".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_search_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/string_object.rs b/gtk4/src/auto/string_object.rs index f0af826a9dda..53d13a32a371 100644 --- a/gtk4/src/auto/string_object.rs +++ b/gtk4/src/auto/string_object.rs @@ -46,7 +46,7 @@ impl StringObject { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::string\0".as_ptr() as *const _, + c"notify::string".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_string_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/string_sorter.rs b/gtk4/src/auto/string_sorter.rs index 68fe5b616376..f1fe9941815c 100644 --- a/gtk4/src/auto/string_sorter.rs +++ b/gtk4/src/auto/string_sorter.rs @@ -113,7 +113,7 @@ impl StringSorter { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::collation\0".as_ptr() as *const _, + c"notify::collation".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_collation_trampoline::<F> as *const (), )), @@ -136,7 +136,7 @@ impl StringSorter { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::expression\0".as_ptr() as *const _, + c"notify::expression".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_expression_trampoline::<F> as *const (), )), @@ -159,7 +159,7 @@ impl StringSorter { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::ignore-case\0".as_ptr() as *const _, + c"notify::ignore-case".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_ignore_case_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/style_context.rs b/gtk4/src/auto/style_context.rs index fcd15b112ce6..2e2d9bf1e706 100644 --- a/gtk4/src/auto/style_context.rs +++ b/gtk4/src/auto/style_context.rs @@ -275,7 +275,7 @@ pub trait StyleContextExt: IsA<StyleContext> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::display\0".as_ptr() as *const _, + c"notify::display".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_display_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/style_provider.rs b/gtk4/src/auto/style_provider.rs index 496a11a932d9..2771244be3f2 100644 --- a/gtk4/src/auto/style_provider.rs +++ b/gtk4/src/auto/style_provider.rs @@ -40,7 +40,7 @@ pub trait StyleProviderExt: IsA<StyleProvider> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"gtk-private-changed\0".as_ptr() as *const _, + c"gtk-private-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( gtk_private_changed_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/switch.rs b/gtk4/src/auto/switch.rs index 75dac6580831..521dc558ffc3 100644 --- a/gtk4/src/auto/switch.rs +++ b/gtk4/src/auto/switch.rs @@ -79,7 +79,7 @@ impl Switch { let f: Box_<F> = 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::<F> as *const (), )), @@ -111,7 +111,7 @@ impl Switch { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"state-set\0".as_ptr() as *const _, + c"state-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( state_set_trampoline::<F> as *const (), )), @@ -134,7 +134,7 @@ impl Switch { let f: Box_<F> = 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::<F> as *const (), )), @@ -157,7 +157,7 @@ impl Switch { let f: Box_<F> = 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::<F> as *const (), )), diff --git a/gtk4/src/auto/text.rs b/gtk4/src/auto/text.rs index 9447d22e0d54..872c9360e912 100644 --- a/gtk4/src/auto/text.rs +++ b/gtk4/src/auto/text.rs @@ -385,7 +385,7 @@ impl Text { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::activates-default\0".as_ptr() as *const _, + c"notify::activates-default".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_activates_default_trampoline::<F> as *const (), )), @@ -408,7 +408,7 @@ impl Text { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::attributes\0".as_ptr() as *const _, + c"notify::attributes".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_attributes_trampoline::<F> as *const (), )), @@ -431,7 +431,7 @@ impl Text { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::buffer\0".as_ptr() as *const _, + c"notify::buffer".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_buffer_trampoline::<F> as *const (), )), @@ -457,7 +457,7 @@ impl Text { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::enable-emoji-completion\0".as_ptr() as *const _, + c"notify::enable-emoji-completion".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_enable_emoji_completion_trampoline::<F> as *const (), )), @@ -480,7 +480,7 @@ impl Text { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::extra-menu\0".as_ptr() as *const _, + c"notify::extra-menu".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_extra_menu_trampoline::<F> as *const (), )), @@ -503,7 +503,7 @@ impl Text { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::im-module\0".as_ptr() as *const _, + c"notify::im-module".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_im_module_trampoline::<F> as *const (), )), @@ -526,7 +526,7 @@ impl Text { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::input-hints\0".as_ptr() as *const _, + c"notify::input-hints".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_input_hints_trampoline::<F> as *const (), )), @@ -549,7 +549,7 @@ impl Text { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::input-purpose\0".as_ptr() as *const _, + c"notify::input-purpose".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_input_purpose_trampoline::<F> as *const (), )), @@ -572,7 +572,7 @@ impl Text { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::invisible-char\0".as_ptr() as *const _, + c"notify::invisible-char".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_invisible_char_trampoline::<F> as *const (), )), @@ -598,7 +598,7 @@ impl Text { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::invisible-char-set\0".as_ptr() as *const _, + c"notify::invisible-char-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_invisible_char_set_trampoline::<F> as *const (), )), @@ -621,7 +621,7 @@ impl Text { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::max-length\0".as_ptr() as *const _, + c"notify::max-length".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_max_length_trampoline::<F> as *const (), )), @@ -644,7 +644,7 @@ impl Text { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::overwrite-mode\0".as_ptr() as *const _, + c"notify::overwrite-mode".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_overwrite_mode_trampoline::<F> as *const (), )), @@ -667,7 +667,7 @@ impl Text { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::placeholder-text\0".as_ptr() as *const _, + c"notify::placeholder-text".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_placeholder_text_trampoline::<F> as *const (), )), @@ -693,7 +693,7 @@ impl Text { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::propagate-text-width\0".as_ptr() as *const _, + c"notify::propagate-text-width".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_propagate_text_width_trampoline::<F> as *const (), )), @@ -716,7 +716,7 @@ impl Text { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::scroll-offset\0".as_ptr() as *const _, + c"notify::scroll-offset".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_scroll_offset_trampoline::<F> as *const (), )), @@ -739,7 +739,7 @@ impl Text { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::tabs\0".as_ptr() as *const _, + c"notify::tabs".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_tabs_trampoline::<F> as *const (), )), @@ -765,7 +765,7 @@ impl Text { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::truncate-multiline\0".as_ptr() as *const _, + c"notify::truncate-multiline".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_truncate_multiline_trampoline::<F> as *const (), )), @@ -788,7 +788,7 @@ impl Text { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::visibility\0".as_ptr() as *const _, + c"notify::visibility".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_visibility_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/text_buffer.rs b/gtk4/src/auto/text_buffer.rs index d7b46d5cb5ef..3fb1ac3ae2c2 100644 --- a/gtk4/src/auto/text_buffer.rs +++ b/gtk4/src/auto/text_buffer.rs @@ -908,7 +908,7 @@ pub trait TextBufferExt: IsA<TextBuffer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"apply-tag\0".as_ptr() as *const _, + c"apply-tag".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( apply_tag_trampoline::<Self, F> as *const (), )), @@ -933,7 +933,7 @@ pub trait TextBufferExt: IsA<TextBuffer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"begin-user-action\0".as_ptr() as *const _, + c"begin-user-action".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( begin_user_action_trampoline::<Self, F> as *const (), )), @@ -955,7 +955,7 @@ pub trait TextBufferExt: IsA<TextBuffer> + 'static { let f: Box_<F> = 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::<Self, F> as *const (), )), @@ -989,7 +989,7 @@ pub trait TextBufferExt: IsA<TextBuffer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"delete-range\0".as_ptr() as *const _, + c"delete-range".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( delete_range_trampoline::<Self, F> as *const (), )), @@ -1011,7 +1011,7 @@ pub trait TextBufferExt: IsA<TextBuffer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"end-user-action\0".as_ptr() as *const _, + c"end-user-action".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( end_user_action_trampoline::<Self, F> as *const (), )), @@ -1045,7 +1045,7 @@ pub trait TextBufferExt: IsA<TextBuffer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"insert-child-anchor\0".as_ptr() as *const _, + c"insert-child-anchor".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( insert_child_anchor_trampoline::<Self, F> as *const (), )), @@ -1079,7 +1079,7 @@ pub trait TextBufferExt: IsA<TextBuffer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"insert-paintable\0".as_ptr() as *const _, + c"insert-paintable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( insert_paintable_trampoline::<Self, F> as *const (), )), @@ -1108,7 +1108,7 @@ pub trait TextBufferExt: IsA<TextBuffer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"mark-deleted\0".as_ptr() as *const _, + c"mark-deleted".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( mark_deleted_trampoline::<Self, F> as *const (), )), @@ -1142,7 +1142,7 @@ pub trait TextBufferExt: IsA<TextBuffer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"mark-set\0".as_ptr() as *const _, + c"mark-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( mark_set_trampoline::<Self, F> as *const (), )), @@ -1167,7 +1167,7 @@ pub trait TextBufferExt: IsA<TextBuffer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"modified-changed\0".as_ptr() as *const _, + c"modified-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( modified_changed_trampoline::<Self, F> as *const (), )), @@ -1196,7 +1196,7 @@ pub trait TextBufferExt: IsA<TextBuffer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"paste-done\0".as_ptr() as *const _, + c"paste-done".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( paste_done_trampoline::<Self, F> as *const (), )), @@ -1218,7 +1218,7 @@ pub trait TextBufferExt: IsA<TextBuffer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"redo\0".as_ptr() as *const _, + c"redo".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( redo_trampoline::<Self, F> as *const (), )), @@ -1254,7 +1254,7 @@ pub trait TextBufferExt: IsA<TextBuffer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"remove-tag\0".as_ptr() as *const _, + c"remove-tag".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( remove_tag_trampoline::<Self, F> as *const (), )), @@ -1276,7 +1276,7 @@ pub trait TextBufferExt: IsA<TextBuffer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"undo\0".as_ptr() as *const _, + c"undo".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( undo_trampoline::<Self, F> as *const (), )), @@ -1299,7 +1299,7 @@ pub trait TextBufferExt: IsA<TextBuffer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::can-redo\0".as_ptr() as *const _, + c"notify::can-redo".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_can_redo_trampoline::<Self, F> as *const (), )), @@ -1322,7 +1322,7 @@ pub trait TextBufferExt: IsA<TextBuffer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::can-undo\0".as_ptr() as *const _, + c"notify::can-undo".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_can_undo_trampoline::<Self, F> as *const (), )), @@ -1348,7 +1348,7 @@ pub trait TextBufferExt: IsA<TextBuffer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::cursor-position\0".as_ptr() as *const _, + c"notify::cursor-position".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_cursor_position_trampoline::<Self, F> as *const (), )), @@ -1374,7 +1374,7 @@ pub trait TextBufferExt: IsA<TextBuffer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::enable-undo\0".as_ptr() as *const _, + c"notify::enable-undo".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_enable_undo_trampoline::<Self, F> as *const (), )), @@ -1400,7 +1400,7 @@ pub trait TextBufferExt: IsA<TextBuffer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::has-selection\0".as_ptr() as *const _, + c"notify::has-selection".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_has_selection_trampoline::<Self, F> as *const (), )), @@ -1423,7 +1423,7 @@ pub trait TextBufferExt: IsA<TextBuffer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::text\0".as_ptr() as *const _, + c"notify::text".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_text_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/text_tag.rs b/gtk4/src/auto/text_tag.rs index ec263ce61d9d..d1f069c77ae2 100644 --- a/gtk4/src/auto/text_tag.rs +++ b/gtk4/src/auto/text_tag.rs @@ -1355,7 +1355,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::accumulative-margin\0".as_ptr() as *const _, + c"notify::accumulative-margin".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_accumulative_margin_trampoline::<Self, F> as *const (), )), @@ -1381,7 +1381,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::allow-breaks\0".as_ptr() as *const _, + c"notify::allow-breaks".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_allow_breaks_trampoline::<Self, F> as *const (), )), @@ -1407,7 +1407,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::allow-breaks-set\0".as_ptr() as *const _, + c"notify::allow-breaks-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_allow_breaks_set_trampoline::<Self, F> as *const (), )), @@ -1430,7 +1430,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::background\0".as_ptr() as *const _, + c"notify::background".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_background_trampoline::<Self, F> as *const (), )), @@ -1459,7 +1459,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::background-full-height\0".as_ptr() as *const _, + c"notify::background-full-height".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_background_full_height_trampoline::<Self, F> as *const (), )), @@ -1488,7 +1488,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::background-full-height-set\0".as_ptr() as *const _, + c"notify::background-full-height-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_background_full_height_set_trampoline::<Self, F> as *const (), )), @@ -1514,7 +1514,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::background-rgba\0".as_ptr() as *const _, + c"notify::background-rgba".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_background_rgba_trampoline::<Self, F> as *const (), )), @@ -1540,7 +1540,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::background-set\0".as_ptr() as *const _, + c"notify::background-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_background_set_trampoline::<Self, F> as *const (), )), @@ -1563,7 +1563,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::direction\0".as_ptr() as *const _, + c"notify::direction".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_direction_trampoline::<Self, F> as *const (), )), @@ -1586,7 +1586,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::editable\0".as_ptr() as *const _, + c"notify::editable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_editable_trampoline::<Self, F> as *const (), )), @@ -1612,7 +1612,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::editable-set\0".as_ptr() as *const _, + c"notify::editable-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_editable_set_trampoline::<Self, F> as *const (), )), @@ -1635,7 +1635,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::fallback\0".as_ptr() as *const _, + c"notify::fallback".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_fallback_trampoline::<Self, F> as *const (), )), @@ -1661,7 +1661,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::fallback-set\0".as_ptr() as *const _, + c"notify::fallback-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_fallback_set_trampoline::<Self, F> as *const (), )), @@ -1684,7 +1684,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = 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::<Self, F> as *const (), )), @@ -1707,7 +1707,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::family-set\0".as_ptr() as *const _, + c"notify::family-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_family_set_trampoline::<Self, F> as *const (), )), @@ -1730,7 +1730,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::font\0".as_ptr() as *const _, + c"notify::font".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_font_trampoline::<Self, F> as *const (), )), @@ -1753,7 +1753,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::font-desc\0".as_ptr() as *const _, + c"notify::font-desc".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_font_desc_trampoline::<Self, F> as *const (), )), @@ -1779,7 +1779,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::font-features\0".as_ptr() as *const _, + c"notify::font-features".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_font_features_trampoline::<Self, F> as *const (), )), @@ -1805,7 +1805,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::font-features-set\0".as_ptr() as *const _, + c"notify::font-features-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_font_features_set_trampoline::<Self, F> as *const (), )), @@ -1828,7 +1828,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::foreground\0".as_ptr() as *const _, + c"notify::foreground".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_foreground_trampoline::<Self, F> as *const (), )), @@ -1854,7 +1854,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::foreground-rgba\0".as_ptr() as *const _, + c"notify::foreground-rgba".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_foreground_rgba_trampoline::<Self, F> as *const (), )), @@ -1880,7 +1880,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::foreground-set\0".as_ptr() as *const _, + c"notify::foreground-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_foreground_set_trampoline::<Self, F> as *const (), )), @@ -1903,7 +1903,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::indent\0".as_ptr() as *const _, + c"notify::indent".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_indent_trampoline::<Self, F> as *const (), )), @@ -1926,7 +1926,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::indent-set\0".as_ptr() as *const _, + c"notify::indent-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_indent_set_trampoline::<Self, F> as *const (), )), @@ -1952,7 +1952,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::insert-hyphens\0".as_ptr() as *const _, + c"notify::insert-hyphens".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_insert_hyphens_trampoline::<Self, F> as *const (), )), @@ -1978,7 +1978,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::insert-hyphens-set\0".as_ptr() as *const _, + c"notify::insert-hyphens-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_insert_hyphens_set_trampoline::<Self, F> as *const (), )), @@ -2001,7 +2001,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::invisible\0".as_ptr() as *const _, + c"notify::invisible".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_invisible_trampoline::<Self, F> as *const (), )), @@ -2027,7 +2027,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::invisible-set\0".as_ptr() as *const _, + c"notify::invisible-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_invisible_set_trampoline::<Self, F> as *const (), )), @@ -2053,7 +2053,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::justification\0".as_ptr() as *const _, + c"notify::justification".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_justification_trampoline::<Self, F> as *const (), )), @@ -2079,7 +2079,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::justification-set\0".as_ptr() as *const _, + c"notify::justification-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_justification_set_trampoline::<Self, F> as *const (), )), @@ -2102,7 +2102,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::language\0".as_ptr() as *const _, + c"notify::language".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_language_trampoline::<Self, F> as *const (), )), @@ -2128,7 +2128,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::language-set\0".as_ptr() as *const _, + c"notify::language-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_language_set_trampoline::<Self, F> as *const (), )), @@ -2151,7 +2151,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::left-margin\0".as_ptr() as *const _, + c"notify::left-margin".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_left_margin_trampoline::<Self, F> as *const (), )), @@ -2177,7 +2177,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::left-margin-set\0".as_ptr() as *const _, + c"notify::left-margin-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_left_margin_set_trampoline::<Self, F> as *const (), )), @@ -2203,7 +2203,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::letter-spacing\0".as_ptr() as *const _, + c"notify::letter-spacing".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_letter_spacing_trampoline::<Self, F> as *const (), )), @@ -2229,7 +2229,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::letter-spacing-set\0".as_ptr() as *const _, + c"notify::letter-spacing-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_letter_spacing_set_trampoline::<Self, F> as *const (), )), @@ -2254,7 +2254,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::line-height\0".as_ptr() as *const _, + c"notify::line-height".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_line_height_trampoline::<Self, F> as *const (), )), @@ -2282,7 +2282,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::line-height-set\0".as_ptr() as *const _, + c"notify::line-height-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_line_height_set_trampoline::<Self, F> as *const (), )), @@ -2305,7 +2305,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::overline\0".as_ptr() as *const _, + c"notify::overline".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_overline_trampoline::<Self, F> as *const (), )), @@ -2331,7 +2331,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::overline-rgba\0".as_ptr() as *const _, + c"notify::overline-rgba".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_overline_rgba_trampoline::<Self, F> as *const (), )), @@ -2357,7 +2357,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::overline-rgba-set\0".as_ptr() as *const _, + c"notify::overline-rgba-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_overline_rgba_set_trampoline::<Self, F> as *const (), )), @@ -2383,7 +2383,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::overline-set\0".as_ptr() as *const _, + c"notify::overline-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_overline_set_trampoline::<Self, F> as *const (), )), @@ -2409,7 +2409,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::paragraph-background\0".as_ptr() as *const _, + c"notify::paragraph-background".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_paragraph_background_trampoline::<Self, F> as *const (), )), @@ -2438,7 +2438,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::paragraph-background-rgba\0".as_ptr() as *const _, + c"notify::paragraph-background-rgba".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_paragraph_background_rgba_trampoline::<Self, F> as *const (), )), @@ -2467,7 +2467,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::paragraph-background-set\0".as_ptr() as *const _, + c"notify::paragraph-background-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_paragraph_background_set_trampoline::<Self, F> as *const (), )), @@ -2493,7 +2493,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::pixels-above-lines\0".as_ptr() as *const _, + c"notify::pixels-above-lines".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_pixels_above_lines_trampoline::<Self, F> as *const (), )), @@ -2522,7 +2522,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::pixels-above-lines-set\0".as_ptr() as *const _, + c"notify::pixels-above-lines-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_pixels_above_lines_set_trampoline::<Self, F> as *const (), )), @@ -2548,7 +2548,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::pixels-below-lines\0".as_ptr() as *const _, + c"notify::pixels-below-lines".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_pixels_below_lines_trampoline::<Self, F> as *const (), )), @@ -2577,7 +2577,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::pixels-below-lines-set\0".as_ptr() as *const _, + c"notify::pixels-below-lines-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_pixels_below_lines_set_trampoline::<Self, F> as *const (), )), @@ -2603,7 +2603,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::pixels-inside-wrap\0".as_ptr() as *const _, + c"notify::pixels-inside-wrap".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_pixels_inside_wrap_trampoline::<Self, F> as *const (), )), @@ -2632,7 +2632,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::pixels-inside-wrap-set\0".as_ptr() as *const _, + c"notify::pixels-inside-wrap-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_pixels_inside_wrap_set_trampoline::<Self, F> as *const (), )), @@ -2658,7 +2658,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::right-margin\0".as_ptr() as *const _, + c"notify::right-margin".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_right_margin_trampoline::<Self, F> as *const (), )), @@ -2684,7 +2684,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::right-margin-set\0".as_ptr() as *const _, + c"notify::right-margin-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_right_margin_set_trampoline::<Self, F> as *const (), )), @@ -2707,7 +2707,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::rise\0".as_ptr() as *const _, + c"notify::rise".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_rise_trampoline::<Self, F> as *const (), )), @@ -2730,7 +2730,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::rise-set\0".as_ptr() as *const _, + c"notify::rise-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_rise_set_trampoline::<Self, F> as *const (), )), @@ -2753,7 +2753,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::scale\0".as_ptr() as *const _, + c"notify::scale".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_scale_trampoline::<Self, F> as *const (), )), @@ -2776,7 +2776,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::scale-set\0".as_ptr() as *const _, + c"notify::scale-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_scale_set_trampoline::<Self, F> as *const (), )), @@ -2801,7 +2801,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::sentence\0".as_ptr() as *const _, + c"notify::sentence".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_sentence_trampoline::<Self, F> as *const (), )), @@ -2829,7 +2829,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::sentence-set\0".as_ptr() as *const _, + c"notify::sentence-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_sentence_set_trampoline::<Self, F> as *const (), )), @@ -2852,7 +2852,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-spaces\0".as_ptr() as *const _, + c"notify::show-spaces".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_spaces_trampoline::<Self, F> as *const (), )), @@ -2878,7 +2878,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-spaces-set\0".as_ptr() as *const _, + c"notify::show-spaces-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_spaces_set_trampoline::<Self, F> as *const (), )), @@ -2901,7 +2901,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::size\0".as_ptr() as *const _, + c"notify::size".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_size_trampoline::<Self, F> as *const (), )), @@ -2924,7 +2924,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::size-points\0".as_ptr() as *const _, + c"notify::size-points".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_size_points_trampoline::<Self, F> as *const (), )), @@ -2947,7 +2947,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::size-set\0".as_ptr() as *const _, + c"notify::size-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_size_set_trampoline::<Self, F> as *const (), )), @@ -2970,7 +2970,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::stretch\0".as_ptr() as *const _, + c"notify::stretch".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_stretch_trampoline::<Self, F> as *const (), )), @@ -2993,7 +2993,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::stretch-set\0".as_ptr() as *const _, + c"notify::stretch-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_stretch_set_trampoline::<Self, F> as *const (), )), @@ -3019,7 +3019,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::strikethrough\0".as_ptr() as *const _, + c"notify::strikethrough".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_strikethrough_trampoline::<Self, F> as *const (), )), @@ -3045,7 +3045,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::strikethrough-rgba\0".as_ptr() as *const _, + c"notify::strikethrough-rgba".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_strikethrough_rgba_trampoline::<Self, F> as *const (), )), @@ -3074,7 +3074,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::strikethrough-rgba-set\0".as_ptr() as *const _, + c"notify::strikethrough-rgba-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_strikethrough_rgba_set_trampoline::<Self, F> as *const (), )), @@ -3100,7 +3100,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::strikethrough-set\0".as_ptr() as *const _, + c"notify::strikethrough-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_strikethrough_set_trampoline::<Self, F> as *const (), )), @@ -3123,7 +3123,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::style\0".as_ptr() as *const _, + c"notify::style".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_style_trampoline::<Self, F> as *const (), )), @@ -3146,7 +3146,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::style-set\0".as_ptr() as *const _, + c"notify::style-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_style_set_trampoline::<Self, F> as *const (), )), @@ -3169,7 +3169,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::tabs\0".as_ptr() as *const _, + c"notify::tabs".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_tabs_trampoline::<Self, F> as *const (), )), @@ -3192,7 +3192,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::tabs-set\0".as_ptr() as *const _, + c"notify::tabs-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_tabs_set_trampoline::<Self, F> as *const (), )), @@ -3220,7 +3220,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::text-transform\0".as_ptr() as *const _, + c"notify::text-transform".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_text_transform_trampoline::<Self, F> as *const (), )), @@ -3248,7 +3248,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::text-transform-set\0".as_ptr() as *const _, + c"notify::text-transform-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_text_transform_set_trampoline::<Self, F> as *const (), )), @@ -3271,7 +3271,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::underline\0".as_ptr() as *const _, + c"notify::underline".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_underline_trampoline::<Self, F> as *const (), )), @@ -3297,7 +3297,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::underline-rgba\0".as_ptr() as *const _, + c"notify::underline-rgba".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_underline_rgba_trampoline::<Self, F> as *const (), )), @@ -3323,7 +3323,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::underline-rgba-set\0".as_ptr() as *const _, + c"notify::underline-rgba-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_underline_rgba_set_trampoline::<Self, F> as *const (), )), @@ -3349,7 +3349,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::underline-set\0".as_ptr() as *const _, + c"notify::underline-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_underline_set_trampoline::<Self, F> as *const (), )), @@ -3372,7 +3372,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::variant\0".as_ptr() as *const _, + c"notify::variant".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_variant_trampoline::<Self, F> as *const (), )), @@ -3395,7 +3395,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::variant-set\0".as_ptr() as *const _, + c"notify::variant-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_variant_set_trampoline::<Self, F> as *const (), )), @@ -3418,7 +3418,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::weight\0".as_ptr() as *const _, + c"notify::weight".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_weight_trampoline::<Self, F> as *const (), )), @@ -3441,7 +3441,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::weight-set\0".as_ptr() as *const _, + c"notify::weight-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_weight_set_trampoline::<Self, F> as *const (), )), @@ -3466,7 +3466,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::word\0".as_ptr() as *const _, + c"notify::word".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_word_trampoline::<Self, F> as *const (), )), @@ -3491,7 +3491,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::word-set\0".as_ptr() as *const _, + c"notify::word-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_word_set_trampoline::<Self, F> as *const (), )), @@ -3514,7 +3514,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::wrap-mode\0".as_ptr() as *const _, + c"notify::wrap-mode".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_wrap_mode_trampoline::<Self, F> as *const (), )), @@ -3540,7 +3540,7 @@ pub trait TextTagExt: IsA<TextTag> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::wrap-mode-set\0".as_ptr() as *const _, + c"notify::wrap-mode-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_wrap_mode_set_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/text_tag_table.rs b/gtk4/src/auto/text_tag_table.rs index ca714730f1b7..471006ba0fdb 100644 --- a/gtk4/src/auto/text_tag_table.rs +++ b/gtk4/src/auto/text_tag_table.rs @@ -95,7 +95,7 @@ impl TextTagTable { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"tag-added\0".as_ptr() as *const _, + c"tag-added".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( tag_added_trampoline::<F> as *const (), )), @@ -128,7 +128,7 @@ impl TextTagTable { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"tag-changed\0".as_ptr() as *const _, + c"tag-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( tag_changed_trampoline::<F> as *const (), )), @@ -151,7 +151,7 @@ impl TextTagTable { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"tag-removed\0".as_ptr() as *const _, + c"tag-removed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( tag_removed_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/text_view.rs b/gtk4/src/auto/text_view.rs index a5382622db98..c7a6b3614e01 100644 --- a/gtk4/src/auto/text_view.rs +++ b/gtk4/src/auto/text_view.rs @@ -1263,7 +1263,7 @@ pub trait TextViewExt: IsA<TextView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"backspace\0".as_ptr() as *const _, + c"backspace".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( backspace_trampoline::<Self, F> as *const (), )), @@ -1289,7 +1289,7 @@ pub trait TextViewExt: IsA<TextView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"copy-clipboard\0".as_ptr() as *const _, + c"copy-clipboard".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( copy_clipboard_trampoline::<Self, F> as *const (), )), @@ -1315,7 +1315,7 @@ pub trait TextViewExt: IsA<TextView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"cut-clipboard\0".as_ptr() as *const _, + c"cut-clipboard".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( cut_clipboard_trampoline::<Self, F> as *const (), )), @@ -1353,7 +1353,7 @@ pub trait TextViewExt: IsA<TextView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"delete-from-cursor\0".as_ptr() as *const _, + c"delete-from-cursor".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( delete_from_cursor_trampoline::<Self, F> as *const (), )), @@ -1400,7 +1400,7 @@ pub trait TextViewExt: IsA<TextView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"extend-selection\0".as_ptr() as *const _, + c"extend-selection".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( extend_selection_trampoline::<Self, F> as *const (), )), @@ -1429,7 +1429,7 @@ pub trait TextViewExt: IsA<TextView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"insert-at-cursor\0".as_ptr() as *const _, + c"insert-at-cursor".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( insert_at_cursor_trampoline::<Self, F> as *const (), )), @@ -1455,7 +1455,7 @@ pub trait TextViewExt: IsA<TextView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"insert-emoji\0".as_ptr() as *const _, + c"insert-emoji".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( insert_emoji_trampoline::<Self, F> as *const (), )), @@ -1495,7 +1495,7 @@ pub trait TextViewExt: IsA<TextView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"move-cursor\0".as_ptr() as *const _, + c"move-cursor".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( move_cursor_trampoline::<Self, F> as *const (), )), @@ -1533,7 +1533,7 @@ pub trait TextViewExt: IsA<TextView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"move-viewport\0".as_ptr() as *const _, + c"move-viewport".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( move_viewport_trampoline::<Self, F> as *const (), )), @@ -1559,7 +1559,7 @@ pub trait TextViewExt: IsA<TextView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"paste-clipboard\0".as_ptr() as *const _, + c"paste-clipboard".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( paste_clipboard_trampoline::<Self, F> as *const (), )), @@ -1592,7 +1592,7 @@ pub trait TextViewExt: IsA<TextView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"preedit-changed\0".as_ptr() as *const _, + c"preedit-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( preedit_changed_trampoline::<Self, F> as *const (), )), @@ -1622,7 +1622,7 @@ pub trait TextViewExt: IsA<TextView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"select-all\0".as_ptr() as *const _, + c"select-all".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( select_all_trampoline::<Self, F> as *const (), )), @@ -1648,7 +1648,7 @@ pub trait TextViewExt: IsA<TextView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"set-anchor\0".as_ptr() as *const _, + c"set-anchor".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( set_anchor_trampoline::<Self, F> as *const (), )), @@ -1677,7 +1677,7 @@ pub trait TextViewExt: IsA<TextView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"toggle-cursor-visible\0".as_ptr() as *const _, + c"toggle-cursor-visible".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( toggle_cursor_visible_trampoline::<Self, F> as *const (), )), @@ -1703,7 +1703,7 @@ pub trait TextViewExt: IsA<TextView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"toggle-overwrite\0".as_ptr() as *const _, + c"toggle-overwrite".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( toggle_overwrite_trampoline::<Self, F> as *const (), )), @@ -1733,7 +1733,7 @@ pub trait TextViewExt: IsA<TextView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::accepts-tab\0".as_ptr() as *const _, + c"notify::accepts-tab".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_accepts_tab_trampoline::<Self, F> as *const (), )), @@ -1759,7 +1759,7 @@ pub trait TextViewExt: IsA<TextView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::bottom-margin\0".as_ptr() as *const _, + c"notify::bottom-margin".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_bottom_margin_trampoline::<Self, F> as *const (), )), @@ -1782,7 +1782,7 @@ pub trait TextViewExt: IsA<TextView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::buffer\0".as_ptr() as *const _, + c"notify::buffer".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_buffer_trampoline::<Self, F> as *const (), )), @@ -1808,7 +1808,7 @@ pub trait TextViewExt: IsA<TextView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::cursor-visible\0".as_ptr() as *const _, + c"notify::cursor-visible".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_cursor_visible_trampoline::<Self, F> as *const (), )), @@ -1831,7 +1831,7 @@ pub trait TextViewExt: IsA<TextView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::editable\0".as_ptr() as *const _, + c"notify::editable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_editable_trampoline::<Self, F> as *const (), )), @@ -1854,7 +1854,7 @@ pub trait TextViewExt: IsA<TextView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::extra-menu\0".as_ptr() as *const _, + c"notify::extra-menu".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_extra_menu_trampoline::<Self, F> as *const (), )), @@ -1877,7 +1877,7 @@ pub trait TextViewExt: IsA<TextView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::im-module\0".as_ptr() as *const _, + c"notify::im-module".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_im_module_trampoline::<Self, F> as *const (), )), @@ -1900,7 +1900,7 @@ pub trait TextViewExt: IsA<TextView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::indent\0".as_ptr() as *const _, + c"notify::indent".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_indent_trampoline::<Self, F> as *const (), )), @@ -1926,7 +1926,7 @@ pub trait TextViewExt: IsA<TextView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::input-hints\0".as_ptr() as *const _, + c"notify::input-hints".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_input_hints_trampoline::<Self, F> as *const (), )), @@ -1952,7 +1952,7 @@ pub trait TextViewExt: IsA<TextView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::input-purpose\0".as_ptr() as *const _, + c"notify::input-purpose".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_input_purpose_trampoline::<Self, F> as *const (), )), @@ -1978,7 +1978,7 @@ pub trait TextViewExt: IsA<TextView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::justification\0".as_ptr() as *const _, + c"notify::justification".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_justification_trampoline::<Self, F> as *const (), )), @@ -2004,7 +2004,7 @@ pub trait TextViewExt: IsA<TextView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::left-margin\0".as_ptr() as *const _, + c"notify::left-margin".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_left_margin_trampoline::<Self, F> as *const (), )), @@ -2027,7 +2027,7 @@ pub trait TextViewExt: IsA<TextView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::monospace\0".as_ptr() as *const _, + c"notify::monospace".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_monospace_trampoline::<Self, F> as *const (), )), @@ -2050,7 +2050,7 @@ pub trait TextViewExt: IsA<TextView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::overwrite\0".as_ptr() as *const _, + c"notify::overwrite".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_overwrite_trampoline::<Self, F> as *const (), )), @@ -2076,7 +2076,7 @@ pub trait TextViewExt: IsA<TextView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::pixels-above-lines\0".as_ptr() as *const _, + c"notify::pixels-above-lines".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_pixels_above_lines_trampoline::<Self, F> as *const (), )), @@ -2102,7 +2102,7 @@ pub trait TextViewExt: IsA<TextView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::pixels-below-lines\0".as_ptr() as *const _, + c"notify::pixels-below-lines".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_pixels_below_lines_trampoline::<Self, F> as *const (), )), @@ -2128,7 +2128,7 @@ pub trait TextViewExt: IsA<TextView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::pixels-inside-wrap\0".as_ptr() as *const _, + c"notify::pixels-inside-wrap".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_pixels_inside_wrap_trampoline::<Self, F> as *const (), )), @@ -2154,7 +2154,7 @@ pub trait TextViewExt: IsA<TextView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::right-margin\0".as_ptr() as *const _, + c"notify::right-margin".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_right_margin_trampoline::<Self, F> as *const (), )), @@ -2177,7 +2177,7 @@ pub trait TextViewExt: IsA<TextView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::tabs\0".as_ptr() as *const _, + c"notify::tabs".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_tabs_trampoline::<Self, F> as *const (), )), @@ -2200,7 +2200,7 @@ pub trait TextViewExt: IsA<TextView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::top-margin\0".as_ptr() as *const _, + c"notify::top-margin".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_top_margin_trampoline::<Self, F> as *const (), )), @@ -2223,7 +2223,7 @@ pub trait TextViewExt: IsA<TextView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::wrap-mode\0".as_ptr() as *const _, + c"notify::wrap-mode".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_wrap_mode_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/toggle_button.rs b/gtk4/src/auto/toggle_button.rs index 2e6e37f8a484..f8cc33db3ef9 100644 --- a/gtk4/src/auto/toggle_button.rs +++ b/gtk4/src/auto/toggle_button.rs @@ -400,7 +400,7 @@ pub trait ToggleButtonExt: IsA<ToggleButton> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"toggled\0".as_ptr() as *const _, + c"toggled".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( toggled_trampoline::<Self, F> as *const (), )), @@ -423,7 +423,7 @@ pub trait ToggleButtonExt: IsA<ToggleButton> + 'static { let f: Box_<F> = 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::<Self, F> as *const (), )), @@ -446,7 +446,7 @@ pub trait ToggleButtonExt: IsA<ToggleButton> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::group\0".as_ptr() as *const _, + c"notify::group".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_group_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/tree_expander.rs b/gtk4/src/auto/tree_expander.rs index 9f2875707e03..02ed92c3c3ed 100644 --- a/gtk4/src/auto/tree_expander.rs +++ b/gtk4/src/auto/tree_expander.rs @@ -167,7 +167,7 @@ impl TreeExpander { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::child\0".as_ptr() as *const _, + c"notify::child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_child_trampoline::<F> as *const (), )), @@ -192,7 +192,7 @@ impl TreeExpander { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::hide-expander\0".as_ptr() as *const _, + c"notify::hide-expander".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_hide_expander_trampoline::<F> as *const (), )), @@ -217,7 +217,7 @@ impl TreeExpander { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::indent-for-depth\0".as_ptr() as *const _, + c"notify::indent-for-depth".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_indent_for_depth_trampoline::<F> as *const (), )), @@ -242,7 +242,7 @@ impl TreeExpander { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::indent-for-icon\0".as_ptr() as *const _, + c"notify::indent-for-icon".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_indent_for_icon_trampoline::<F> as *const (), )), @@ -265,7 +265,7 @@ impl TreeExpander { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::item\0".as_ptr() as *const _, + c"notify::item".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_item_trampoline::<F> as *const (), )), @@ -288,7 +288,7 @@ impl TreeExpander { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::list-row\0".as_ptr() as *const _, + c"notify::list-row".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_list_row_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/tree_list_model.rs b/gtk4/src/auto/tree_list_model.rs index ce3066de195a..06ee704586f0 100644 --- a/gtk4/src/auto/tree_list_model.rs +++ b/gtk4/src/auto/tree_list_model.rs @@ -133,7 +133,7 @@ impl TreeListModel { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::autoexpand\0".as_ptr() as *const _, + c"notify::autoexpand".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_autoexpand_trampoline::<F> as *const (), )), @@ -156,7 +156,7 @@ impl TreeListModel { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::model\0".as_ptr() as *const _, + c"notify::model".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_model_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/tree_list_row.rs b/gtk4/src/auto/tree_list_row.rs index fb06fa5ccc54..f9fb4d7cfaff 100644 --- a/gtk4/src/auto/tree_list_row.rs +++ b/gtk4/src/auto/tree_list_row.rs @@ -98,7 +98,7 @@ impl TreeListRow { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::children\0".as_ptr() as *const _, + c"notify::children".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_children_trampoline::<F> as *const (), )), @@ -121,7 +121,7 @@ impl TreeListRow { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::depth\0".as_ptr() as *const _, + c"notify::depth".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_depth_trampoline::<F> as *const (), )), @@ -144,7 +144,7 @@ impl TreeListRow { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::expandable\0".as_ptr() as *const _, + c"notify::expandable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_expandable_trampoline::<F> as *const (), )), @@ -167,7 +167,7 @@ impl TreeListRow { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::expanded\0".as_ptr() as *const _, + c"notify::expanded".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_expanded_trampoline::<F> as *const (), )), @@ -190,7 +190,7 @@ impl TreeListRow { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::item\0".as_ptr() as *const _, + c"notify::item".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_item_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/tree_list_row_sorter.rs b/gtk4/src/auto/tree_list_row_sorter.rs index 047a85c56f6c..5ac6ef86922a 100644 --- a/gtk4/src/auto/tree_list_row_sorter.rs +++ b/gtk4/src/auto/tree_list_row_sorter.rs @@ -65,7 +65,7 @@ impl TreeListRowSorter { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::sorter\0".as_ptr() as *const _, + c"notify::sorter".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_sorter_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/tree_model.rs b/gtk4/src/auto/tree_model.rs index 8deae398d223..a1850eb7150a 100644 --- a/gtk4/src/auto/tree_model.rs +++ b/gtk4/src/auto/tree_model.rs @@ -353,7 +353,7 @@ pub trait TreeModelExt: IsA<TreeModel> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"row-changed\0".as_ptr() as *const _, + c"row-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( row_changed_trampoline::<Self, F> as *const (), )), @@ -382,7 +382,7 @@ pub trait TreeModelExt: IsA<TreeModel> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"row-deleted\0".as_ptr() as *const _, + c"row-deleted".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( row_deleted_trampoline::<Self, F> as *const (), )), @@ -416,7 +416,7 @@ pub trait TreeModelExt: IsA<TreeModel> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"row-has-child-toggled\0".as_ptr() as *const _, + c"row-has-child-toggled".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( row_has_child_toggled_trampoline::<Self, F> as *const (), )), @@ -450,7 +450,7 @@ pub trait TreeModelExt: IsA<TreeModel> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"row-inserted\0".as_ptr() as *const _, + c"row-inserted".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( row_inserted_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/tree_selection.rs b/gtk4/src/auto/tree_selection.rs index 0cfe357f6ed5..7b1e5eb0ea24 100644 --- a/gtk4/src/auto/tree_selection.rs +++ b/gtk4/src/auto/tree_selection.rs @@ -292,7 +292,7 @@ impl TreeSelection { let f: Box_<F> = 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::<F> as *const (), )), @@ -315,7 +315,7 @@ impl TreeSelection { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::mode\0".as_ptr() as *const _, + c"notify::mode".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_mode_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/tree_sortable.rs b/gtk4/src/auto/tree_sortable.rs index 0a0615952d50..eafe2e42d29f 100644 --- a/gtk4/src/auto/tree_sortable.rs +++ b/gtk4/src/auto/tree_sortable.rs @@ -61,7 +61,7 @@ pub trait TreeSortableExt: IsA<TreeSortable> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"sort-column-changed\0".as_ptr() as *const _, + c"sort-column-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( sort_column_changed_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/tree_view.rs b/gtk4/src/auto/tree_view.rs index be42decf1035..f3a3ad5d44e7 100644 --- a/gtk4/src/auto/tree_view.rs +++ b/gtk4/src/auto/tree_view.rs @@ -1834,7 +1834,7 @@ pub trait TreeViewExt: IsA<TreeView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"columns-changed\0".as_ptr() as *const _, + c"columns-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( columns_changed_trampoline::<Self, F> as *const (), )), @@ -1856,7 +1856,7 @@ pub trait TreeViewExt: IsA<TreeView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"cursor-changed\0".as_ptr() as *const _, + c"cursor-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( cursor_changed_trampoline::<Self, F> as *const (), )), @@ -1893,7 +1893,7 @@ pub trait TreeViewExt: IsA<TreeView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"expand-collapse-cursor-row\0".as_ptr() as *const _, + c"expand-collapse-cursor-row".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( expand_collapse_cursor_row_trampoline::<Self, F> as *const (), )), @@ -1936,7 +1936,7 @@ pub trait TreeViewExt: IsA<TreeView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"move-cursor\0".as_ptr() as *const _, + c"move-cursor".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( move_cursor_trampoline::<Self, F> as *const (), )), @@ -1982,7 +1982,7 @@ pub trait TreeViewExt: IsA<TreeView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"row-activated\0".as_ptr() as *const _, + c"row-activated".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( row_activated_trampoline::<Self, F> as *const (), )), @@ -2020,7 +2020,7 @@ pub trait TreeViewExt: IsA<TreeView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"row-collapsed\0".as_ptr() as *const _, + c"row-collapsed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( row_collapsed_trampoline::<Self, F> as *const (), )), @@ -2054,7 +2054,7 @@ pub trait TreeViewExt: IsA<TreeView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"row-expanded\0".as_ptr() as *const _, + c"row-expanded".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( row_expanded_trampoline::<Self, F> as *const (), )), @@ -2079,7 +2079,7 @@ pub trait TreeViewExt: IsA<TreeView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"select-all\0".as_ptr() as *const _, + c"select-all".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( select_all_trampoline::<Self, F> as *const (), )), @@ -2111,7 +2111,7 @@ pub trait TreeViewExt: IsA<TreeView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"select-cursor-parent\0".as_ptr() as *const _, + c"select-cursor-parent".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( select_cursor_parent_trampoline::<Self, F> as *const (), )), @@ -2148,7 +2148,7 @@ pub trait TreeViewExt: IsA<TreeView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"select-cursor-row\0".as_ptr() as *const _, + c"select-cursor-row".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( select_cursor_row_trampoline::<Self, F> as *const (), )), @@ -2180,7 +2180,7 @@ pub trait TreeViewExt: IsA<TreeView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"start-interactive-search\0".as_ptr() as *const _, + c"start-interactive-search".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( start_interactive_search_trampoline::<Self, F> as *const (), )), @@ -2221,7 +2221,7 @@ pub trait TreeViewExt: IsA<TreeView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"test-collapse-row\0".as_ptr() as *const _, + c"test-collapse-row".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( test_collapse_row_trampoline::<Self, F> as *const (), )), @@ -2258,7 +2258,7 @@ pub trait TreeViewExt: IsA<TreeView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"test-expand-row\0".as_ptr() as *const _, + c"test-expand-row".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( test_expand_row_trampoline::<Self, F> as *const (), )), @@ -2283,7 +2283,7 @@ pub trait TreeViewExt: IsA<TreeView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"toggle-cursor-row\0".as_ptr() as *const _, + c"toggle-cursor-row".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( toggle_cursor_row_trampoline::<Self, F> as *const (), )), @@ -2312,7 +2312,7 @@ pub trait TreeViewExt: IsA<TreeView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"unselect-all\0".as_ptr() as *const _, + c"unselect-all".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( unselect_all_trampoline::<Self, F> as *const (), )), @@ -2345,7 +2345,7 @@ pub trait TreeViewExt: IsA<TreeView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::activate-on-single-click\0".as_ptr() as *const _, + c"notify::activate-on-single-click".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_activate_on_single_click_trampoline::<Self, F> as *const (), )), @@ -2371,7 +2371,7 @@ pub trait TreeViewExt: IsA<TreeView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::enable-grid-lines\0".as_ptr() as *const _, + c"notify::enable-grid-lines".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_enable_grid_lines_trampoline::<Self, F> as *const (), )), @@ -2397,7 +2397,7 @@ pub trait TreeViewExt: IsA<TreeView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::enable-search\0".as_ptr() as *const _, + c"notify::enable-search".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_enable_search_trampoline::<Self, F> as *const (), )), @@ -2423,7 +2423,7 @@ pub trait TreeViewExt: IsA<TreeView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::enable-tree-lines\0".as_ptr() as *const _, + c"notify::enable-tree-lines".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_enable_tree_lines_trampoline::<Self, F> as *const (), )), @@ -2449,7 +2449,7 @@ pub trait TreeViewExt: IsA<TreeView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::expander-column\0".as_ptr() as *const _, + c"notify::expander-column".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_expander_column_trampoline::<Self, F> as *const (), )), @@ -2475,7 +2475,7 @@ pub trait TreeViewExt: IsA<TreeView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::fixed-height-mode\0".as_ptr() as *const _, + c"notify::fixed-height-mode".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_fixed_height_mode_trampoline::<Self, F> as *const (), )), @@ -2501,7 +2501,7 @@ pub trait TreeViewExt: IsA<TreeView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::headers-clickable\0".as_ptr() as *const _, + c"notify::headers-clickable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_headers_clickable_trampoline::<Self, F> as *const (), )), @@ -2527,7 +2527,7 @@ pub trait TreeViewExt: IsA<TreeView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::headers-visible\0".as_ptr() as *const _, + c"notify::headers-visible".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_headers_visible_trampoline::<Self, F> as *const (), )), @@ -2553,7 +2553,7 @@ pub trait TreeViewExt: IsA<TreeView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::hover-expand\0".as_ptr() as *const _, + c"notify::hover-expand".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_hover_expand_trampoline::<Self, F> as *const (), )), @@ -2579,7 +2579,7 @@ pub trait TreeViewExt: IsA<TreeView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::hover-selection\0".as_ptr() as *const _, + c"notify::hover-selection".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_hover_selection_trampoline::<Self, F> as *const (), )), @@ -2605,7 +2605,7 @@ pub trait TreeViewExt: IsA<TreeView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::level-indentation\0".as_ptr() as *const _, + c"notify::level-indentation".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_level_indentation_trampoline::<Self, F> as *const (), )), @@ -2628,7 +2628,7 @@ pub trait TreeViewExt: IsA<TreeView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::model\0".as_ptr() as *const _, + c"notify::model".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_model_trampoline::<Self, F> as *const (), )), @@ -2654,7 +2654,7 @@ pub trait TreeViewExt: IsA<TreeView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::reorderable\0".as_ptr() as *const _, + c"notify::reorderable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_reorderable_trampoline::<Self, F> as *const (), )), @@ -2680,7 +2680,7 @@ pub trait TreeViewExt: IsA<TreeView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::rubber-banding\0".as_ptr() as *const _, + c"notify::rubber-banding".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_rubber_banding_trampoline::<Self, F> as *const (), )), @@ -2706,7 +2706,7 @@ pub trait TreeViewExt: IsA<TreeView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::search-column\0".as_ptr() as *const _, + c"notify::search-column".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_search_column_trampoline::<Self, F> as *const (), )), @@ -2732,7 +2732,7 @@ pub trait TreeViewExt: IsA<TreeView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::show-expanders\0".as_ptr() as *const _, + c"notify::show-expanders".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_expanders_trampoline::<Self, F> as *const (), )), @@ -2758,7 +2758,7 @@ pub trait TreeViewExt: IsA<TreeView> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::tooltip-column\0".as_ptr() as *const _, + c"notify::tooltip-column".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_tooltip_column_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/tree_view_column.rs b/gtk4/src/auto/tree_view_column.rs index 9f0aca1d6fbf..1891bbc28ea8 100644 --- a/gtk4/src/auto/tree_view_column.rs +++ b/gtk4/src/auto/tree_view_column.rs @@ -658,7 +658,7 @@ impl TreeViewColumn { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"clicked\0".as_ptr() as *const _, + c"clicked".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( clicked_trampoline::<F> as *const (), )), @@ -681,7 +681,7 @@ impl TreeViewColumn { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::alignment\0".as_ptr() as *const _, + c"notify::alignment".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_alignment_trampoline::<F> as *const (), )), @@ -704,7 +704,7 @@ impl TreeViewColumn { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::clickable\0".as_ptr() as *const _, + c"notify::clickable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_clickable_trampoline::<F> as *const (), )), @@ -727,7 +727,7 @@ impl TreeViewColumn { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::expand\0".as_ptr() as *const _, + c"notify::expand".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_expand_trampoline::<F> as *const (), )), @@ -750,7 +750,7 @@ impl TreeViewColumn { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::fixed-width\0".as_ptr() as *const _, + c"notify::fixed-width".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_fixed_width_trampoline::<F> as *const (), )), @@ -773,7 +773,7 @@ impl TreeViewColumn { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::max-width\0".as_ptr() as *const _, + c"notify::max-width".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_max_width_trampoline::<F> as *const (), )), @@ -796,7 +796,7 @@ impl TreeViewColumn { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::min-width\0".as_ptr() as *const _, + c"notify::min-width".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_min_width_trampoline::<F> as *const (), )), @@ -819,7 +819,7 @@ impl TreeViewColumn { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::reorderable\0".as_ptr() as *const _, + c"notify::reorderable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_reorderable_trampoline::<F> as *const (), )), @@ -842,7 +842,7 @@ impl TreeViewColumn { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::resizable\0".as_ptr() as *const _, + c"notify::resizable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_resizable_trampoline::<F> as *const (), )), @@ -865,7 +865,7 @@ impl TreeViewColumn { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::sizing\0".as_ptr() as *const _, + c"notify::sizing".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_sizing_trampoline::<F> as *const (), )), @@ -888,7 +888,7 @@ impl TreeViewColumn { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::sort-column-id\0".as_ptr() as *const _, + c"notify::sort-column-id".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_sort_column_id_trampoline::<F> as *const (), )), @@ -911,7 +911,7 @@ impl TreeViewColumn { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::sort-indicator\0".as_ptr() as *const _, + c"notify::sort-indicator".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_sort_indicator_trampoline::<F> as *const (), )), @@ -934,7 +934,7 @@ impl TreeViewColumn { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::sort-order\0".as_ptr() as *const _, + c"notify::sort-order".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_sort_order_trampoline::<F> as *const (), )), @@ -957,7 +957,7 @@ impl TreeViewColumn { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::spacing\0".as_ptr() as *const _, + c"notify::spacing".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_spacing_trampoline::<F> as *const (), )), @@ -980,7 +980,7 @@ impl TreeViewColumn { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::title\0".as_ptr() as *const _, + c"notify::title".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_title_trampoline::<F> as *const (), )), @@ -1003,7 +1003,7 @@ impl TreeViewColumn { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::visible\0".as_ptr() as *const _, + c"notify::visible".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_visible_trampoline::<F> as *const (), )), @@ -1026,7 +1026,7 @@ impl TreeViewColumn { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::widget\0".as_ptr() as *const _, + c"notify::widget".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_widget_trampoline::<F> as *const (), )), @@ -1049,7 +1049,7 @@ impl TreeViewColumn { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::width\0".as_ptr() as *const _, + c"notify::width".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_width_trampoline::<F> as *const (), )), @@ -1072,7 +1072,7 @@ impl TreeViewColumn { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::x-offset\0".as_ptr() as *const _, + c"notify::x-offset".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_x_offset_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/uri_launcher.rs b/gtk4/src/auto/uri_launcher.rs index c828fafc0667..a481a96ca711 100644 --- a/gtk4/src/auto/uri_launcher.rs +++ b/gtk4/src/auto/uri_launcher.rs @@ -128,7 +128,7 @@ impl UriLauncher { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::uri\0".as_ptr() as *const _, + c"notify::uri".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_uri_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/versions.txt b/gtk4/src/auto/versions.txt index 5af8e497d2f0..1a56b9ecf195 100644 --- a/gtk4/src/auto/versions.txt +++ b/gtk4/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) -from gir-files (https://github.com/gtk-rs/gir-files @ c05f5cc23cb7) +Generated by gir (https://github.com/gtk-rs/gir @ be3ecc201d39) +from gir-files (https://github.com/gtk-rs/gir-files @ 3ede86d6a218) diff --git a/gtk4/src/auto/video.rs b/gtk4/src/auto/video.rs index 81c2b783b2a4..04c9adf4f4c9 100644 --- a/gtk4/src/auto/video.rs +++ b/gtk4/src/auto/video.rs @@ -203,7 +203,7 @@ impl Video { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::autoplay\0".as_ptr() as *const _, + c"notify::autoplay".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_autoplay_trampoline::<F> as *const (), )), @@ -226,7 +226,7 @@ impl Video { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::file\0".as_ptr() as *const _, + c"notify::file".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_file_trampoline::<F> as *const (), )), @@ -251,7 +251,7 @@ impl Video { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::graphics-offload\0".as_ptr() as *const _, + c"notify::graphics-offload".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_graphics_offload_trampoline::<F> as *const (), )), @@ -274,7 +274,7 @@ impl Video { let f: Box_<F> = 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::<F> as *const (), )), @@ -297,7 +297,7 @@ impl Video { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::media-stream\0".as_ptr() as *const _, + c"notify::media-stream".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_media_stream_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/viewport.rs b/gtk4/src/auto/viewport.rs index 9cccb0e0d6fa..6a21d6687a67 100644 --- a/gtk4/src/auto/viewport.rs +++ b/gtk4/src/auto/viewport.rs @@ -111,7 +111,7 @@ impl Viewport { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::child\0".as_ptr() as *const _, + c"notify::child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_child_trampoline::<F> as *const (), )), @@ -134,7 +134,7 @@ impl Viewport { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::scroll-to-focus\0".as_ptr() as *const _, + c"notify::scroll-to-focus".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_scroll_to_focus_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/volume_button.rs b/gtk4/src/auto/volume_button.rs index 5d96feccd0bb..614e6f9a321a 100644 --- a/gtk4/src/auto/volume_button.rs +++ b/gtk4/src/auto/volume_button.rs @@ -82,7 +82,7 @@ impl VolumeButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::use-symbolic\0".as_ptr() as *const _, + c"notify::use-symbolic".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_use_symbolic_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/widget.rs b/gtk4/src/auto/widget.rs index 0d225957fbde..845c77924372 100644 --- a/gtk4/src/auto/widget.rs +++ b/gtk4/src/auto/widget.rs @@ -1555,7 +1555,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"destroy\0".as_ptr() as *const _, + c"destroy".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( destroy_trampoline::<Self, F> as *const (), )), @@ -1587,7 +1587,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"direction-changed\0".as_ptr() as *const _, + c"direction-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( direction_changed_trampoline::<Self, F> as *const (), )), @@ -1609,7 +1609,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"hide\0".as_ptr() as *const _, + c"hide".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( hide_trampoline::<Self, F> as *const (), )), @@ -1642,7 +1642,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"keynav-failed\0".as_ptr() as *const _, + c"keynav-failed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( keynav_failed_trampoline::<Self, F> as *const (), )), @@ -1664,7 +1664,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"map\0".as_ptr() as *const _, + c"map".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( map_trampoline::<Self, F> as *const (), )), @@ -1697,7 +1697,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"mnemonic-activate\0".as_ptr() as *const _, + c"mnemonic-activate".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( mnemonic_activate_trampoline::<Self, F> as *const (), )), @@ -1726,7 +1726,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"move-focus\0".as_ptr() as *const _, + c"move-focus".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( move_focus_trampoline::<Self, F> as *const (), )), @@ -1769,7 +1769,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"query-tooltip\0".as_ptr() as *const _, + c"query-tooltip".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( query_tooltip_trampoline::<Self, F> as *const (), )), @@ -1791,7 +1791,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"realize\0".as_ptr() as *const _, + c"realize".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( realize_trampoline::<Self, F> as *const (), )), @@ -1813,7 +1813,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"show\0".as_ptr() as *const _, + c"show".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( show_trampoline::<Self, F> as *const (), )), @@ -1845,7 +1845,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"state-flags-changed\0".as_ptr() as *const _, + c"state-flags-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( state_flags_changed_trampoline::<Self, F> as *const (), )), @@ -1867,7 +1867,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"unmap\0".as_ptr() as *const _, + c"unmap".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( unmap_trampoline::<Self, F> as *const (), )), @@ -1889,7 +1889,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"unrealize\0".as_ptr() as *const _, + c"unrealize".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( unrealize_trampoline::<Self, F> as *const (), )), @@ -1912,7 +1912,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::can-focus\0".as_ptr() as *const _, + c"notify::can-focus".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_can_focus_trampoline::<Self, F> as *const (), )), @@ -1935,7 +1935,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::can-target\0".as_ptr() as *const _, + c"notify::can-target".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_can_target_trampoline::<Self, F> as *const (), )), @@ -1958,7 +1958,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::css-classes\0".as_ptr() as *const _, + c"notify::css-classes".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_css_classes_trampoline::<Self, F> as *const (), )), @@ -1981,7 +1981,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::cursor\0".as_ptr() as *const _, + c"notify::cursor".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_cursor_trampoline::<Self, F> as *const (), )), @@ -2007,7 +2007,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::focus-on-click\0".as_ptr() as *const _, + c"notify::focus-on-click".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_focus_on_click_trampoline::<Self, F> as *const (), )), @@ -2030,7 +2030,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::focusable\0".as_ptr() as *const _, + c"notify::focusable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_focusable_trampoline::<Self, F> as *const (), )), @@ -2053,7 +2053,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::halign\0".as_ptr() as *const _, + c"notify::halign".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_halign_trampoline::<Self, F> as *const (), )), @@ -2076,7 +2076,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::has-default\0".as_ptr() as *const _, + c"notify::has-default".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_has_default_trampoline::<Self, F> as *const (), )), @@ -2099,7 +2099,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::has-focus\0".as_ptr() as *const _, + c"notify::has-focus".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_has_focus_trampoline::<Self, F> as *const (), )), @@ -2122,7 +2122,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::has-tooltip\0".as_ptr() as *const _, + c"notify::has-tooltip".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_has_tooltip_trampoline::<Self, F> as *const (), )), @@ -2148,7 +2148,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::height-request\0".as_ptr() as *const _, + c"notify::height-request".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_height_request_trampoline::<Self, F> as *const (), )), @@ -2171,7 +2171,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::hexpand\0".as_ptr() as *const _, + c"notify::hexpand".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_hexpand_trampoline::<Self, F> as *const (), )), @@ -2194,7 +2194,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::hexpand-set\0".as_ptr() as *const _, + c"notify::hexpand-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_hexpand_set_trampoline::<Self, F> as *const (), )), @@ -2220,7 +2220,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::layout-manager\0".as_ptr() as *const _, + c"notify::layout-manager".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_layout_manager_trampoline::<Self, F> as *const (), )), @@ -2246,7 +2246,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::margin-bottom\0".as_ptr() as *const _, + c"notify::margin-bottom".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_margin_bottom_trampoline::<Self, F> as *const (), )), @@ -2269,7 +2269,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::margin-end\0".as_ptr() as *const _, + c"notify::margin-end".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_margin_end_trampoline::<Self, F> as *const (), )), @@ -2292,7 +2292,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::margin-start\0".as_ptr() as *const _, + c"notify::margin-start".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_margin_start_trampoline::<Self, F> as *const (), )), @@ -2315,7 +2315,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::margin-top\0".as_ptr() as *const _, + c"notify::margin-top".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_margin_top_trampoline::<Self, F> as *const (), )), @@ -2338,7 +2338,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = 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::<Self, F> as *const (), )), @@ -2361,7 +2361,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::opacity\0".as_ptr() as *const _, + c"notify::opacity".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_opacity_trampoline::<Self, F> as *const (), )), @@ -2384,7 +2384,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::overflow\0".as_ptr() as *const _, + c"notify::overflow".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_overflow_trampoline::<Self, F> as *const (), )), @@ -2407,7 +2407,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::parent\0".as_ptr() as *const _, + c"notify::parent".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_parent_trampoline::<Self, F> as *const (), )), @@ -2433,7 +2433,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::receives-default\0".as_ptr() as *const _, + c"notify::receives-default".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_receives_default_trampoline::<Self, F> as *const (), )), @@ -2456,7 +2456,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::root\0".as_ptr() as *const _, + c"notify::root".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_root_trampoline::<Self, F> as *const (), )), @@ -2479,7 +2479,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::scale-factor\0".as_ptr() as *const _, + c"notify::scale-factor".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_scale_factor_trampoline::<Self, F> as *const (), )), @@ -2502,7 +2502,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::sensitive\0".as_ptr() as *const _, + c"notify::sensitive".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_sensitive_trampoline::<Self, F> as *const (), )), @@ -2528,7 +2528,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::tooltip-markup\0".as_ptr() as *const _, + c"notify::tooltip-markup".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_tooltip_markup_trampoline::<Self, F> as *const (), )), @@ -2551,7 +2551,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::tooltip-text\0".as_ptr() as *const _, + c"notify::tooltip-text".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_tooltip_text_trampoline::<Self, F> as *const (), )), @@ -2574,7 +2574,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::valign\0".as_ptr() as *const _, + c"notify::valign".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_valign_trampoline::<Self, F> as *const (), )), @@ -2597,7 +2597,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::vexpand\0".as_ptr() as *const _, + c"notify::vexpand".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_vexpand_trampoline::<Self, F> as *const (), )), @@ -2620,7 +2620,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::vexpand-set\0".as_ptr() as *const _, + c"notify::vexpand-set".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_vexpand_set_trampoline::<Self, F> as *const (), )), @@ -2643,7 +2643,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::visible\0".as_ptr() as *const _, + c"notify::visible".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_visible_trampoline::<Self, F> as *const (), )), @@ -2669,7 +2669,7 @@ pub trait WidgetExt: IsA<Widget> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::width-request\0".as_ptr() as *const _, + c"notify::width-request".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_width_request_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/widget_paintable.rs b/gtk4/src/auto/widget_paintable.rs index 27bc0a1b7d7b..ccb34a881eeb 100644 --- a/gtk4/src/auto/widget_paintable.rs +++ b/gtk4/src/auto/widget_paintable.rs @@ -61,7 +61,7 @@ impl WidgetPaintable { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::widget\0".as_ptr() as *const _, + c"notify::widget".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_widget_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/window.rs b/gtk4/src/auto/window.rs index 93eb66320ad6..13be1a667702 100644 --- a/gtk4/src/auto/window.rs +++ b/gtk4/src/auto/window.rs @@ -996,7 +996,7 @@ pub trait GtkWindowExt: IsA<Window> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"activate-default\0".as_ptr() as *const _, + c"activate-default".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( activate_default_trampoline::<Self, F> as *const (), )), @@ -1022,7 +1022,7 @@ pub trait GtkWindowExt: IsA<Window> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"activate-focus\0".as_ptr() as *const _, + c"activate-focus".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( activate_focus_trampoline::<Self, F> as *const (), )), @@ -1054,7 +1054,7 @@ pub trait GtkWindowExt: IsA<Window> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"close-request\0".as_ptr() as *const _, + c"close-request".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( close_request_trampoline::<Self, F> as *const (), )), @@ -1087,7 +1087,7 @@ pub trait GtkWindowExt: IsA<Window> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"enable-debugging\0".as_ptr() as *const _, + c"enable-debugging".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( enable_debugging_trampoline::<Self, F> as *const (), )), @@ -1114,7 +1114,7 @@ pub trait GtkWindowExt: IsA<Window> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"keys-changed\0".as_ptr() as *const _, + c"keys-changed".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( keys_changed_trampoline::<Self, F> as *const (), )), @@ -1137,7 +1137,7 @@ pub trait GtkWindowExt: IsA<Window> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::application\0".as_ptr() as *const _, + c"notify::application".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_application_trampoline::<Self, F> as *const (), )), @@ -1160,7 +1160,7 @@ pub trait GtkWindowExt: IsA<Window> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::child\0".as_ptr() as *const _, + c"notify::child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_child_trampoline::<Self, F> as *const (), )), @@ -1183,7 +1183,7 @@ pub trait GtkWindowExt: IsA<Window> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::decorated\0".as_ptr() as *const _, + c"notify::decorated".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_decorated_trampoline::<Self, F> as *const (), )), @@ -1209,7 +1209,7 @@ pub trait GtkWindowExt: IsA<Window> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::default-height\0".as_ptr() as *const _, + c"notify::default-height".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_default_height_trampoline::<Self, F> as *const (), )), @@ -1235,7 +1235,7 @@ pub trait GtkWindowExt: IsA<Window> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::default-widget\0".as_ptr() as *const _, + c"notify::default-widget".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_default_widget_trampoline::<Self, F> as *const (), )), @@ -1261,7 +1261,7 @@ pub trait GtkWindowExt: IsA<Window> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::default-width\0".as_ptr() as *const _, + c"notify::default-width".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_default_width_trampoline::<Self, F> as *const (), )), @@ -1284,7 +1284,7 @@ pub trait GtkWindowExt: IsA<Window> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::deletable\0".as_ptr() as *const _, + c"notify::deletable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_deletable_trampoline::<Self, F> as *const (), )), @@ -1310,7 +1310,7 @@ pub trait GtkWindowExt: IsA<Window> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::destroy-with-parent\0".as_ptr() as *const _, + c"notify::destroy-with-parent".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_destroy_with_parent_trampoline::<Self, F> as *const (), )), @@ -1333,7 +1333,7 @@ pub trait GtkWindowExt: IsA<Window> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::display\0".as_ptr() as *const _, + c"notify::display".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_display_trampoline::<Self, F> as *const (), )), @@ -1359,7 +1359,7 @@ pub trait GtkWindowExt: IsA<Window> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::focus-visible\0".as_ptr() as *const _, + c"notify::focus-visible".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_focus_visible_trampoline::<Self, F> as *const (), )), @@ -1382,7 +1382,7 @@ pub trait GtkWindowExt: IsA<Window> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::focus-widget\0".as_ptr() as *const _, + c"notify::focus-widget".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_focus_widget_trampoline::<Self, F> as *const (), )), @@ -1405,7 +1405,7 @@ pub trait GtkWindowExt: IsA<Window> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::fullscreened\0".as_ptr() as *const _, + c"notify::fullscreened".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_fullscreened_trampoline::<Self, F> as *const (), )), @@ -1433,7 +1433,7 @@ pub trait GtkWindowExt: IsA<Window> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::handle-menubar-accel\0".as_ptr() as *const _, + c"notify::handle-menubar-accel".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_handle_menubar_accel_trampoline::<Self, F> as *const (), )), @@ -1459,7 +1459,7 @@ pub trait GtkWindowExt: IsA<Window> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::hide-on-close\0".as_ptr() as *const _, + c"notify::hide-on-close".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_hide_on_close_trampoline::<Self, F> as *const (), )), @@ -1482,7 +1482,7 @@ pub trait GtkWindowExt: IsA<Window> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::icon-name\0".as_ptr() as *const _, + c"notify::icon-name".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_icon_name_trampoline::<Self, F> as *const (), )), @@ -1505,7 +1505,7 @@ pub trait GtkWindowExt: IsA<Window> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::is-active\0".as_ptr() as *const _, + c"notify::is-active".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_is_active_trampoline::<Self, F> as *const (), )), @@ -1528,7 +1528,7 @@ pub trait GtkWindowExt: IsA<Window> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::maximized\0".as_ptr() as *const _, + c"notify::maximized".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_maximized_trampoline::<Self, F> as *const (), )), @@ -1554,7 +1554,7 @@ pub trait GtkWindowExt: IsA<Window> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::mnemonics-visible\0".as_ptr() as *const _, + c"notify::mnemonics-visible".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_mnemonics_visible_trampoline::<Self, F> as *const (), )), @@ -1577,7 +1577,7 @@ pub trait GtkWindowExt: IsA<Window> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::modal\0".as_ptr() as *const _, + c"notify::modal".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_modal_trampoline::<Self, F> as *const (), )), @@ -1600,7 +1600,7 @@ pub trait GtkWindowExt: IsA<Window> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::resizable\0".as_ptr() as *const _, + c"notify::resizable".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_resizable_trampoline::<Self, F> as *const (), )), @@ -1623,7 +1623,7 @@ pub trait GtkWindowExt: IsA<Window> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::startup-id\0".as_ptr() as *const _, + c"notify::startup-id".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_startup_id_trampoline::<Self, F> as *const (), )), @@ -1648,7 +1648,7 @@ pub trait GtkWindowExt: IsA<Window> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::suspended\0".as_ptr() as *const _, + c"notify::suspended".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_suspended_trampoline::<Self, F> as *const (), )), @@ -1671,7 +1671,7 @@ pub trait GtkWindowExt: IsA<Window> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::title\0".as_ptr() as *const _, + c"notify::title".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_title_trampoline::<Self, F> as *const (), )), @@ -1696,7 +1696,7 @@ pub trait GtkWindowExt: IsA<Window> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::titlebar\0".as_ptr() as *const _, + c"notify::titlebar".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_titlebar_trampoline::<Self, F> as *const (), )), @@ -1722,7 +1722,7 @@ pub trait GtkWindowExt: IsA<Window> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::transient-for\0".as_ptr() as *const _, + c"notify::transient-for".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_transient_for_trampoline::<Self, F> as *const (), )), diff --git a/gtk4/src/auto/window_controls.rs b/gtk4/src/auto/window_controls.rs index 81c6082997b3..59e5d0a1ce1a 100644 --- a/gtk4/src/auto/window_controls.rs +++ b/gtk4/src/auto/window_controls.rs @@ -101,7 +101,7 @@ impl WindowControls { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::decoration-layout\0".as_ptr() as *const _, + c"notify::decoration-layout".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_decoration_layout_trampoline::<F> as *const (), )), @@ -124,7 +124,7 @@ impl WindowControls { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::empty\0".as_ptr() as *const _, + c"notify::empty".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_empty_trampoline::<F> as *const (), )), @@ -147,7 +147,7 @@ impl WindowControls { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::side\0".as_ptr() as *const _, + c"notify::side".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_side_trampoline::<F> as *const (), )), diff --git a/gtk4/src/auto/window_handle.rs b/gtk4/src/auto/window_handle.rs index 27793f11c48e..2144a2f60be1 100644 --- a/gtk4/src/auto/window_handle.rs +++ b/gtk4/src/auto/window_handle.rs @@ -68,7 +68,7 @@ impl WindowHandle { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::child\0".as_ptr() as *const _, + c"notify::child".as_ptr() as *const _, Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_child_trampoline::<F> as *const (), )), diff --git a/gtk4/src/drop_target.rs b/gtk4/src/drop_target.rs index 2c2a21e6f0b8..b60e2ee99cd0 100644 --- a/gtk4/src/drop_target.rs +++ b/gtk4/src/drop_target.rs @@ -75,7 +75,7 @@ impl DropTarget { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"drop\0".as_ptr() as *const _, + c"drop".as_ptr() as *const _, Some(transmute::<*const (), unsafe extern "C" fn()>( drop_trampoline::<F> as *const (), )), diff --git a/gtk4/src/editable.rs b/gtk4/src/editable.rs index a9863b555e95..a162d736d3f5 100644 --- a/gtk4/src/editable.rs +++ b/gtk4/src/editable.rs @@ -22,7 +22,7 @@ pub trait EditableExtManual: IsA<Editable> + 'static { let f: Box<F> = Box::new(f); connect_raw( self.to_glib_none().0 as *mut _, - b"insert-text\0".as_ptr() as *mut _, + c"insert-text".as_ptr() as *mut _, Some(transmute::<usize, unsafe extern "C" fn()>( insert_text_trampoline::<Self, F> as usize, )), diff --git a/gtk4/src/editable_label.rs b/gtk4/src/editable_label.rs index 64f5d066b8fe..ecedb578565a 100644 --- a/gtk4/src/editable_label.rs +++ b/gtk4/src/editable_label.rs @@ -24,7 +24,7 @@ impl EditableLabel { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"notify::editing\0".as_ptr() as *const _, + c"notify::editing".as_ptr() as *const _, Some(transmute::<*const (), unsafe extern "C" fn()>( notify_editing_trampoline::<F> as *const (), )), diff --git a/gtk4/src/event_controller_key.rs b/gtk4/src/event_controller_key.rs index 21e4812d8ff6..b04307d49690 100644 --- a/gtk4/src/event_controller_key.rs +++ b/gtk4/src/event_controller_key.rs @@ -36,7 +36,7 @@ impl EventControllerKey { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"key-pressed\0".as_ptr() as *const _, + c"key-pressed".as_ptr() as *const _, Some(transmute::<*const (), unsafe extern "C" fn()>( key_pressed_trampoline::<F> as *const (), )), @@ -72,7 +72,7 @@ impl EventControllerKey { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"key-released\0".as_ptr() as *const _, + c"key-released".as_ptr() as *const _, Some(transmute::<*const (), unsafe extern "C" fn()>( key_released_trampoline::<F> as *const (), )), diff --git a/gtk4/src/message_dialog.rs b/gtk4/src/message_dialog.rs index b44731c39843..9fcbd89bb8e8 100644 --- a/gtk4/src/message_dialog.rs +++ b/gtk4/src/message_dialog.rs @@ -27,7 +27,7 @@ impl MessageDialog { flags.into_glib(), type_.into_glib(), buttons.into_glib(), - b"%s\0".as_ptr() as *const libc::c_char, + c"%s".as_ptr() as *const libc::c_char, message.as_ptr(), ptr::null::<libc::c_char>(), )) diff --git a/gtk4/src/overlay.rs b/gtk4/src/overlay.rs index 3f02a849ded8..1ffdbc80d0ca 100644 --- a/gtk4/src/overlay.rs +++ b/gtk4/src/overlay.rs @@ -18,7 +18,7 @@ impl Overlay { let f: Box<F> = Box::new(f); connect_raw( self.as_ptr() as *mut _, - b"get-child-position\0".as_ptr() as *mut _, + c"get-child-position".as_ptr() as *mut _, Some(transmute::<usize, unsafe extern "C" fn()>( get_child_position_trampoline::<F> as usize, )), diff --git a/gtk4/src/shortcuts_section.rs b/gtk4/src/shortcuts_section.rs index c75b9c95eddc..e47d79239950 100644 --- a/gtk4/src/shortcuts_section.rs +++ b/gtk4/src/shortcuts_section.rs @@ -29,7 +29,7 @@ impl ShortcutsSection { let f = Box::new(f); connect_raw( self.as_ptr() as *mut _, - b"change-current-page\0".as_ptr() as *const _, + c"change-current-page".as_ptr() as *const _, Some(transmute::<usize, unsafe extern "C" fn()>( change_current_page_trampoline::<F> as usize, )), diff --git a/gtk4/src/signal_list_item_factory.rs b/gtk4/src/signal_list_item_factory.rs index 8d02c52c6857..408e780fa0f8 100644 --- a/gtk4/src/signal_list_item_factory.rs +++ b/gtk4/src/signal_list_item_factory.rs @@ -29,7 +29,7 @@ impl SignalListItemFactory { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"bind\0".as_ptr() as *const _, + c"bind".as_ptr() as *const _, Some(transmute::<*const (), unsafe extern "C" fn()>( bind_trampoline::<F> as *const (), )), @@ -55,7 +55,7 @@ impl SignalListItemFactory { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"setup\0".as_ptr() as *const _, + c"setup".as_ptr() as *const _, Some(transmute::<*const (), unsafe extern "C" fn()>( setup_trampoline::<F> as *const (), )), @@ -81,7 +81,7 @@ impl SignalListItemFactory { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"teardown\0".as_ptr() as *const _, + c"teardown".as_ptr() as *const _, Some(transmute::<*const (), unsafe extern "C" fn()>( teardown_trampoline::<F> as *const (), )), @@ -107,7 +107,7 @@ impl SignalListItemFactory { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"unbind\0".as_ptr() as *const _, + c"unbind".as_ptr() as *const _, Some(transmute::<*const (), unsafe extern "C" fn()>( unbind_trampoline::<F> as *const (), )), diff --git a/gtk4/src/spin_button.rs b/gtk4/src/spin_button.rs index 6eb1ed37f5ab..620fc01e9eab 100644 --- a/gtk4/src/spin_button.rs +++ b/gtk4/src/spin_button.rs @@ -19,7 +19,7 @@ impl SpinButton { let f: Box_<F> = Box_::new(f); connect_raw( self.as_ptr() as *mut _, - b"input\0".as_ptr() as *mut _, + c"input".as_ptr() as *mut _, Some(transmute::<usize, unsafe extern "C" fn()>( input_trampoline::<F> as usize, )), diff --git a/gtk4/src/text.rs b/gtk4/src/text.rs index 48f866598f33..542d71db87d7 100644 --- a/gtk4/src/text.rs +++ b/gtk4/src/text.rs @@ -23,7 +23,7 @@ impl Text { let f: Box<F> = Box::new(f); connect_raw( self.as_ptr() as *mut _, - b"activate\0".as_ptr() as *const _, + c"activate".as_ptr() as *const _, Some(transmute::<usize, unsafe extern "C" fn()>( activate_trampoline::<F> as usize, )), @@ -44,7 +44,7 @@ impl Text { let f: Box<F> = Box::new(f); connect_raw( self.as_ptr() as *mut _, - b"backspace\0".as_ptr() as *const _, + c"backspace".as_ptr() as *const _, Some(transmute::<usize, unsafe extern "C" fn()>( backspace_trampoline::<F> as usize, )), @@ -65,7 +65,7 @@ impl Text { let f: Box<F> = Box::new(f); connect_raw( self.as_ptr() as *mut _, - b"copy-clipboard\0".as_ptr() as *const _, + c"copy-clipboard".as_ptr() as *const _, Some(transmute::<usize, unsafe extern "C" fn()>( copy_clipboard_trampoline::<F> as usize, )), @@ -86,7 +86,7 @@ impl Text { let f: Box<F> = Box::new(f); connect_raw( self.as_ptr() as *mut _, - b"cut-clipboard\0".as_ptr() as *const _, + c"cut-clipboard".as_ptr() as *const _, Some(transmute::<usize, unsafe extern "C" fn()>( cut_clipboard_trampoline::<F> as usize, )), @@ -114,7 +114,7 @@ impl Text { let f: Box<F> = Box::new(f); connect_raw( self.as_ptr() as *mut _, - b"delete-from-cursor\0".as_ptr() as *const _, + c"delete-from-cursor".as_ptr() as *const _, Some(transmute::<usize, unsafe extern "C" fn()>( delete_from_cursor_trampoline::<F> as usize, )), @@ -136,7 +136,7 @@ impl Text { let f: Box<F> = Box::new(f); connect_raw( self.as_ptr() as *mut _, - b"insert-at-cursor\0".as_ptr() as *const _, + c"insert-at-cursor".as_ptr() as *const _, Some(transmute::<usize, unsafe extern "C" fn()>( insert_at_cursor_trampoline::<F> as usize, )), @@ -157,7 +157,7 @@ impl Text { let f: Box<F> = Box::new(f); connect_raw( self.as_ptr() as *mut _, - b"insert-emoji\0".as_ptr() as *const _, + c"insert-emoji".as_ptr() as *const _, Some(transmute::<usize, unsafe extern "C" fn()>( insert_emoji_trampoline::<F> as usize, )), @@ -191,7 +191,7 @@ impl Text { let f: Box<F> = Box::new(f); connect_raw( self.as_ptr() as *mut _, - b"move-cursor\0".as_ptr() as *const _, + c"move-cursor".as_ptr() as *const _, Some(transmute::<usize, unsafe extern "C" fn()>( move_cursor_trampoline::<F> as usize, )), @@ -212,7 +212,7 @@ impl Text { let f: Box<F> = Box::new(f); connect_raw( self.as_ptr() as *mut _, - b"paste-clipboard\0".as_ptr() as *const _, + c"paste-clipboard".as_ptr() as *const _, Some(transmute::<usize, unsafe extern "C" fn()>( paste_clipboard_trampoline::<F> as usize, )), @@ -234,7 +234,7 @@ impl Text { let f: Box<F> = Box::new(f); connect_raw( self.as_ptr() as *mut _, - b"populate-popup\0".as_ptr() as *const _, + c"populate-popup".as_ptr() as *const _, Some(transmute::<usize, unsafe extern "C" fn()>( populate_popup_trampoline::<F> as usize, )), @@ -256,7 +256,7 @@ impl Text { let f: Box<F> = Box::new(f); connect_raw( self.as_ptr() as *mut _, - b"preedit-changed\0".as_ptr() as *const _, + c"preedit-changed".as_ptr() as *const _, Some(transmute::<usize, unsafe extern "C" fn()>( preedit_changed_trampoline::<F> as usize, )), @@ -277,7 +277,7 @@ impl Text { let f: Box<F> = Box::new(f); connect_raw( self.as_ptr() as *mut _, - b"toggle-overwrite\0".as_ptr() as *const _, + c"toggle-overwrite".as_ptr() as *const _, Some(transmute::<usize, unsafe extern "C" fn()>( toggle_overwrite_trampoline::<F> as usize, )), diff --git a/gtk4/src/text_buffer.rs b/gtk4/src/text_buffer.rs index b06390884e0e..8123dd19436e 100644 --- a/gtk4/src/text_buffer.rs +++ b/gtk4/src/text_buffer.rs @@ -95,7 +95,7 @@ pub trait TextBufferExtManual: IsA<TextBuffer> + 'static { let f: Box_<F> = Box_::new(f); connect_raw( self.to_glib_none().0 as *mut _, - b"insert-text\0".as_ptr() as *mut _, + c"insert-text".as_ptr() as *mut _, Some(transmute::<usize, unsafe extern "C" fn()>( insert_text_trampoline::<Self, F> as usize, )), diff --git a/gtk4/sys/src/lib.rs b/gtk4/sys/src/lib.rs index 4eea1ae98dfb..dbe2f18aed72 100644 --- a/gtk4/sys/src/lib.rs +++ b/gtk4/sys/src/lib.rs @@ -21264,6 +21264,9 @@ extern "C" { ) -> *const c_char; pub fn gtk_css_parser_error_quark() -> glib::GQuark; pub fn gtk_css_parser_warning_quark() -> glib::GQuark; + #[cfg(feature = "v4_18")] + #[cfg_attr(docsrs, doc(cfg(feature = "v4_18")))] + pub fn gtk_disable_portals(); pub fn gtk_disable_setlocale(); pub fn gtk_distribute_natural_allocation( extra_space: c_int, diff --git a/gtk4/sys/versions.txt b/gtk4/sys/versions.txt index 5af8e497d2f0..1a56b9ecf195 100644 --- a/gtk4/sys/versions.txt +++ b/gtk4/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) -from gir-files (https://github.com/gtk-rs/gir-files @ c05f5cc23cb7) +Generated by gir (https://github.com/gtk-rs/gir @ be3ecc201d39) +from gir-files (https://github.com/gtk-rs/gir-files @ 3ede86d6a218)