diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 84b34908d5ee..a69fab57dbfa 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -25,7 +25,7 @@ jobs: - { name: "gio", features: "v2_84", nightly: "--all-features", test_sys: true } - { name: "glib", features: "v2_84,log", nightly: "--all-features", test_sys: true } - { name: "graphene", features: "", nightly: "", test_sys: true } - - { name: "pango", features: "v1_54", nightly: "--all-features", test_sys: true } + - { name: "pango", features: "v1_56", nightly: "--all-features", test_sys: true } - { name: "pangocairo", features: "", nightly: "--all-features", test_sys: true } steps: - uses: actions/checkout@v4 diff --git a/Cargo.lock b/Cargo.lock index 6a8255bced7d..dafb9202a8c8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -19,9 +19,9 @@ checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299" [[package]] name = "anstyle" -version = "1.0.8" +version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bec1de6f59aedf83baf9ff929c98f2ad654b97c9510f4e70cf6f661d49fd5b1" +checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9" [[package]] name = "async-tls" @@ -101,18 +101,18 @@ checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5" [[package]] name = "cc" -version = "1.1.31" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2e7962b54006dcfcc61cb72735f4d89bb97061dd6a7ed882ec6b8ee53714c6f" +checksum = "fd9de9f2205d5ef3fd67e685b0df337994ddd4495e2a28d185500d0e1edfea47" dependencies = [ "shlex", ] [[package]] name = "cfg-expr" -version = "0.17.0" +version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0890061c4d3223e7267f3bad2ec40b997d64faac1c2815a4a9d95018e2b9e9c" +checksum = "c360837f8f19e2e4468275138f1c0dec1647d1e17bb7c0215fe3cd7530e93c25" dependencies = [ "smallvec", "target-lexicon", @@ -153,18 +153,18 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.20" +version = "4.5.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b97f376d85a664d5837dbae44bf546e6477a679ff6610010f17276f686d867e8" +checksum = "fb3b4b9e5a7c7514dfa52869339ee98b3156b0bfb4e8a77c4ff4babb64b1604f" dependencies = [ "clap_builder", ] [[package]] name = "clap_builder" -version = "4.5.20" +version = "4.5.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19bc80abd44e4bed93ca373a0704ccbd1b710dc5749406201bb018272808dc54" +checksum = "b17a95aa67cc7b5ebd32aa5370189aa0d79069ef1c64ce893bd30fb24bff20ec" dependencies = [ "anstyle", "clap_lex", @@ -172,9 +172,9 @@ dependencies = [ [[package]] name = "clap_lex" -version = "0.7.2" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1462739cb27611015575c0c11df5df7601141071f07518d56fcc1be504cbec97" +checksum = "afb84c814227b90d6895e01398aee0d8033c00e7466aca416fb6a8e0eb19d8a7" [[package]] name = "criterion" @@ -267,9 +267,9 @@ dependencies = [ [[package]] name = "fastrand" -version = "2.1.1" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8c02a5121d4ea3eb16a80748c74f5549a5665e4c21333c6098f283870fbdea6" +checksum = "486f806e73c5707928240ddc295403b1b93c96a02038563881c4a2fd84b81ac4" [[package]] name = "float_eq" @@ -578,9 +578,9 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.15.0" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e087f84d4f86bf4b218b927129862374b72199ae7d8657835f1e89000eea4fb" +checksum = "3a9bfc1af68b1726ea47d3d5109de126281def866b33970e10fbab11b5dafab3" [[package]] name = "heck" @@ -626,9 +626,9 @@ dependencies = [ [[package]] name = "itoa" -version = "1.0.11" +version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" +checksum = "540654e97a3f4470a492cd30ff187bc95d89557a903a2bbf112e2fae98104ef2" [[package]] name = "js-sys" @@ -869,9 +869,9 @@ dependencies = [ [[package]] name = "regex" -version = "1.11.0" +version = "1.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38200e5ee88914975b69f657f0801b6f6dccafd44fd9326302a4aaeecfacb1d8" +checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191" dependencies = [ "aho-corasick", "memchr", @@ -881,9 +881,9 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.8" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "368758f23274712b504848e9d5a6f010445cc8b87a7cdb4d7cbee666c1288da3" +checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908" dependencies = [ "aho-corasick", "memchr", @@ -913,9 +913,9 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.40" +version = "0.38.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99e4ea3e1cdc4b559b8e5650f9c8e5998e3e5c1343b4eaf034565f32318d63c0" +checksum = "d7f649912bc1495e167a6edee79151c84b1bad49748cb4f1f1167f459f6224f6" dependencies = [ "bitflags", "errno", @@ -972,9 +972,9 @@ dependencies = [ [[package]] name = "scc" -version = "2.2.2" +version = "2.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2c1f7fc6deb21665a9060dfc7d271be784669295a31babdcd4dd2c79ae8cbfb" +checksum = "66b202022bb57c049555430e11fc22fea12909276a80a4c3d368da36ac1d88ed" dependencies = [ "sdd", ] @@ -1003,18 +1003,18 @@ checksum = "49c1eeaf4b6a87c7479688c6d52b9f1153cedd3c489300564f932b065c6eab95" [[package]] name = "serde" -version = "1.0.211" +version = "1.0.215" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ac55e59090389fb9f0dd9e0f3c09615afed1d19094284d0b200441f13550793" +checksum = "6513c1ad0b11a9376da888e3e0baa0077f1aed55c17f50e7b2397136129fb88f" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.211" +version = "1.0.215" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54be4f245ce16bc58d57ef2716271d0d4519e0f6defa147f6e081005bcb278ff" +checksum = "ad1e866f866923f252f05c889987993144fb74e722403468a4ebd70c3cd756c0" dependencies = [ "proc-macro2", "quote", @@ -1023,9 +1023,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.132" +version = "1.0.133" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d726bfaff4b320266d395898905d0eba0345aae23b54aee3a737e260fd46db03" +checksum = "c7fceb2473b9166b2294ef05efcb65a3db80803f0b03ef86a5fc88a2b85ee377" dependencies = [ "itoa", "memchr", @@ -1213,9 +1213,9 @@ dependencies = [ [[package]] name = "unicode-ident" -version = "1.0.13" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe" +checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83" [[package]] name = "untrusted" diff --git a/deny.toml b/deny.toml index 0901823f724a..b9b13f8b9083 100644 --- a/deny.toml +++ b/deny.toml @@ -15,7 +15,7 @@ allow = [ "MIT", "Apache-2.0", "Apache-2.0 WITH LLVM-exception", - "Unicode-DFS-2016", + "Unicode-3.0", ] confidence-threshold = 0.8 diff --git a/gdk-pixbuf/src/auto/versions.txt b/gdk-pixbuf/src/auto/versions.txt index d926005cff53..558f7e6574ab 100644 --- a/gdk-pixbuf/src/auto/versions.txt +++ b/gdk-pixbuf/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 25fc925cd3da) -from gir-files (https://github.com/gtk-rs/gir-files @ 3e07ae5a14c7) +Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) +from gir-files (https://github.com/gtk-rs/gir-files @ dfdf5ed146d5) diff --git a/gdk-pixbuf/sys/versions.txt b/gdk-pixbuf/sys/versions.txt index d926005cff53..558f7e6574ab 100644 --- a/gdk-pixbuf/sys/versions.txt +++ b/gdk-pixbuf/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 25fc925cd3da) -from gir-files (https://github.com/gtk-rs/gir-files @ 3e07ae5a14c7) +Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) +from gir-files (https://github.com/gtk-rs/gir-files @ dfdf5ed146d5) diff --git a/gio/src/auto/versions.txt b/gio/src/auto/versions.txt index d926005cff53..558f7e6574ab 100644 --- a/gio/src/auto/versions.txt +++ b/gio/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 25fc925cd3da) -from gir-files (https://github.com/gtk-rs/gir-files @ 3e07ae5a14c7) +Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) +from gir-files (https://github.com/gtk-rs/gir-files @ dfdf5ed146d5) diff --git a/gio/sys/versions.txt b/gio/sys/versions.txt index d926005cff53..558f7e6574ab 100644 --- a/gio/sys/versions.txt +++ b/gio/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 25fc925cd3da) -from gir-files (https://github.com/gtk-rs/gir-files @ 3e07ae5a14c7) +Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) +from gir-files (https://github.com/gtk-rs/gir-files @ dfdf5ed146d5) diff --git a/gir b/gir index 25fc925cd3da..1b34ebba86cb 160000 --- a/gir +++ b/gir @@ -1 +1 @@ -Subproject commit 25fc925cd3da5de290e85f7d6d6f95e4d9e32f01 +Subproject commit 1b34ebba86cb5c5c6b474b1693f8aeb55b88477d diff --git a/gir-files b/gir-files index 3e07ae5a14c7..dfdf5ed146d5 160000 --- a/gir-files +++ b/gir-files @@ -1 +1 @@ -Subproject commit 3e07ae5a14c7ae05333e0fcdcc5a5e668d74a710 +Subproject commit dfdf5ed146d5ad7ea808997ef518f71e5b1f343d diff --git a/glib/gobject-sys/versions.txt b/glib/gobject-sys/versions.txt index d926005cff53..558f7e6574ab 100644 --- a/glib/gobject-sys/versions.txt +++ b/glib/gobject-sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 25fc925cd3da) -from gir-files (https://github.com/gtk-rs/gir-files @ 3e07ae5a14c7) +Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) +from gir-files (https://github.com/gtk-rs/gir-files @ dfdf5ed146d5) diff --git a/glib/src/auto/constants.rs b/glib/src/auto/constants.rs index a1da875b5225..2f2127d21d00 100644 --- a/glib/src/auto/constants.rs +++ b/glib/src/auto/constants.rs @@ -96,6 +96,16 @@ pub static STR_DELIMITERS: &GStr = #[doc(alias = "G_TEST_OPTION_ISOLATE_DIRS")] pub static TEST_OPTION_ISOLATE_DIRS: &GStr = unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_TEST_OPTION_ISOLATE_DIRS) }; +#[cfg(feature = "v2_84")] +#[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))] +#[doc(alias = "G_TEST_OPTION_NONFATAL_ASSERTIONS")] +pub static TEST_OPTION_NONFATAL_ASSERTIONS: &GStr = + unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_TEST_OPTION_NONFATAL_ASSERTIONS) }; +#[cfg(feature = "v2_84")] +#[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))] +#[doc(alias = "G_TEST_OPTION_NO_PRGNAME")] +pub static TEST_OPTION_NO_PRGNAME: &GStr = + unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_TEST_OPTION_NO_PRGNAME) }; #[doc(alias = "G_URI_RESERVED_CHARS_GENERIC_DELIMITERS")] pub static URI_RESERVED_CHARS_GENERIC_DELIMITERS: &GStr = unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_URI_RESERVED_CHARS_GENERIC_DELIMITERS) }; diff --git a/glib/src/auto/mod.rs b/glib/src/auto/mod.rs index 0330de419bf6..d730bfb4e092 100644 --- a/glib/src/auto/mod.rs +++ b/glib/src/auto/mod.rs @@ -124,5 +124,11 @@ pub use self::constants::STR_DELIMITERS; #[cfg(feature = "v2_60")] #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))] pub use self::constants::TEST_OPTION_ISOLATE_DIRS; +#[cfg(feature = "v2_84")] +#[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))] +pub use self::constants::TEST_OPTION_NONFATAL_ASSERTIONS; +#[cfg(feature = "v2_84")] +#[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))] +pub use self::constants::TEST_OPTION_NO_PRGNAME; pub use self::constants::URI_RESERVED_CHARS_GENERIC_DELIMITERS; pub use self::constants::URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS; diff --git a/glib/src/auto/versions.txt b/glib/src/auto/versions.txt index d926005cff53..558f7e6574ab 100644 --- a/glib/src/auto/versions.txt +++ b/glib/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 25fc925cd3da) -from gir-files (https://github.com/gtk-rs/gir-files @ 3e07ae5a14c7) +Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) +from gir-files (https://github.com/gtk-rs/gir-files @ dfdf5ed146d5) diff --git a/glib/sys/src/lib.rs b/glib/sys/src/lib.rs index e207581dbf10..7edc0a547806 100644 --- a/glib/sys/src/lib.rs +++ b/glib/sys/src/lib.rs @@ -794,6 +794,8 @@ pub const GLIB_SYSDEF_MSG_DONTROUTE: c_int = 4; pub const GLIB_SYSDEF_MSG_OOB: c_int = 1; pub const GLIB_SYSDEF_MSG_PEEK: c_int = 2; pub const G_TEST_OPTION_ISOLATE_DIRS: &[u8] = b"isolate_dirs\0"; +pub const G_TEST_OPTION_NONFATAL_ASSERTIONS: &[u8] = b"nonfatal-assertions\0"; +pub const G_TEST_OPTION_NO_PRGNAME: &[u8] = b"no_g_set_prgname\0"; pub const G_TIME_SPAN_DAY: i64 = 86400000000; pub const G_TIME_SPAN_HOUR: i64 = 3600000000; pub const G_TIME_SPAN_MILLISECOND: i64 = 1000; diff --git a/glib/sys/tests/abi.rs b/glib/sys/tests/abi.rs index b1937208bacb..b4a3a972ec5f 100644 --- a/glib/sys/tests/abi.rs +++ b/glib/sys/tests/abi.rs @@ -1488,6 +1488,8 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[ ("(gint) G_TEST_LOG_STOP_CASE", "6"), ("(gint) G_TEST_LOG_STOP_SUITE", "11"), ("G_TEST_OPTION_ISOLATE_DIRS", "isolate_dirs"), + ("G_TEST_OPTION_NONFATAL_ASSERTIONS", "nonfatal-assertions"), + ("G_TEST_OPTION_NO_PRGNAME", "no_g_set_prgname"), ("(gint) G_TEST_RUN_FAILURE", "2"), ("(gint) G_TEST_RUN_INCOMPLETE", "3"), ("(gint) G_TEST_RUN_SKIPPED", "1"), diff --git a/glib/sys/tests/constant.c b/glib/sys/tests/constant.c index bea4e15a5718..8dad5595f053 100644 --- a/glib/sys/tests/constant.c +++ b/glib/sys/tests/constant.c @@ -469,6 +469,8 @@ int main() { PRINT_CONSTANT((gint) G_TEST_LOG_STOP_CASE); PRINT_CONSTANT((gint) G_TEST_LOG_STOP_SUITE); PRINT_CONSTANT(G_TEST_OPTION_ISOLATE_DIRS); + PRINT_CONSTANT(G_TEST_OPTION_NONFATAL_ASSERTIONS); + PRINT_CONSTANT(G_TEST_OPTION_NO_PRGNAME); PRINT_CONSTANT((gint) G_TEST_RUN_FAILURE); PRINT_CONSTANT((gint) G_TEST_RUN_INCOMPLETE); PRINT_CONSTANT((gint) G_TEST_RUN_SKIPPED); diff --git a/glib/sys/versions.txt b/glib/sys/versions.txt index d926005cff53..558f7e6574ab 100644 --- a/glib/sys/versions.txt +++ b/glib/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 25fc925cd3da) -from gir-files (https://github.com/gtk-rs/gir-files @ 3e07ae5a14c7) +Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) +from gir-files (https://github.com/gtk-rs/gir-files @ dfdf5ed146d5) diff --git a/graphene/src/auto/versions.txt b/graphene/src/auto/versions.txt index d926005cff53..558f7e6574ab 100644 --- a/graphene/src/auto/versions.txt +++ b/graphene/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 25fc925cd3da) -from gir-files (https://github.com/gtk-rs/gir-files @ 3e07ae5a14c7) +Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) +from gir-files (https://github.com/gtk-rs/gir-files @ dfdf5ed146d5) diff --git a/graphene/sys/versions.txt b/graphene/sys/versions.txt index d926005cff53..558f7e6574ab 100644 --- a/graphene/sys/versions.txt +++ b/graphene/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 25fc925cd3da) -from gir-files (https://github.com/gtk-rs/gir-files @ 3e07ae5a14c7) +Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) +from gir-files (https://github.com/gtk-rs/gir-files @ dfdf5ed146d5) diff --git a/pango/Cargo.toml b/pango/Cargo.toml index 83ae9c5d3e39..3a26581f880c 100644 --- a/pango/Cargo.toml +++ b/pango/Cargo.toml @@ -21,6 +21,7 @@ v1_48 = ["v1_46", "pango-sys/v1_48"] v1_50 = ["v1_48", "pango-sys/v1_50"] v1_52 = ["v1_50", "pango-sys/v1_52"] v1_54 = ["v1_52", "pango-sys/v1_54"] +v1_56 = ["v1_54", "pango-sys/v1_56"] [dependencies] pango-sys.workspace = true diff --git a/pango/src/auto/font_map.rs b/pango/src/auto/font_map.rs index bdd1128dd7f2..3953f19ac650 100644 --- a/pango/src/auto/font_map.rs +++ b/pango/src/auto/font_map.rs @@ -19,6 +19,26 @@ impl FontMap { } pub trait FontMapExt: IsA + 'static { + #[cfg(feature = "v1_56")] + #[cfg_attr(docsrs, doc(cfg(feature = "v1_56")))] + #[doc(alias = "pango_font_map_add_font_file")] + fn add_font_file(&self, filename: impl AsRef) -> Result<(), glib::Error> { + unsafe { + let mut error = std::ptr::null_mut(); + let is_ok = ffi::pango_font_map_add_font_file( + self.as_ref().to_glib_none().0, + filename.as_ref().to_glib_none().0, + &mut error, + ); + debug_assert_eq!(is_ok == glib::ffi::GFALSE, !error.is_null()); + if error.is_null() { + Ok(()) + } else { + Err(from_glib_full(error)) + } + } + } + #[doc(alias = "pango_font_map_changed")] fn changed(&self) { unsafe { diff --git a/pango/src/auto/versions.txt b/pango/src/auto/versions.txt index d926005cff53..558f7e6574ab 100644 --- a/pango/src/auto/versions.txt +++ b/pango/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 25fc925cd3da) -from gir-files (https://github.com/gtk-rs/gir-files @ 3e07ae5a14c7) +Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) +from gir-files (https://github.com/gtk-rs/gir-files @ dfdf5ed146d5) diff --git a/pango/sys/Cargo.toml b/pango/sys/Cargo.toml index c362c7c90dd1..4a28ec8b5d9c 100644 --- a/pango/sys/Cargo.toml +++ b/pango/sys/Cargo.toml @@ -22,6 +22,7 @@ v1_48 = ["v1_46"] v1_50 = ["v1_48"] v1_52 = ["v1_50"] v1_54 = ["v1_52"] +v1_56 = ["v1_54"] [lib] name = "pango_sys" @@ -79,7 +80,10 @@ version = "1.50" version = "1.52" [package.metadata.system-deps.pango.v1_54] -version = "1.53" +version = "1.54" + +[package.metadata.system-deps.pango.v1_56] +version = "1.55" [package.metadata.docs.rs] rustc-args = ["--cfg", "docsrs"] diff --git a/pango/sys/src/lib.rs b/pango/sys/src/lib.rs index 71b819c3d767..87b551ac3a66 100644 --- a/pango/sys/src/lib.rs +++ b/pango/sys/src/lib.rs @@ -2399,6 +2399,13 @@ extern "C" { // PangoFontMap //========================================================================= pub fn pango_font_map_get_type() -> GType; + #[cfg(feature = "v1_56")] + #[cfg_attr(docsrs, doc(cfg(feature = "v1_56")))] + pub fn pango_font_map_add_font_file( + fontmap: *mut PangoFontMap, + filename: *const c_char, + error: *mut *mut glib::GError, + ) -> gboolean; pub fn pango_font_map_changed(fontmap: *mut PangoFontMap); pub fn pango_font_map_create_context(fontmap: *mut PangoFontMap) -> *mut PangoContext; #[cfg(feature = "v1_46")] diff --git a/pango/sys/versions.txt b/pango/sys/versions.txt index d926005cff53..558f7e6574ab 100644 --- a/pango/sys/versions.txt +++ b/pango/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 25fc925cd3da) -from gir-files (https://github.com/gtk-rs/gir-files @ 3e07ae5a14c7) +Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) +from gir-files (https://github.com/gtk-rs/gir-files @ dfdf5ed146d5) diff --git a/pangocairo/src/auto/versions.txt b/pangocairo/src/auto/versions.txt index d926005cff53..558f7e6574ab 100644 --- a/pangocairo/src/auto/versions.txt +++ b/pangocairo/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 25fc925cd3da) -from gir-files (https://github.com/gtk-rs/gir-files @ 3e07ae5a14c7) +Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) +from gir-files (https://github.com/gtk-rs/gir-files @ dfdf5ed146d5) diff --git a/pangocairo/sys/versions.txt b/pangocairo/sys/versions.txt index d926005cff53..558f7e6574ab 100644 --- a/pangocairo/sys/versions.txt +++ b/pangocairo/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 25fc925cd3da) -from gir-files (https://github.com/gtk-rs/gir-files @ 3e07ae5a14c7) +Generated by gir (https://github.com/gtk-rs/gir @ 1b34ebba86cb) +from gir-files (https://github.com/gtk-rs/gir-files @ dfdf5ed146d5)