diff --git a/Cargo.lock b/Cargo.lock index 08f81e1e7646..f7145748456f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,9 +4,9 @@ version = 3 [[package]] name = "addr2line" -version = "0.21.0" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" +checksum = "6e4503c46a5c0c7844e948c9a4d6acd9f50cccb4de1c48eb9e291ea17470c678" dependencies = [ "gimli", ] @@ -34,12 +34,11 @@ dependencies = [ [[package]] name = "async-channel" -version = "2.2.1" +version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "136d4d23bcc79e27423727b36823d86233aad06dfea531837b038394d11e9928" +checksum = "89b47800b0be77592da0afd425cc03468052844aff33b84e33cc696f64e77b6a" dependencies = [ "concurrent-queue", - "event-listener", "event-listener-strategy", "futures-core", "pin-project-lite", @@ -47,15 +46,15 @@ dependencies = [ [[package]] name = "autocfg" -version = "1.2.0" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1fdabc7756949593fe60f30ec81974b613357de856987752631dea1e3394c80" +checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" [[package]] name = "backtrace" -version = "0.3.71" +version = "0.3.72" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26b05800d2e817c8b3b4b54abd461726265fa9789ae34330622f2db9ee696f9d" +checksum = "17c6a35df3749d2e8bb1b7b21a976d82b15548788d2735b9d82f329268f71a11" dependencies = [ "addr2line", "cc", @@ -68,9 +67,9 @@ dependencies = [ [[package]] name = "base64" -version = "0.22.0" +version = "0.22.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9475866fec1451be56a3c2400fd081ff546538961565ccb5b7142cbd22bc7a51" +checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" [[package]] name = "basic-toml" @@ -110,9 +109,9 @@ checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" [[package]] name = "bytemuck" -version = "1.15.0" +version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d6d68c57235a3a081186990eca2867354726650f42f7516ca50c28d6281fd15" +checksum = "78834c15cb5d5efe3452d58b1e8ba890dd62d21907f867f383358198e56ebca5" [[package]] name = "byteorder" @@ -129,7 +128,7 @@ checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9" [[package]] name = "cairo-rs" version = "0.20.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#4bc38db20bea400ba704cc7a044989ed666b46f0" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#2579e50c7677474152e0eba2dc78222cff30b4ca" dependencies = [ "bitflags 2.5.0", "cairo-sys-rs", @@ -141,7 +140,7 @@ dependencies = [ [[package]] name = "cairo-sys-rs" version = "0.20.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#4bc38db20bea400ba704cc7a044989ed666b46f0" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#2579e50c7677474152e0eba2dc78222cff30b4ca" dependencies = [ "glib-sys", "libc", @@ -150,9 +149,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.95" +version = "1.0.98" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d32a725bc159af97c3e629873bb9f88fb8cf8a4867175f76dc987815ea07c83b" +checksum = "41c270e7540d725e65ac7f1b212ac8ce349719624d7bcff99f8e2e488e8cf03f" [[package]] name = "cfg-expr" @@ -192,9 +191,9 @@ checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b" [[package]] name = "concurrent-queue" -version = "2.4.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d16048cd947b08fa32c24458a22f5dc5e835264f689f4f5653210c69fd107363" +checksum = "4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973" dependencies = [ "crossbeam-utils", ] @@ -207,9 +206,9 @@ checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" [[package]] name = "crossbeam-utils" -version = "0.8.19" +version = "0.8.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345" +checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80" [[package]] name = "dlib" @@ -246,9 +245,9 @@ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" [[package]] name = "errno" -version = "0.3.8" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" +checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba" dependencies = [ "libc", "windows-sys 0.52.0", @@ -256,9 +255,9 @@ dependencies = [ [[package]] name = "event-listener" -version = "5.3.0" +version = "5.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d9944b8ca13534cdfb2800775f8dd4902ff3fc75a50101466decadfdf322a24" +checksum = "6032be9bd27023a771701cc49f9f053c751055f71efb2e0ae5c15809093675ba" dependencies = [ "concurrent-queue", "parking", @@ -267,9 +266,9 @@ dependencies = [ [[package]] name = "event-listener-strategy" -version = "0.5.1" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "332f51cb23d20b0de8458b86580878211da09bcd4503cb579c225b3d124cabb3" +checksum = "0f214dc438f977e6d4e3500aaa277f5ad94ca83fbbd9b1a15713ce2344ccc5a1" dependencies = [ "event-listener", "pin-project-lite", @@ -277,9 +276,9 @@ dependencies = [ [[package]] name = "fastrand" -version = "2.0.2" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "658bd65b1cf4c852a3cc96f18a8ce7b5640f6b703f905c7d74532294c2a63984" +checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a" [[package]] name = "femtovg" @@ -393,7 +392,7 @@ dependencies = [ [[package]] name = "gdk-pixbuf" version = "0.20.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#4bc38db20bea400ba704cc7a044989ed666b46f0" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#2579e50c7677474152e0eba2dc78222cff30b4ca" dependencies = [ "gdk-pixbuf-sys", "gio", @@ -404,7 +403,7 @@ dependencies = [ [[package]] name = "gdk-pixbuf-sys" version = "0.20.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#4bc38db20bea400ba704cc7a044989ed666b46f0" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#2579e50c7677474152e0eba2dc78222cff30b4ca" dependencies = [ "gio-sys", "glib-sys", @@ -525,9 +524,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.14" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94b22e06ecb0110981051723910cbf0b5f5e09a2062dd7663334ee79a9d1286c" +checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" dependencies = [ "cfg-if", "libc", @@ -546,14 +545,14 @@ dependencies = [ [[package]] name = "gimli" -version = "0.28.1" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" +checksum = "40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd" [[package]] name = "gio" version = "0.20.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#4bc38db20bea400ba704cc7a044989ed666b46f0" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#2579e50c7677474152e0eba2dc78222cff30b4ca" dependencies = [ "futures-channel", "futures-core", @@ -570,7 +569,7 @@ dependencies = [ [[package]] name = "gio-sys" version = "0.20.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#4bc38db20bea400ba704cc7a044989ed666b46f0" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#2579e50c7677474152e0eba2dc78222cff30b4ca" dependencies = [ "glib-sys", "gobject-sys", @@ -619,7 +618,7 @@ dependencies = [ [[package]] name = "glib" version = "0.20.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#4bc38db20bea400ba704cc7a044989ed666b46f0" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#2579e50c7677474152e0eba2dc78222cff30b4ca" dependencies = [ "bitflags 2.5.0", "futures-channel", @@ -640,7 +639,7 @@ dependencies = [ [[package]] name = "glib-macros" version = "0.20.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#4bc38db20bea400ba704cc7a044989ed666b46f0" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#2579e50c7677474152e0eba2dc78222cff30b4ca" dependencies = [ "heck", "proc-macro-crate", @@ -652,7 +651,7 @@ dependencies = [ [[package]] name = "glib-sys" version = "0.20.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#4bc38db20bea400ba704cc7a044989ed666b46f0" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#2579e50c7677474152e0eba2dc78222cff30b4ca" dependencies = [ "libc", "system-deps", @@ -694,7 +693,7 @@ dependencies = [ [[package]] name = "gobject-sys" version = "0.20.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#4bc38db20bea400ba704cc7a044989ed666b46f0" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#2579e50c7677474152e0eba2dc78222cff30b4ca" dependencies = [ "glib-sys", "libc", @@ -704,7 +703,7 @@ dependencies = [ [[package]] name = "graphene-rs" version = "0.20.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#4bc38db20bea400ba704cc7a044989ed666b46f0" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#2579e50c7677474152e0eba2dc78222cff30b4ca" dependencies = [ "glib", "graphene-sys", @@ -714,7 +713,7 @@ dependencies = [ [[package]] name = "graphene-sys" version = "0.20.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#4bc38db20bea400ba704cc7a044989ed666b46f0" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#2579e50c7677474152e0eba2dc78222cff30b4ca" dependencies = [ "glib-sys", "libc", @@ -827,9 +826,9 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.14.3" +version = "0.14.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" +checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" [[package]] name = "heck" @@ -921,9 +920,9 @@ dependencies = [ [[package]] name = "hyper-util" -version = "0.1.3" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca38ef113da30126bbff9cd1705f9273e15d45498615d138b0c20279ac7a76aa" +checksum = "7b875924a60b96e5d7b9ae7b066540b1dd1cbd90d1828f54c92e02a283351c56" dependencies = [ "bytes", "futures-channel", @@ -1065,9 +1064,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libc" -version = "0.2.154" +version = "0.2.155" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae743338b92ff9146ce83992f766a31066a91a8c84a45e0e9f21e7cf6de6d346" +checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" [[package]] name = "libloading" @@ -1081,15 +1080,15 @@ dependencies = [ [[package]] name = "linux-raw-sys" -version = "0.4.13" +version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" +checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" [[package]] name = "lock_api" -version = "0.4.11" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45" +checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" dependencies = [ "autocfg", "scopeguard", @@ -1130,9 +1129,9 @@ checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" [[package]] name = "miniz_oxide" -version = "0.7.2" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7" +checksum = "87dfd01fe195c66b572b37921ad8803d010623c0aca821bea2302239d155cdae" dependencies = [ "adler", ] @@ -1150,9 +1149,9 @@ dependencies = [ [[package]] name = "num-traits" -version = "0.2.18" +version = "0.2.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" dependencies = [ "autocfg", ] @@ -1169,9 +1168,9 @@ dependencies = [ [[package]] name = "object" -version = "0.32.2" +version = "0.35.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" +checksum = "b8ec7ab813848ba4522158d5517a6093db1ded27575b070f4177b8d12b41db5e" dependencies = [ "memchr", ] @@ -1185,7 +1184,7 @@ checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" [[package]] name = "pango" version = "0.20.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#4bc38db20bea400ba704cc7a044989ed666b46f0" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#2579e50c7677474152e0eba2dc78222cff30b4ca" dependencies = [ "gio", "glib", @@ -1196,7 +1195,7 @@ dependencies = [ [[package]] name = "pango-sys" version = "0.20.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#4bc38db20bea400ba704cc7a044989ed666b46f0" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#2579e50c7677474152e0eba2dc78222cff30b4ca" dependencies = [ "glib-sys", "gobject-sys", @@ -1212,9 +1211,9 @@ checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae" [[package]] name = "parking_lot" -version = "0.12.1" +version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" +checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27" dependencies = [ "lock_api", "parking_lot_core", @@ -1222,15 +1221,15 @@ dependencies = [ [[package]] name = "parking_lot_core" -version = "0.9.9" +version = "0.9.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e" +checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" dependencies = [ "cfg-if", "libc", "redox_syscall", "smallvec", - "windows-targets 0.48.5", + "windows-targets 0.52.5", ] [[package]] @@ -1288,9 +1287,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.82" +version = "1.0.84" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ad3d49ab951a01fbaafe34f2ec74122942fe18a3f9814c3268f1bb72042131b" +checksum = "ec96c6a92621310b51366f1e28d05ef11489516e93be030060e5fc12024a49d6" dependencies = [ "unicode-ident", ] @@ -1330,11 +1329,11 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.4.1" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" +checksum = "469052894dcb553421e483e4209ee581a45100d31b4018de03e5a7ad86374a7e" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.5.0", ] [[package]] @@ -1404,9 +1403,9 @@ dependencies = [ [[package]] name = "rustc-demangle" -version = "0.1.23" +version = "0.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" +checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" [[package]] name = "rustc_version" @@ -1456,15 +1455,15 @@ dependencies = [ [[package]] name = "rustls-pki-types" -version = "1.5.0" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "beb461507cee2c2ff151784c52762cf4d9ff6a61f3e80968600ed24fa837fa54" +checksum = "976295e77ce332211c0d24d92c0e83e50f5c5f046d11082cea19f3df13a3562d" [[package]] name = "rustls-webpki" -version = "0.102.3" +version = "0.102.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3bce581c0dd41bce533ce695a1437fa16a7ab5ac3ccfa99fe1a620a7885eabf" +checksum = "ff448f7e92e913c4b7d4c6d8e4540a1724b319b4152b8aef6d4cf8339712b33e" dependencies = [ "ring", "rustls-pki-types", @@ -1489,9 +1488,9 @@ dependencies = [ [[package]] name = "ryu" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e86697c916019a8588c99b5fac3cead74ec0b4b819707a682fd4d23fa0ce1ba1" +checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" [[package]] name = "scoped-tls" @@ -1507,24 +1506,24 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "semver" -version = "1.0.22" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92d43fe69e652f3df9bdc2b85b2854a0825b86e4fb76bc44d945137d053639ca" +checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" [[package]] name = "serde" -version = "1.0.201" +version = "1.0.203" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "780f1cebed1629e4753a1a38a3c72d30b97ec044f0aef68cb26650a3c5cf363c" +checksum = "7253ab4de971e72fb7be983802300c30b5a7f0c2e56fab8abfc6a214307c0094" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.201" +version = "1.0.203" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5e405930b9796f1c00bee880d03fc7e0bb4b9a11afc776885ffe84320da2865" +checksum = "500cbc0ebeb6f46627f50f3f5811ccf6bf00643be300b4c3eabc0ef55dc5b5ba" dependencies = [ "proc-macro2", "quote", @@ -1533,9 +1532,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.116" +version = "1.0.117" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e17db7126d17feb94eb3fad46bf1a96b034e8aacbc2e775fe81505f8b0b2813" +checksum = "455182ea6142b14f93f4bc5320a2b31c1f266b66a4a5c858b013302a5d8cbfc3" dependencies = [ "itoa", "ryu", @@ -1544,9 +1543,9 @@ dependencies = [ [[package]] name = "serde_spanned" -version = "0.6.5" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb3622f419d1296904700073ea6cc23ad690adbd66f13ea683df73298736f0c1" +checksum = "79e674e01f999af37c49f70a6ede167a8a60b2503e56c5599532a65baa5969a0" dependencies = [ "serde", ] @@ -1624,9 +1623,9 @@ checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" [[package]] name = "socket2" -version = "0.5.6" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05ffd9c0a93b7543e062e759284fcf5f5e3b098501104bfbdde4d404db792871" +checksum = "ce305eb0b4296696835b71df73eb912e0f1ffd2556a501fcede6e0c50349191c" dependencies = [ "libc", "windows-sys 0.52.0", @@ -1646,9 +1645,9 @@ checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" [[package]] name = "syn" -version = "2.0.60" +version = "2.0.66" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "909518bc7b1c9b779f1bbf07f2929d35af9f0f37e47c6e9ef7f9dddc1e1821f3" +checksum = "c42f3f41a2de00b01c0aaad383c5a45241efc8b2d1eda5661812fda5f3cdcff5" dependencies = [ "proc-macro2", "quote", @@ -1709,18 +1708,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.59" +version = "1.0.61" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0126ad08bff79f29fc3ae6a55cc72352056dfff61e3ff8bb7129476d44b23aa" +checksum = "c546c80d6be4bc6a00c0f01730c08df82eaa7a7a61f11d656526506112cc1709" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.59" +version = "1.0.61" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1cd413b5d558b4c5bf3680e324a6fa5014e7b7c067a51e69dbdf47eb7148b66" +checksum = "46c3384250002a6d5af4d114f2845d37b57521033f30d5c3f46c4d70e1197533" dependencies = [ "proc-macro2", "quote", @@ -1744,9 +1743,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.37.0" +version = "1.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1adbebffeca75fcfd058afa480fb6c0b81e165a0323f9c9d39c9697e37c46787" +checksum = "ba4f4a02a7a80d6f274636f0aa95c7e383b912d41fe721a31f29e29698585a4a" dependencies = [ "backtrace", "bytes", @@ -1763,9 +1762,9 @@ dependencies = [ [[package]] name = "tokio-macros" -version = "2.2.0" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" +checksum = "5f5ae998a069d4b5aba8ee9dad856af7d520c3699e6159b185c2acd48155d39a" dependencies = [ "proc-macro2", "quote", @@ -1785,21 +1784,21 @@ dependencies = [ [[package]] name = "toml" -version = "0.8.12" +version = "0.8.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9dd1545e8208b4a5af1aa9bbd0b4cf7e9ea08fabc5d0a5c67fcaafa17433aa3" +checksum = "a4e43f8cc456c9704c851ae29c67e17ef65d2c30017c17a9765b89c382dc8bba" dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit 0.22.12", + "toml_edit 0.22.13", ] [[package]] name = "toml_datetime" -version = "0.6.5" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" +checksum = "4badfd56924ae69bcc9039335b2e017639ce3f9b001c393c1b2d1ef846ce2cbf" dependencies = [ "serde", ] @@ -1817,15 +1816,15 @@ dependencies = [ [[package]] name = "toml_edit" -version = "0.22.12" +version = "0.22.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3328d4f68a705b2a4498da1d580585d39a6510f98318a2cec3018a7ec61ddef" +checksum = "c127785850e8c20836d49732ae6abfa47616e60bf9d9f57c43c250361a9db96c" dependencies = [ "indexmap", "serde", "serde_spanned", "toml_datetime", - "winnow 0.6.6", + "winnow 0.6.9", ] [[package]] @@ -1841,7 +1840,6 @@ dependencies = [ "tokio", "tower-layer", "tower-service", - "tracing", ] [[package]] @@ -1862,7 +1860,6 @@ version = "0.1.40" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" dependencies = [ - "log", "pin-project-lite", "tracing-core", ] @@ -2072,9 +2069,9 @@ checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" [[package]] name = "wayland-backend" -version = "0.3.3" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d50fa61ce90d76474c87f5fc002828d81b32677340112b4ef08079a9d459a40" +checksum = "34e9e6b6d4a2bb4e7e69433e0b35c7923b95d4dc8503a84d25ec917a4bbfdf07" dependencies = [ "cc", "downcast-rs", @@ -2086,9 +2083,9 @@ dependencies = [ [[package]] name = "wayland-client" -version = "0.31.2" +version = "0.31.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82fb96ee935c2cea6668ccb470fb7771f6215d1691746c2d896b447a00ad3f1f" +checksum = "1e63801c85358a431f986cffa74ba9599ff571fc5774ac113ed3b490c19a1133" dependencies = [ "bitflags 2.5.0", "rustix", @@ -2098,9 +2095,9 @@ dependencies = [ [[package]] name = "wayland-scanner" -version = "0.31.1" +version = "0.31.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63b3a62929287001986fb58c789dce9b67604a397c15c611ad9f747300b6c283" +checksum = "67da50b9f80159dec0ea4c11c13e24ef9e7574bd6ce24b01860a175010cea565" dependencies = [ "proc-macro2", "quick-xml", @@ -2109,9 +2106,9 @@ dependencies = [ [[package]] name = "wayland-sys" -version = "0.31.1" +version = "0.31.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15a0c8eaff5216d07f226cb7a549159267f3467b289d9a2e52fd3ef5aae2b7af" +checksum = "105b1842da6554f91526c14a2a2172897b7f745a805d62af4ce698706be79c12" dependencies = [ "dlib", "log", @@ -2364,9 +2361,9 @@ dependencies = [ [[package]] name = "winnow" -version = "0.6.6" +version = "0.6.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0c976aaaa0e1f90dbb21e9587cdaf1d9679a1cde8875c0d6bd83ab96a208352" +checksum = "86c949fede1d13936a99f14fafd3e76fd642b556dd2ce96287fbe2e0151bfac6" dependencies = [ "memchr", ] @@ -2408,6 +2405,6 @@ checksum = "791978798f0597cfc70478424c2b4fdc2b7a8024aaff78497ef00f24ef674193" [[package]] name = "zeroize" -version = "1.8.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63381fa6624bf92130a6b87c0d07380116f80b565c42cf0d754136f0238359ef" +checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde" diff --git a/examples/Cargo.toml b/examples/Cargo.toml index d42193abd445..d45758fa478e 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -13,7 +13,7 @@ glow = { version = "0.13.0", optional = true } epoxy = { version = "0.1.0", optional = true } libloading = { version = "0.8.0", optional = true } im-rc = { version = "15", optional = true } -async-channel = { version = "2.2.1", optional = true } +async-channel = { version = "2.3", optional = true } tokio = { version = "1", features = ["full"], optional = true } reqwest = { version = "0.12", features = ["json", "rustls-tls"], default-features = false, optional = true } serde = { version = "1.0", features = ["derive"], optional = true } diff --git a/examples/virtual_methods/base_button/mod.rs b/examples/virtual_methods/base_button/mod.rs index 23a6c8960b75..af6e755a288b 100644 --- a/examples/virtual_methods/base_button/mod.rs +++ b/examples/virtual_methods/base_button/mod.rs @@ -36,6 +36,7 @@ pub trait BaseButtonExt: IsA { /// /// This retrieves this instance's class and calls the function pointer in /// it. + #[allow(dead_code)] fn sync_method(&self, extra_text: Option<&str>) { let obj = self.upcast_ref::(); (obj.class().as_ref().sync_method)(obj, extra_text); diff --git a/gdk4-wayland/src/auto/versions.txt b/gdk4-wayland/src/auto/versions.txt index b66d2c6ba3bf..4a36b94f29b0 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 @ 5223ce91b97a) -from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109) +Generated by gir (https://github.com/gtk-rs/gir @ 839b834456d2) +from gir-files (https://github.com/gtk-rs/gir-files @ 74aa91d9063d) diff --git a/gdk4-wayland/sys/versions.txt b/gdk4-wayland/sys/versions.txt index b66d2c6ba3bf..4a36b94f29b0 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 @ 5223ce91b97a) -from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109) +Generated by gir (https://github.com/gtk-rs/gir @ 839b834456d2) +from gir-files (https://github.com/gtk-rs/gir-files @ 74aa91d9063d) diff --git a/gdk4-win32/src/auto/versions.txt b/gdk4-win32/src/auto/versions.txt index b66d2c6ba3bf..4a36b94f29b0 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 @ 5223ce91b97a) -from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109) +Generated by gir (https://github.com/gtk-rs/gir @ 839b834456d2) +from gir-files (https://github.com/gtk-rs/gir-files @ 74aa91d9063d) diff --git a/gdk4-win32/sys/versions.txt b/gdk4-win32/sys/versions.txt index b66d2c6ba3bf..4a36b94f29b0 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 @ 5223ce91b97a) -from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109) +Generated by gir (https://github.com/gtk-rs/gir @ 839b834456d2) +from gir-files (https://github.com/gtk-rs/gir-files @ 74aa91d9063d) diff --git a/gdk4-x11/src/auto/versions.txt b/gdk4-x11/src/auto/versions.txt index b66d2c6ba3bf..4a36b94f29b0 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 @ 5223ce91b97a) -from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109) +Generated by gir (https://github.com/gtk-rs/gir @ 839b834456d2) +from gir-files (https://github.com/gtk-rs/gir-files @ 74aa91d9063d) diff --git a/gdk4-x11/src/auto/x11_screen.rs b/gdk4-x11/src/auto/x11_screen.rs index d4fc59007dd9..a51cdfd5c06e 100644 --- a/gdk4-x11/src/auto/x11_screen.rs +++ b/gdk4-x11/src/auto/x11_screen.rs @@ -71,7 +71,7 @@ impl X11Screen { connect_raw( self.as_ptr() as *mut _, b"window-manager-changed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( window_manager_changed_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gdk4-x11/src/x11_display.rs b/gdk4-x11/src/x11_display.rs index 723dc0339961..f38704225429 100644 --- a/gdk4-x11/src/x11_display.rs +++ b/gdk4-x11/src/x11_display.rs @@ -90,7 +90,7 @@ impl X11Display { connect_raw( self.as_ptr() as *mut _, b"xevent\0".as_ptr() as *const _, - Some(transmute::<_, unsafe extern "C" fn()>( + Some(transmute::<*const (), unsafe extern "C" fn()>( xevent_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gdk4-x11/sys/versions.txt b/gdk4-x11/sys/versions.txt index b66d2c6ba3bf..4a36b94f29b0 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 @ 5223ce91b97a) -from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109) +Generated by gir (https://github.com/gtk-rs/gir @ 839b834456d2) +from gir-files (https://github.com/gtk-rs/gir-files @ 74aa91d9063d) diff --git a/gdk4/src/auto/clipboard.rs b/gdk4/src/auto/clipboard.rs index 1f86cb649229..af9c678545b3 100644 --- a/gdk4/src/auto/clipboard.rs +++ b/gdk4/src/auto/clipboard.rs @@ -340,7 +340,7 @@ impl Clipboard { connect_raw( self.as_ptr() as *mut _, b"changed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( changed_trampoline:: as *const (), )), Box_::into_raw(f), @@ -363,7 +363,7 @@ impl Clipboard { connect_raw( self.as_ptr() as *mut _, b"notify::content\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_content_trampoline:: as *const (), )), Box_::into_raw(f), @@ -386,7 +386,7 @@ impl Clipboard { connect_raw( self.as_ptr() as *mut _, b"notify::formats\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_formats_trampoline:: as *const (), )), Box_::into_raw(f), @@ -409,7 +409,7 @@ impl Clipboard { connect_raw( self.as_ptr() as *mut _, b"notify::local\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_local_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gdk4/src/auto/content_provider.rs b/gdk4/src/auto/content_provider.rs index 8053b0ffbed9..a6a9935add60 100644 --- a/gdk4/src/auto/content_provider.rs +++ b/gdk4/src/auto/content_provider.rs @@ -187,7 +187,7 @@ pub trait ContentProviderExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"content-changed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( content_changed_trampoline:: as *const (), )), Box_::into_raw(f), @@ -213,7 +213,7 @@ pub trait ContentProviderExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::formats\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_formats_trampoline:: as *const (), )), Box_::into_raw(f), @@ -239,7 +239,7 @@ pub trait ContentProviderExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::storable-formats\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_storable_formats_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gdk4/src/auto/device.rs b/gdk4/src/auto/device.rs index 477e249405fa..e7ff6b649f76 100644 --- a/gdk4/src/auto/device.rs +++ b/gdk4/src/auto/device.rs @@ -211,7 +211,7 @@ pub trait DeviceExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"changed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( changed_trampoline:: as *const (), )), Box_::into_raw(f), @@ -240,7 +240,7 @@ pub trait DeviceExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"tool-changed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( tool_changed_trampoline:: as *const (), )), Box_::into_raw(f), @@ -266,7 +266,7 @@ pub trait DeviceExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::caps-lock-state\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_caps_lock_state_trampoline:: as *const (), )), Box_::into_raw(f), @@ -289,7 +289,7 @@ pub trait DeviceExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::direction\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_direction_trampoline:: as *const (), )), Box_::into_raw(f), @@ -315,7 +315,7 @@ pub trait DeviceExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::has-bidi-layouts\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_has_bidi_layouts_trampoline:: as *const (), )), Box_::into_raw(f), @@ -341,7 +341,7 @@ pub trait DeviceExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::modifier-state\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_modifier_state_trampoline:: as *const (), )), Box_::into_raw(f), @@ -364,7 +364,7 @@ pub trait DeviceExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::n-axes\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_n_axes_trampoline:: as *const (), )), Box_::into_raw(f), @@ -390,7 +390,7 @@ pub trait DeviceExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::num-lock-state\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_num_lock_state_trampoline:: as *const (), )), Box_::into_raw(f), @@ -416,7 +416,7 @@ pub trait DeviceExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::scroll-lock-state\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_scroll_lock_state_trampoline:: as *const (), )), Box_::into_raw(f), @@ -439,7 +439,7 @@ pub trait DeviceExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::seat\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_seat_trampoline:: as *const (), )), Box_::into_raw(f), @@ -462,7 +462,7 @@ pub trait DeviceExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::tool\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_tool_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gdk4/src/auto/display.rs b/gdk4/src/auto/display.rs index 456f78c00209..167eb1fbd503 100644 --- a/gdk4/src/auto/display.rs +++ b/gdk4/src/auto/display.rs @@ -313,7 +313,7 @@ pub trait DisplayExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"closed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( closed_trampoline:: as *const (), )), Box_::into_raw(f), @@ -335,7 +335,7 @@ pub trait DisplayExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"opened\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( opened_trampoline:: as *const (), )), Box_::into_raw(f), @@ -361,7 +361,7 @@ pub trait DisplayExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"seat-added\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( seat_added_trampoline:: as *const (), )), Box_::into_raw(f), @@ -390,7 +390,7 @@ pub trait DisplayExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"seat-removed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( seat_removed_trampoline:: as *const (), )), Box_::into_raw(f), @@ -419,7 +419,7 @@ pub trait DisplayExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"setting-changed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( setting_changed_trampoline:: as *const (), )), Box_::into_raw(f), @@ -442,7 +442,7 @@ pub trait DisplayExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::composited\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_composited_trampoline:: as *const (), )), Box_::into_raw(f), @@ -470,7 +470,7 @@ pub trait DisplayExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::dmabuf-formats\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_dmabuf_formats_trampoline:: as *const (), )), Box_::into_raw(f), @@ -496,7 +496,7 @@ pub trait DisplayExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::input-shapes\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_input_shapes_trampoline:: as *const (), )), Box_::into_raw(f), @@ -519,7 +519,7 @@ pub trait DisplayExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::rgba\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_rgba_trampoline:: as *const (), )), Box_::into_raw(f), @@ -547,7 +547,7 @@ pub trait DisplayExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::shadow-width\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_shadow_width_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gdk4/src/auto/display_manager.rs b/gdk4/src/auto/display_manager.rs index fe243742b42c..1dcef32d36e5 100644 --- a/gdk4/src/auto/display_manager.rs +++ b/gdk4/src/auto/display_manager.rs @@ -85,7 +85,7 @@ impl DisplayManager { connect_raw( self.as_ptr() as *mut _, b"display-opened\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( display_opened_trampoline:: as *const (), )), Box_::into_raw(f), @@ -108,7 +108,7 @@ impl DisplayManager { connect_raw( self.as_ptr() as *mut _, b"notify::default-display\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_default_display_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gdk4/src/auto/dmabuf_texture_builder.rs b/gdk4/src/auto/dmabuf_texture_builder.rs index 1d18499a0353..f251b54258b8 100644 --- a/gdk4/src/auto/dmabuf_texture_builder.rs +++ b/gdk4/src/auto/dmabuf_texture_builder.rs @@ -227,7 +227,7 @@ impl DmabufTextureBuilder { connect_raw( self.as_ptr() as *mut _, b"notify::display\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_display_trampoline:: as *const (), )), Box_::into_raw(f), @@ -252,7 +252,7 @@ impl DmabufTextureBuilder { connect_raw( self.as_ptr() as *mut _, b"notify::fourcc\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_fourcc_trampoline:: as *const (), )), Box_::into_raw(f), @@ -277,7 +277,7 @@ impl DmabufTextureBuilder { connect_raw( self.as_ptr() as *mut _, b"notify::height\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_height_trampoline:: as *const (), )), Box_::into_raw(f), @@ -302,7 +302,7 @@ impl DmabufTextureBuilder { connect_raw( self.as_ptr() as *mut _, b"notify::modifier\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_modifier_trampoline:: as *const (), )), Box_::into_raw(f), @@ -327,7 +327,7 @@ impl DmabufTextureBuilder { connect_raw( self.as_ptr() as *mut _, b"notify::n-planes\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_n_planes_trampoline:: as *const (), )), Box_::into_raw(f), @@ -354,7 +354,7 @@ impl DmabufTextureBuilder { connect_raw( self.as_ptr() as *mut _, b"notify::premultiplied\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_premultiplied_trampoline:: as *const (), )), Box_::into_raw(f), @@ -381,7 +381,7 @@ impl DmabufTextureBuilder { connect_raw( self.as_ptr() as *mut _, b"notify::update-region\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_update_region_trampoline:: as *const (), )), Box_::into_raw(f), @@ -408,7 +408,7 @@ impl DmabufTextureBuilder { connect_raw( self.as_ptr() as *mut _, b"notify::update-texture\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_update_texture_trampoline:: as *const (), )), Box_::into_raw(f), @@ -433,7 +433,7 @@ impl DmabufTextureBuilder { connect_raw( self.as_ptr() as *mut _, b"notify::width\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_width_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gdk4/src/auto/drag.rs b/gdk4/src/auto/drag.rs index 827a819bb11f..1392eef789d6 100644 --- a/gdk4/src/auto/drag.rs +++ b/gdk4/src/auto/drag.rs @@ -153,7 +153,7 @@ pub trait DragExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"cancel\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( cancel_trampoline:: as *const (), )), Box_::into_raw(f), @@ -175,7 +175,7 @@ pub trait DragExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"dnd-finished\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( dnd_finished_trampoline:: as *const (), )), Box_::into_raw(f), @@ -197,7 +197,7 @@ pub trait DragExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"drop-performed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( drop_performed_trampoline:: as *const (), )), Box_::into_raw(f), @@ -220,7 +220,7 @@ pub trait DragExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::actions\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_actions_trampoline:: as *const (), )), Box_::into_raw(f), @@ -243,7 +243,7 @@ pub trait DragExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::display\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_display_trampoline:: as *const (), )), Box_::into_raw(f), @@ -269,7 +269,7 @@ pub trait DragExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::selected-action\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_selected_action_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gdk4/src/auto/drop.rs b/gdk4/src/auto/drop.rs index 6de7081383ac..37267b15d10f 100644 --- a/gdk4/src/auto/drop.rs +++ b/gdk4/src/auto/drop.rs @@ -154,7 +154,7 @@ impl Drop { connect_raw( self.as_ptr() as *mut _, b"notify::display\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_display_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gdk4/src/auto/frame_clock.rs b/gdk4/src/auto/frame_clock.rs index 7dfef3801203..8e8bb374ce3f 100644 --- a/gdk4/src/auto/frame_clock.rs +++ b/gdk4/src/auto/frame_clock.rs @@ -119,7 +119,7 @@ impl FrameClock { connect_raw( self.as_ptr() as *mut _, b"after-paint\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( after_paint_trampoline:: as *const (), )), Box_::into_raw(f), @@ -141,7 +141,7 @@ impl FrameClock { connect_raw( self.as_ptr() as *mut _, b"before-paint\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( before_paint_trampoline:: as *const (), )), Box_::into_raw(f), @@ -163,7 +163,7 @@ impl FrameClock { connect_raw( self.as_ptr() as *mut _, b"flush-events\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( flush_events_trampoline:: as *const (), )), Box_::into_raw(f), @@ -185,7 +185,7 @@ impl FrameClock { connect_raw( self.as_ptr() as *mut _, b"layout\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( layout_trampoline:: as *const (), )), Box_::into_raw(f), @@ -207,7 +207,7 @@ impl FrameClock { connect_raw( self.as_ptr() as *mut _, b"paint\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( paint_trampoline:: as *const (), )), Box_::into_raw(f), @@ -229,7 +229,7 @@ impl FrameClock { connect_raw( self.as_ptr() as *mut _, b"resume-events\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( resume_events_trampoline:: as *const (), )), Box_::into_raw(f), @@ -251,7 +251,7 @@ impl FrameClock { connect_raw( self.as_ptr() as *mut _, b"update\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( update_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gdk4/src/auto/gl_context.rs b/gdk4/src/auto/gl_context.rs index 208021f200fc..91c791b176d8 100644 --- a/gdk4/src/auto/gl_context.rs +++ b/gdk4/src/auto/gl_context.rs @@ -267,7 +267,7 @@ pub trait GLContextExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::allowed-apis\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_allowed_apis_trampoline:: as *const (), )), Box_::into_raw(f), @@ -292,7 +292,7 @@ pub trait GLContextExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::api\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_api_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gdk4/src/auto/monitor.rs b/gdk4/src/auto/monitor.rs index 55e51d3457de..02ad58b29892 100644 --- a/gdk4/src/auto/monitor.rs +++ b/gdk4/src/auto/monitor.rs @@ -147,7 +147,7 @@ pub trait MonitorExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"invalidate\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( invalidate_trampoline:: as *const (), )), Box_::into_raw(f), @@ -170,7 +170,7 @@ pub trait MonitorExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::connector\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_connector_trampoline:: as *const (), )), Box_::into_raw(f), @@ -195,7 +195,7 @@ pub trait MonitorExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::description\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_description_trampoline:: as *const (), )), Box_::into_raw(f), @@ -218,7 +218,7 @@ pub trait MonitorExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::geometry\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_geometry_trampoline:: as *const (), )), Box_::into_raw(f), @@ -241,7 +241,7 @@ pub trait MonitorExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::height-mm\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_height_mm_trampoline:: as *const (), )), Box_::into_raw(f), @@ -267,7 +267,7 @@ pub trait MonitorExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::manufacturer\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_manufacturer_trampoline:: as *const (), )), Box_::into_raw(f), @@ -290,7 +290,7 @@ pub trait MonitorExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::model\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_model_trampoline:: as *const (), )), Box_::into_raw(f), @@ -316,7 +316,7 @@ pub trait MonitorExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::refresh-rate\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_refresh_rate_trampoline:: as *const (), )), Box_::into_raw(f), @@ -341,7 +341,7 @@ pub trait MonitorExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::scale\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_scale_trampoline:: as *const (), )), Box_::into_raw(f), @@ -367,7 +367,7 @@ pub trait MonitorExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::scale-factor\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_scale_factor_trampoline:: as *const (), )), Box_::into_raw(f), @@ -393,7 +393,7 @@ pub trait MonitorExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::subpixel-layout\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_subpixel_layout_trampoline:: as *const (), )), Box_::into_raw(f), @@ -416,7 +416,7 @@ pub trait MonitorExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::valid\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_valid_trampoline:: as *const (), )), Box_::into_raw(f), @@ -439,7 +439,7 @@ pub trait MonitorExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::width-mm\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_width_mm_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gdk4/src/auto/paintable.rs b/gdk4/src/auto/paintable.rs index 31bb15e0564f..fa0077e76d4a 100644 --- a/gdk4/src/auto/paintable.rs +++ b/gdk4/src/auto/paintable.rs @@ -142,7 +142,7 @@ pub trait PaintableExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"invalidate-contents\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( invalidate_contents_trampoline:: as *const (), )), Box_::into_raw(f), @@ -164,7 +164,7 @@ pub trait PaintableExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"invalidate-size\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( invalidate_size_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gdk4/src/auto/seat.rs b/gdk4/src/auto/seat.rs index 06e4b1c2b081..feadcba26257 100644 --- a/gdk4/src/auto/seat.rs +++ b/gdk4/src/auto/seat.rs @@ -96,7 +96,7 @@ pub trait SeatExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"device-added\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( device_added_trampoline:: as *const (), )), Box_::into_raw(f), @@ -125,7 +125,7 @@ pub trait SeatExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"device-removed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( device_removed_trampoline:: as *const (), )), Box_::into_raw(f), @@ -154,7 +154,7 @@ pub trait SeatExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"tool-added\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( tool_added_trampoline:: as *const (), )), Box_::into_raw(f), @@ -183,7 +183,7 @@ pub trait SeatExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"tool-removed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( tool_removed_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gdk4/src/auto/surface.rs b/gdk4/src/auto/surface.rs index a6a4edd6f364..a033853e929d 100644 --- a/gdk4/src/auto/surface.rs +++ b/gdk4/src/auto/surface.rs @@ -287,7 +287,7 @@ pub trait SurfaceExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"enter-monitor\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( enter_monitor_trampoline:: as *const (), )), Box_::into_raw(f), @@ -317,7 +317,7 @@ pub trait SurfaceExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"event\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( event_trampoline:: as *const (), )), Box_::into_raw(f), @@ -345,7 +345,7 @@ pub trait SurfaceExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"layout\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( layout_trampoline:: as *const (), )), Box_::into_raw(f), @@ -374,7 +374,7 @@ pub trait SurfaceExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"leave-monitor\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( leave_monitor_trampoline:: as *const (), )), Box_::into_raw(f), @@ -407,7 +407,7 @@ pub trait SurfaceExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"render\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( render_trampoline:: as *const (), )), Box_::into_raw(f), @@ -430,7 +430,7 @@ pub trait SurfaceExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::cursor\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_cursor_trampoline:: as *const (), )), Box_::into_raw(f), @@ -453,7 +453,7 @@ pub trait SurfaceExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::height\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_height_trampoline:: as *const (), )), Box_::into_raw(f), @@ -476,7 +476,7 @@ pub trait SurfaceExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::mapped\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_mapped_trampoline:: as *const (), )), Box_::into_raw(f), @@ -501,7 +501,7 @@ pub trait SurfaceExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::scale\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_scale_trampoline:: as *const (), )), Box_::into_raw(f), @@ -527,7 +527,7 @@ pub trait SurfaceExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::scale-factor\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_scale_factor_trampoline:: as *const (), )), Box_::into_raw(f), @@ -550,7 +550,7 @@ pub trait SurfaceExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::width\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_width_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gdk4/src/auto/toplevel.rs b/gdk4/src/auto/toplevel.rs index 6c6c835299e3..407d65cac2cf 100644 --- a/gdk4/src/auto/toplevel.rs +++ b/gdk4/src/auto/toplevel.rs @@ -268,7 +268,7 @@ pub trait ToplevelExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::decorated\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_decorated_trampoline:: as *const (), )), Box_::into_raw(f), @@ -291,7 +291,7 @@ pub trait ToplevelExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::deletable\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_deletable_trampoline:: as *const (), )), Box_::into_raw(f), @@ -317,7 +317,7 @@ pub trait ToplevelExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::fullscreen-mode\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_fullscreen_mode_trampoline:: as *const (), )), Box_::into_raw(f), @@ -340,7 +340,7 @@ pub trait ToplevelExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::icon-list\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_icon_list_trampoline:: as *const (), )), Box_::into_raw(f), @@ -363,7 +363,7 @@ pub trait ToplevelExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::modal\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_modal_trampoline:: as *const (), )), Box_::into_raw(f), @@ -389,7 +389,7 @@ pub trait ToplevelExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::shortcuts-inhibited\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_shortcuts_inhibited_trampoline:: as *const (), )), Box_::into_raw(f), @@ -412,7 +412,7 @@ pub trait ToplevelExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::startup-id\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_startup_id_trampoline:: as *const (), )), Box_::into_raw(f), @@ -435,7 +435,7 @@ pub trait ToplevelExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::state\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_state_trampoline:: as *const (), )), Box_::into_raw(f), @@ -458,7 +458,7 @@ pub trait ToplevelExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::title\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_title_trampoline:: as *const (), )), Box_::into_raw(f), @@ -484,7 +484,7 @@ pub trait ToplevelExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::transient-for\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_transient_for_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gdk4/src/auto/versions.txt b/gdk4/src/auto/versions.txt index b66d2c6ba3bf..4a36b94f29b0 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 @ 5223ce91b97a) -from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109) +Generated by gir (https://github.com/gtk-rs/gir @ 839b834456d2) +from gir-files (https://github.com/gtk-rs/gir-files @ 74aa91d9063d) diff --git a/gdk4/src/auto/vulkan_context.rs b/gdk4/src/auto/vulkan_context.rs index 0e6bcab76364..bde434883875 100644 --- a/gdk4/src/auto/vulkan_context.rs +++ b/gdk4/src/auto/vulkan_context.rs @@ -34,7 +34,7 @@ impl VulkanContext { connect_raw( self.as_ptr() as *mut _, b"images-updated\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( images_updated_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gdk4/src/drag_surface.rs b/gdk4/src/drag_surface.rs index 089b42426782..e9cdf4641a69 100644 --- a/gdk4/src/drag_surface.rs +++ b/gdk4/src/drag_surface.rs @@ -43,7 +43,7 @@ pub trait DragSurfaceExtManual: sealed::Sealed + IsA { connect_raw( self.as_ptr() as *mut _, b"compute-size\0".as_ptr() as *const _, - Some(transmute::<_, unsafe extern "C" fn()>( + Some(transmute::<*const (), unsafe extern "C" fn()>( compute_size_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gdk4/src/toplevel.rs b/gdk4/src/toplevel.rs index 6e0a3815ef86..289bbcec22e4 100644 --- a/gdk4/src/toplevel.rs +++ b/gdk4/src/toplevel.rs @@ -37,7 +37,7 @@ pub trait ToplevelExtManual: sealed::Sealed + IsA { connect_raw( self.as_ptr() as *mut _, b"compute-size\0".as_ptr() as *const _, - Some(transmute::<_, unsafe extern "C" fn()>( + Some(transmute::<*const (), unsafe extern "C" fn()>( compute_size_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gdk4/sys/versions.txt b/gdk4/sys/versions.txt index b66d2c6ba3bf..4a36b94f29b0 100644 --- a/gdk4/sys/versions.txt +++ b/gdk4/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) -from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109) +Generated by gir (https://github.com/gtk-rs/gir @ 839b834456d2) +from gir-files (https://github.com/gtk-rs/gir-files @ 74aa91d9063d) diff --git a/gir b/gir index 5223ce91b97a..839b834456d2 160000 --- a/gir +++ b/gir @@ -1 +1 @@ -Subproject commit 5223ce91b97a833b09d6cbd04bbeab1bf18112b7 +Subproject commit 839b834456d23a0a12668cba7c01ba1274eff133 diff --git a/gir-files b/gir-files index 65efc10e7109..74aa91d9063d 160000 --- a/gir-files +++ b/gir-files @@ -1 +1 @@ -Subproject commit 65efc10e710972dc43f91266d0f98c5e39390af4 +Subproject commit 74aa91d9063df2708b804ef77c5e035b10d8fbc7 diff --git a/gsk4/src/auto/renderer.rs b/gsk4/src/auto/renderer.rs index 92ab5818aaf9..a8b0d9967447 100644 --- a/gsk4/src/auto/renderer.rs +++ b/gsk4/src/auto/renderer.rs @@ -141,7 +141,7 @@ pub trait GskRendererExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::realized\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_realized_trampoline:: as *const (), )), Box_::into_raw(f), @@ -164,7 +164,7 @@ pub trait GskRendererExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::surface\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_surface_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gsk4/src/auto/versions.txt b/gsk4/src/auto/versions.txt index b66d2c6ba3bf..4a36b94f29b0 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 @ 5223ce91b97a) -from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109) +Generated by gir (https://github.com/gtk-rs/gir @ 839b834456d2) +from gir-files (https://github.com/gtk-rs/gir-files @ 74aa91d9063d) diff --git a/gsk4/sys/versions.txt b/gsk4/sys/versions.txt index b66d2c6ba3bf..4a36b94f29b0 100644 --- a/gsk4/sys/versions.txt +++ b/gsk4/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a) -from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109) +Generated by gir (https://github.com/gtk-rs/gir @ 839b834456d2) +from gir-files (https://github.com/gtk-rs/gir-files @ 74aa91d9063d) diff --git a/gtk4/Gir.toml b/gtk4/Gir.toml index 95071a9e4581..beb7c3243e19 100644 --- a/gtk4/Gir.toml +++ b/gtk4/Gir.toml @@ -28,6 +28,9 @@ generate = [ "Gtk.AccessibleRole", "Gtk.AccessibleSort", "Gtk.AccessibleState", + "Gtk.AccessibleText", + "Gtk.AccessibleTextContentChange", + "Gtk.AccessibleTextGranularity", "Gtk.AccessibleTristate", "Gtk.ActionBar", "Gtk.ActivateAction", @@ -370,6 +373,7 @@ manual = [ "Gsk.Shadow", "Gsk.Stroke", "Gsk.Transform", + "Gtk.AccessibleTextRange", # a plain struct "Gtk.Align", # as we need to handle baseline_fill = baseline for gtk >= 4.11 "Gtk.BitsetIter", "Gtk.Border", diff --git a/gtk4/src/accessible_text_range.rs b/gtk4/src/accessible_text_range.rs new file mode 100644 index 000000000000..79a4b3cc9412 --- /dev/null +++ b/gtk4/src/accessible_text_range.rs @@ -0,0 +1,25 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + +#[derive(Copy, Clone)] +#[doc(alias = "GtkAccessibleTextRange")] +#[repr(transparent)] +pub struct AccessibleTextRange(ffi::GtkAccessibleTextRange); + +impl AccessibleTextRange { + pub fn start(&self) -> usize { + self.0.start + } + + pub fn length(&self) -> usize { + self.0.length + } +} + +impl std::fmt::Debug for AccessibleTextRange { + fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { + f.debug_struct("AccessibleTextRange") + .field("start", &self.start()) + .field("length", &self.length()) + .finish() + } +} diff --git a/gtk4/src/auto/about_dialog.rs b/gtk4/src/auto/about_dialog.rs index 560b13f99ba7..4c46961820e3 100644 --- a/gtk4/src/auto/about_dialog.rs +++ b/gtk4/src/auto/about_dialog.rs @@ -338,7 +338,7 @@ impl AboutDialog { connect_raw( self.as_ptr() as *mut _, b"activate-link\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( activate_link_trampoline:: as *const (), )), Box_::into_raw(f), @@ -361,7 +361,7 @@ impl AboutDialog { connect_raw( self.as_ptr() as *mut _, b"notify::artists\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_artists_trampoline:: as *const (), )), Box_::into_raw(f), @@ -384,7 +384,7 @@ impl AboutDialog { connect_raw( self.as_ptr() as *mut _, b"notify::authors\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_authors_trampoline:: as *const (), )), Box_::into_raw(f), @@ -407,7 +407,7 @@ impl AboutDialog { connect_raw( self.as_ptr() as *mut _, b"notify::comments\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_comments_trampoline:: as *const (), )), Box_::into_raw(f), @@ -430,7 +430,7 @@ impl AboutDialog { connect_raw( self.as_ptr() as *mut _, b"notify::copyright\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_copyright_trampoline:: as *const (), )), Box_::into_raw(f), @@ -453,7 +453,7 @@ impl AboutDialog { connect_raw( self.as_ptr() as *mut _, b"notify::documenters\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_documenters_trampoline:: as *const (), )), Box_::into_raw(f), @@ -476,7 +476,7 @@ impl AboutDialog { connect_raw( self.as_ptr() as *mut _, b"notify::license\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_license_trampoline:: as *const (), )), Box_::into_raw(f), @@ -499,7 +499,7 @@ impl AboutDialog { connect_raw( self.as_ptr() as *mut _, b"notify::license-type\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_license_type_trampoline:: as *const (), )), Box_::into_raw(f), @@ -522,7 +522,7 @@ impl AboutDialog { connect_raw( self.as_ptr() as *mut _, b"notify::logo\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_logo_trampoline:: as *const (), )), Box_::into_raw(f), @@ -545,7 +545,7 @@ impl AboutDialog { connect_raw( self.as_ptr() as *mut _, b"notify::logo-icon-name\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_logo_icon_name_trampoline:: as *const (), )), Box_::into_raw(f), @@ -568,7 +568,7 @@ impl AboutDialog { connect_raw( self.as_ptr() as *mut _, b"notify::program-name\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_program_name_trampoline:: as *const (), )), Box_::into_raw(f), @@ -594,7 +594,7 @@ impl AboutDialog { connect_raw( self.as_ptr() as *mut _, b"notify::system-information\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_system_information_trampoline:: as *const (), )), Box_::into_raw(f), @@ -620,7 +620,7 @@ impl AboutDialog { connect_raw( self.as_ptr() as *mut _, b"notify::translator-credits\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_translator_credits_trampoline:: as *const (), )), Box_::into_raw(f), @@ -643,7 +643,7 @@ impl AboutDialog { connect_raw( self.as_ptr() as *mut _, b"notify::version\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_version_trampoline:: as *const (), )), Box_::into_raw(f), @@ -666,7 +666,7 @@ impl AboutDialog { connect_raw( self.as_ptr() as *mut _, b"notify::website\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_website_trampoline:: as *const (), )), Box_::into_raw(f), @@ -689,7 +689,7 @@ impl AboutDialog { connect_raw( self.as_ptr() as *mut _, b"notify::website-label\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_website_label_trampoline:: as *const (), )), Box_::into_raw(f), @@ -712,7 +712,7 @@ impl AboutDialog { connect_raw( self.as_ptr() as *mut _, b"notify::wrap-license\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_wrap_license_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gtk4/src/auto/accessible.rs b/gtk4/src/auto/accessible.rs index 289448da1d92..ebc3ea0371b8 100644 --- a/gtk4/src/auto/accessible.rs +++ b/gtk4/src/auto/accessible.rs @@ -231,7 +231,7 @@ pub trait AccessibleExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::accessible-role\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_accessible_role_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gtk4/src/auto/accessible_text.rs b/gtk4/src/auto/accessible_text.rs new file mode 100644 index 000000000000..e820b748f498 --- /dev/null +++ b/gtk4/src/auto/accessible_text.rs @@ -0,0 +1,54 @@ +// This file was generated by gir (https://github.com/gtk-rs/gir) +// from gir-files (https://github.com/gtk-rs/gir-files) +// DO NOT EDIT + +use crate::{Accessible, AccessibleTextContentChange}; +use glib::{prelude::*, translate::*}; + +glib::wrapper! { + #[doc(alias = "GtkAccessibleText")] + pub struct AccessibleText(Interface) @requires Accessible; + + match fn { + type_ => || ffi::gtk_accessible_text_get_type(), + } +} + +impl AccessibleText { + pub const NONE: Option<&'static AccessibleText> = None; +} + +mod sealed { + pub trait Sealed {} + impl> Sealed for T {} +} + +pub trait AccessibleTextExt: IsA + sealed::Sealed + 'static { + #[doc(alias = "gtk_accessible_text_update_caret_position")] + fn update_caret_position(&self) { + unsafe { + ffi::gtk_accessible_text_update_caret_position(self.as_ref().to_glib_none().0); + } + } + + #[doc(alias = "gtk_accessible_text_update_contents")] + fn update_contents(&self, change: AccessibleTextContentChange, start: u32, end: u32) { + unsafe { + ffi::gtk_accessible_text_update_contents( + self.as_ref().to_glib_none().0, + change.into_glib(), + start, + end, + ); + } + } + + #[doc(alias = "gtk_accessible_text_update_selection_bound")] + fn update_selection_bound(&self) { + unsafe { + ffi::gtk_accessible_text_update_selection_bound(self.as_ref().to_glib_none().0); + } + } +} + +impl> AccessibleTextExt for O {} diff --git a/gtk4/src/auto/action_bar.rs b/gtk4/src/auto/action_bar.rs index 45b52776903b..ab72477c2087 100644 --- a/gtk4/src/auto/action_bar.rs +++ b/gtk4/src/auto/action_bar.rs @@ -101,7 +101,7 @@ impl ActionBar { connect_raw( self.as_ptr() as *mut _, b"notify::revealed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_revealed_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gtk4/src/auto/actionable.rs b/gtk4/src/auto/actionable.rs index 8c092a5e27d4..053aa07d1fcc 100644 --- a/gtk4/src/auto/actionable.rs +++ b/gtk4/src/auto/actionable.rs @@ -97,7 +97,7 @@ pub trait ActionableExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::action-name\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_action_name_trampoline:: as *const (), )), Box_::into_raw(f), @@ -123,7 +123,7 @@ pub trait ActionableExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::action-target\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_action_target_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gtk4/src/auto/adjustment.rs b/gtk4/src/auto/adjustment.rs index 814e16bd4ce0..3639a23636db 100644 --- a/gtk4/src/auto/adjustment.rs +++ b/gtk4/src/auto/adjustment.rs @@ -252,7 +252,7 @@ pub trait AdjustmentExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"changed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( changed_trampoline:: as *const (), )), Box_::into_raw(f), @@ -274,7 +274,7 @@ pub trait AdjustmentExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"value-changed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( value_changed_trampoline:: as *const (), )), Box_::into_raw(f), @@ -297,7 +297,7 @@ pub trait AdjustmentExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::lower\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_lower_trampoline:: as *const (), )), Box_::into_raw(f), @@ -323,7 +323,7 @@ pub trait AdjustmentExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::page-increment\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_page_increment_trampoline:: as *const (), )), Box_::into_raw(f), @@ -349,7 +349,7 @@ pub trait AdjustmentExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::page-size\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_page_size_trampoline:: as *const (), )), Box_::into_raw(f), @@ -375,7 +375,7 @@ pub trait AdjustmentExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::step-increment\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_step_increment_trampoline:: as *const (), )), Box_::into_raw(f), @@ -398,7 +398,7 @@ pub trait AdjustmentExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::upper\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_upper_trampoline:: as *const (), )), Box_::into_raw(f), @@ -421,7 +421,7 @@ pub trait AdjustmentExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::value\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_value_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gtk4/src/auto/alert_dialog.rs b/gtk4/src/auto/alert_dialog.rs index ef1663ca2106..1bf285ac814d 100644 --- a/gtk4/src/auto/alert_dialog.rs +++ b/gtk4/src/auto/alert_dialog.rs @@ -207,7 +207,7 @@ impl AlertDialog { connect_raw( self.as_ptr() as *mut _, b"notify::buttons\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_buttons_trampoline:: as *const (), )), Box_::into_raw(f), @@ -232,7 +232,7 @@ impl AlertDialog { connect_raw( self.as_ptr() as *mut _, b"notify::cancel-button\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_cancel_button_trampoline:: as *const (), )), Box_::into_raw(f), @@ -257,7 +257,7 @@ impl AlertDialog { connect_raw( self.as_ptr() as *mut _, b"notify::default-button\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_default_button_trampoline:: as *const (), )), Box_::into_raw(f), @@ -282,7 +282,7 @@ impl AlertDialog { connect_raw( self.as_ptr() as *mut _, b"notify::detail\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_detail_trampoline:: as *const (), )), Box_::into_raw(f), @@ -307,7 +307,7 @@ impl AlertDialog { connect_raw( self.as_ptr() as *mut _, b"notify::message\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_message_trampoline:: as *const (), )), Box_::into_raw(f), @@ -332,7 +332,7 @@ impl AlertDialog { connect_raw( self.as_ptr() as *mut _, b"notify::modal\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_modal_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gtk4/src/auto/app_chooser_button.rs b/gtk4/src/auto/app_chooser_button.rs index 112625bd7fcc..6695f05d1b2d 100644 --- a/gtk4/src/auto/app_chooser_button.rs +++ b/gtk4/src/auto/app_chooser_button.rs @@ -185,7 +185,7 @@ impl AppChooserButton { connect_raw( self.as_ptr() as *mut _, b"activate\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( activate_trampoline:: as *const (), )), Box_::into_raw(f), @@ -213,7 +213,7 @@ impl AppChooserButton { connect_raw( self.as_ptr() as *mut _, b"changed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( changed_trampoline:: as *const (), )), Box_::into_raw(f), @@ -250,7 +250,7 @@ impl AppChooserButton { connect_raw( self.as_ptr() as *mut _, signal_name.as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( custom_item_activated_trampoline:: as *const (), )), Box_::into_raw(f), @@ -273,7 +273,7 @@ impl AppChooserButton { connect_raw( self.as_ptr() as *mut _, b"notify::heading\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_heading_trampoline:: as *const (), )), Box_::into_raw(f), @@ -296,7 +296,7 @@ impl AppChooserButton { connect_raw( self.as_ptr() as *mut _, b"notify::modal\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_modal_trampoline:: as *const (), )), Box_::into_raw(f), @@ -324,7 +324,7 @@ impl AppChooserButton { connect_raw( self.as_ptr() as *mut _, b"notify::show-default-item\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_default_item_trampoline:: as *const (), )), Box_::into_raw(f), @@ -349,7 +349,7 @@ impl AppChooserButton { connect_raw( self.as_ptr() as *mut _, b"notify::show-dialog-item\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_dialog_item_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gtk4/src/auto/app_chooser_dialog.rs b/gtk4/src/auto/app_chooser_dialog.rs index 2c3cf98c650e..1f843644d65c 100644 --- a/gtk4/src/auto/app_chooser_dialog.rs +++ b/gtk4/src/auto/app_chooser_dialog.rs @@ -118,7 +118,7 @@ impl AppChooserDialog { connect_raw( self.as_ptr() as *mut _, b"notify::heading\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_heading_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gtk4/src/auto/app_chooser_widget.rs b/gtk4/src/auto/app_chooser_widget.rs index bb2ef6937ba9..64a3c751813d 100644 --- a/gtk4/src/auto/app_chooser_widget.rs +++ b/gtk4/src/auto/app_chooser_widget.rs @@ -203,7 +203,7 @@ impl AppChooserWidget { connect_raw( self.as_ptr() as *mut _, b"application-activated\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( application_activated_trampoline:: as *const (), )), Box_::into_raw(f), @@ -231,7 +231,7 @@ impl AppChooserWidget { connect_raw( self.as_ptr() as *mut _, b"application-selected\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( application_selected_trampoline:: as *const (), )), Box_::into_raw(f), @@ -254,7 +254,7 @@ impl AppChooserWidget { connect_raw( self.as_ptr() as *mut _, b"notify::default-text\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_default_text_trampoline:: as *const (), )), Box_::into_raw(f), @@ -277,7 +277,7 @@ impl AppChooserWidget { connect_raw( self.as_ptr() as *mut _, b"notify::show-all\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_all_trampoline:: as *const (), )), Box_::into_raw(f), @@ -300,7 +300,7 @@ impl AppChooserWidget { connect_raw( self.as_ptr() as *mut _, b"notify::show-default\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_default_trampoline:: as *const (), )), Box_::into_raw(f), @@ -323,7 +323,7 @@ impl AppChooserWidget { connect_raw( self.as_ptr() as *mut _, b"notify::show-fallback\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_fallback_trampoline:: as *const (), )), Box_::into_raw(f), @@ -346,7 +346,7 @@ impl AppChooserWidget { connect_raw( self.as_ptr() as *mut _, b"notify::show-other\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_other_trampoline:: as *const (), )), Box_::into_raw(f), @@ -371,7 +371,7 @@ impl AppChooserWidget { connect_raw( self.as_ptr() as *mut _, b"notify::show-recommended\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_recommended_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gtk4/src/auto/application.rs b/gtk4/src/auto/application.rs index 9cb90dab78ad..9ac9b9a0f0ce 100644 --- a/gtk4/src/auto/application.rs +++ b/gtk4/src/auto/application.rs @@ -300,7 +300,7 @@ pub trait GtkApplicationExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"query-end\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( query_end_trampoline:: as *const (), )), Box_::into_raw(f), @@ -329,7 +329,7 @@ pub trait GtkApplicationExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"window-added\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( window_added_trampoline:: as *const (), )), Box_::into_raw(f), @@ -358,7 +358,7 @@ pub trait GtkApplicationExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"window-removed\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( window_removed_trampoline:: as *const (), )), Box_::into_raw(f), @@ -384,7 +384,7 @@ pub trait GtkApplicationExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::active-window\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_active_window_trampoline:: as *const (), )), Box_::into_raw(f), @@ -407,7 +407,7 @@ pub trait GtkApplicationExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::menubar\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_menubar_trampoline:: as *const (), )), Box_::into_raw(f), @@ -433,7 +433,7 @@ pub trait GtkApplicationExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::register-session\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_register_session_trampoline:: as *const (), )), Box_::into_raw(f), @@ -459,7 +459,7 @@ pub trait GtkApplicationExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::screensaver-active\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_screensaver_active_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gtk4/src/auto/application_window.rs b/gtk4/src/auto/application_window.rs index deb03fa8b137..4ee57d54fc40 100644 --- a/gtk4/src/auto/application_window.rs +++ b/gtk4/src/auto/application_window.rs @@ -491,7 +491,7 @@ pub trait ApplicationWindowExt: IsA + sealed::Sealed + 'stati connect_raw( self.as_ptr() as *mut _, b"notify::show-menubar\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_show_menubar_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gtk4/src/auto/aspect_frame.rs b/gtk4/src/auto/aspect_frame.rs index e7b14a7baa98..74c45d4aee40 100644 --- a/gtk4/src/auto/aspect_frame.rs +++ b/gtk4/src/auto/aspect_frame.rs @@ -127,7 +127,7 @@ impl AspectFrame { connect_raw( self.as_ptr() as *mut _, b"notify::child\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_child_trampoline:: as *const (), )), Box_::into_raw(f), @@ -150,7 +150,7 @@ impl AspectFrame { connect_raw( self.as_ptr() as *mut _, b"notify::obey-child\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_obey_child_trampoline:: as *const (), )), Box_::into_raw(f), @@ -173,7 +173,7 @@ impl AspectFrame { connect_raw( self.as_ptr() as *mut _, b"notify::ratio\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_ratio_trampoline:: as *const (), )), Box_::into_raw(f), @@ -196,7 +196,7 @@ impl AspectFrame { connect_raw( self.as_ptr() as *mut _, b"notify::xalign\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_xalign_trampoline:: as *const (), )), Box_::into_raw(f), @@ -219,7 +219,7 @@ impl AspectFrame { connect_raw( self.as_ptr() as *mut _, b"notify::yalign\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_yalign_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gtk4/src/auto/assistant.rs b/gtk4/src/auto/assistant.rs index 0e513c31a5ee..004edf535522 100644 --- a/gtk4/src/auto/assistant.rs +++ b/gtk4/src/auto/assistant.rs @@ -326,7 +326,7 @@ impl Assistant { connect_raw( self.as_ptr() as *mut _, b"apply\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( apply_trampoline:: as *const (), )), Box_::into_raw(f), @@ -349,7 +349,7 @@ impl Assistant { connect_raw( self.as_ptr() as *mut _, b"cancel\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( cancel_trampoline:: as *const (), )), Box_::into_raw(f), @@ -372,7 +372,7 @@ impl Assistant { connect_raw( self.as_ptr() as *mut _, b"close\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( close_trampoline:: as *const (), )), Box_::into_raw(f), @@ -395,7 +395,7 @@ impl Assistant { connect_raw( self.as_ptr() as *mut _, b"escape\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( escape_trampoline:: as *const (), )), Box_::into_raw(f), @@ -424,7 +424,7 @@ impl Assistant { connect_raw( self.as_ptr() as *mut _, b"prepare\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( prepare_trampoline:: as *const (), )), Box_::into_raw(f), @@ -447,7 +447,7 @@ impl Assistant { connect_raw( self.as_ptr() as *mut _, b"notify::pages\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_pages_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gtk4/src/auto/assistant_page.rs b/gtk4/src/auto/assistant_page.rs index d683f569a5a2..8c0902554a94 100644 --- a/gtk4/src/auto/assistant_page.rs +++ b/gtk4/src/auto/assistant_page.rs @@ -77,7 +77,7 @@ impl AssistantPage { connect_raw( self.as_ptr() as *mut _, b"notify::complete\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_complete_trampoline:: as *const (), )), Box_::into_raw(f), @@ -101,7 +101,7 @@ impl AssistantPage { connect_raw( self.as_ptr() as *mut _, b"notify::page-type\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_page_type_trampoline:: as *const (), )), Box_::into_raw(f), @@ -125,7 +125,7 @@ impl AssistantPage { connect_raw( self.as_ptr() as *mut _, b"notify::title\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_title_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gtk4/src/auto/at_context.rs b/gtk4/src/auto/at_context.rs index 501dd1684aaf..bd659cf5090b 100644 --- a/gtk4/src/auto/at_context.rs +++ b/gtk4/src/auto/at_context.rs @@ -79,7 +79,7 @@ impl ATContext { connect_raw( self.as_ptr() as *mut _, b"state-change\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( state_change_trampoline:: as *const (), )), Box_::into_raw(f), @@ -102,7 +102,7 @@ impl ATContext { connect_raw( self.as_ptr() as *mut _, b"notify::accessible-role\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_accessible_role_trampoline:: as *const (), )), Box_::into_raw(f), @@ -125,7 +125,7 @@ impl ATContext { connect_raw( self.as_ptr() as *mut _, b"notify::display\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_display_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gtk4/src/auto/bookmark_list.rs b/gtk4/src/auto/bookmark_list.rs index 2781a1fa7436..52fd56007691 100644 --- a/gtk4/src/auto/bookmark_list.rs +++ b/gtk4/src/auto/bookmark_list.rs @@ -75,7 +75,7 @@ impl BookmarkList { connect_raw( self.as_ptr() as *mut _, b"notify::attributes\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_attributes_trampoline:: as *const (), )), Box_::into_raw(f), @@ -98,7 +98,7 @@ impl BookmarkList { connect_raw( self.as_ptr() as *mut _, b"notify::io-priority\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_io_priority_trampoline:: as *const (), )), Box_::into_raw(f), @@ -121,7 +121,7 @@ impl BookmarkList { connect_raw( self.as_ptr() as *mut _, b"notify::loading\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_loading_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gtk4/src/auto/bool_filter.rs b/gtk4/src/auto/bool_filter.rs index aa7f79d8f65d..96341510cd72 100644 --- a/gtk4/src/auto/bool_filter.rs +++ b/gtk4/src/auto/bool_filter.rs @@ -84,7 +84,7 @@ impl BoolFilter { connect_raw( self.as_ptr() as *mut _, b"notify::expression\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_expression_trampoline:: as *const (), )), Box_::into_raw(f), @@ -107,7 +107,7 @@ impl BoolFilter { connect_raw( self.as_ptr() as *mut _, b"notify::invert\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_invert_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gtk4/src/auto/box_.rs b/gtk4/src/auto/box_.rs index cbac097c7c7a..85cac0d4d1c3 100644 --- a/gtk4/src/auto/box_.rs +++ b/gtk4/src/auto/box_.rs @@ -428,7 +428,7 @@ pub trait BoxExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::baseline-child\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_baseline_child_trampoline:: as *const (), )), Box_::into_raw(f), @@ -454,7 +454,7 @@ pub trait BoxExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::baseline-position\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_baseline_position_trampoline:: as *const (), )), Box_::into_raw(f), @@ -477,7 +477,7 @@ pub trait BoxExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::homogeneous\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_homogeneous_trampoline:: as *const (), )), Box_::into_raw(f), @@ -500,7 +500,7 @@ pub trait BoxExt: IsA + sealed::Sealed + 'static { connect_raw( self.as_ptr() as *mut _, b"notify::spacing\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_spacing_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gtk4/src/auto/box_layout.rs b/gtk4/src/auto/box_layout.rs index 0eee5f5fd7b7..1e531fd20721 100644 --- a/gtk4/src/auto/box_layout.rs +++ b/gtk4/src/auto/box_layout.rs @@ -114,7 +114,7 @@ impl BoxLayout { connect_raw( self.as_ptr() as *mut _, b"notify::baseline-child\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_baseline_child_trampoline:: as *const (), )), Box_::into_raw(f), @@ -140,7 +140,7 @@ impl BoxLayout { connect_raw( self.as_ptr() as *mut _, b"notify::baseline-position\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_baseline_position_trampoline:: as *const (), )), Box_::into_raw(f), @@ -163,7 +163,7 @@ impl BoxLayout { connect_raw( self.as_ptr() as *mut _, b"notify::homogeneous\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_homogeneous_trampoline:: as *const (), )), Box_::into_raw(f), @@ -186,7 +186,7 @@ impl BoxLayout { connect_raw( self.as_ptr() as *mut _, b"notify::spacing\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_spacing_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gtk4/src/auto/builder.rs b/gtk4/src/auto/builder.rs index ae764374ef33..5af47d32f7f2 100644 --- a/gtk4/src/auto/builder.rs +++ b/gtk4/src/auto/builder.rs @@ -350,7 +350,7 @@ impl Builder { connect_raw( self.as_ptr() as *mut _, b"notify::current-object\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_current_object_trampoline:: as *const (), )), Box_::into_raw(f), @@ -373,7 +373,7 @@ impl Builder { connect_raw( self.as_ptr() as *mut _, b"notify::scope\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_scope_trampoline:: as *const (), )), Box_::into_raw(f), @@ -399,7 +399,7 @@ impl Builder { connect_raw( self.as_ptr() as *mut _, b"notify::translation-domain\0".as_ptr() as *const _, - Some(std::mem::transmute::<_, unsafe extern "C" fn()>( + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( notify_translation_domain_trampoline:: as *const (), )), Box_::into_raw(f), diff --git a/gtk4/src/auto/button.rs b/gtk4/src/auto/button.rs index faa8d9222727..58c05f6ce54e 100644 --- a/gtk4/src/auto/button.rs +++ b/gtk4/src/auto/button.rs @@ -465,7 +465,7 @@ pub trait ButtonExt: IsA