diff --git a/gdk-pixbuf/src/auto/pixbuf.rs b/gdk-pixbuf/src/auto/pixbuf.rs index 4aede39d1ed6..6070c4cf64c4 100644 --- a/gdk-pixbuf/src/auto/pixbuf.rs +++ b/gdk-pixbuf/src/auto/pixbuf.rs @@ -1,6 +1,7 @@ // 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 +#![allow(deprecated)] use crate::{ffi, Colorspace, InterpType, PixbufFormat, PixbufRotation}; use glib::{prelude::*, translate::*}; @@ -213,6 +214,8 @@ impl Pixbuf { } } + #[cfg_attr(feature = "v2_44", deprecated = "Since 2.44")] + #[allow(deprecated)] #[doc(alias = "gdk_pixbuf_new_from_xpm_data")] #[doc(alias = "new_from_xpm_data")] pub fn from_xpm_data(data: &[&str]) -> Result { @@ -539,7 +542,7 @@ impl Pixbuf { //} //#[doc(alias = "gdk_pixbuf_save_to_buffer")] - //pub fn save_to_buffer(&self, type_: &str, error: Option<&mut glib::Error>, : /*Unknown conversion*//*Unimplemented*/Basic: VarArgs) -> Option> { + //pub fn save_to_buffer(&self, type_: &str, error: &mut glib::Error, : /*Unknown conversion*//*Unimplemented*/Basic: VarArgs) -> Option> { // unsafe { TODO: call ffi:gdk_pixbuf_save_to_buffer() } //} @@ -563,24 +566,6 @@ impl Pixbuf { // unsafe { TODO: call ffi:gdk_pixbuf_save_to_stream_async() } //} - // - //pub fn save_to_stream_future(&self, stream: &(impl IsA + Clone + 'static), type_: &str, : /*Unknown conversion*//*Unimplemented*/Basic: VarArgs) -> Pin> + 'static>> { - - //let stream = stream.clone(); - //let type_ = String::from(type_); - //Box_::pin(gio::GioFuture::new(self, move |obj, cancellable, send| { - // obj.save_to_stream_async( - // &stream, - // &type_, - // Some(cancellable), - // , - // move |res| { - // send.resolve(res); - // }, - // ); - //})) - //} - #[doc(alias = "gdk_pixbuf_scale")] pub fn scale( &self, diff --git a/gdk-pixbuf/src/auto/versions.txt b/gdk-pixbuf/src/auto/versions.txt index 8e24acf1db00..baac26f435ab 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 @ 3fcec321a85e) -from gir-files (https://github.com/gtk-rs/gir-files @ f4cde2ff49b7) +from gir-files (https://github.com/gtk-rs/gir-files @ e9775ea8223a) diff --git a/gdk-pixbuf/sys/Cargo.toml b/gdk-pixbuf/sys/Cargo.toml index be0e6d077cd7..eda15314ef5c 100644 --- a/gdk-pixbuf/sys/Cargo.toml +++ b/gdk-pixbuf/sys/Cargo.toml @@ -20,6 +20,7 @@ tempfile = "3" [features] v2_40 = [] v2_42 = ["v2_40"] +v2_44 = ["v2_42"] [lib] name = "gdk_pixbuf_sys" @@ -64,6 +65,9 @@ version = "2.40" [package.metadata.system-deps.gdk_pixbuf_2_0.v2_42] version = "2.42" +[package.metadata.system-deps.gdk_pixbuf_2_0.v2_44] +version = "2.44" + [package.metadata.docs.rs] rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] diff --git a/gdk-pixbuf/sys/versions.txt b/gdk-pixbuf/sys/versions.txt index 8e24acf1db00..baac26f435ab 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 @ 3fcec321a85e) -from gir-files (https://github.com/gtk-rs/gir-files @ f4cde2ff49b7) +from gir-files (https://github.com/gtk-rs/gir-files @ e9775ea8223a) diff --git a/gio/src/auto/versions.txt b/gio/src/auto/versions.txt index 8e24acf1db00..baac26f435ab 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 @ 3fcec321a85e) -from gir-files (https://github.com/gtk-rs/gir-files @ f4cde2ff49b7) +from gir-files (https://github.com/gtk-rs/gir-files @ e9775ea8223a) diff --git a/gio/sys/versions.txt b/gio/sys/versions.txt index 8e24acf1db00..baac26f435ab 100644 --- a/gio/sys/versions.txt +++ b/gio/sys/versions.txt @@ -1,2 +1,2 @@ Generated by gir (https://github.com/gtk-rs/gir @ 3fcec321a85e) -from gir-files (https://github.com/gtk-rs/gir-files @ f4cde2ff49b7) +from gir-files (https://github.com/gtk-rs/gir-files @ e9775ea8223a) diff --git a/gir-files b/gir-files index f4cde2ff49b7..e9775ea8223a 160000 --- a/gir-files +++ b/gir-files @@ -1 +1 @@ -Subproject commit f4cde2ff49b7ff5aa8beaf932e597ee0754e373b +Subproject commit e9775ea8223a05846cd732d5115fbd013595df02 diff --git a/glib/gobject-sys/versions.txt b/glib/gobject-sys/versions.txt index 8e24acf1db00..baac26f435ab 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 @ 3fcec321a85e) -from gir-files (https://github.com/gtk-rs/gir-files @ f4cde2ff49b7) +from gir-files (https://github.com/gtk-rs/gir-files @ e9775ea8223a) diff --git a/glib/src/auto/versions.txt b/glib/src/auto/versions.txt index 8e24acf1db00..baac26f435ab 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 @ 3fcec321a85e) -from gir-files (https://github.com/gtk-rs/gir-files @ f4cde2ff49b7) +from gir-files (https://github.com/gtk-rs/gir-files @ e9775ea8223a) diff --git a/glib/sys/versions.txt b/glib/sys/versions.txt index 8e24acf1db00..baac26f435ab 100644 --- a/glib/sys/versions.txt +++ b/glib/sys/versions.txt @@ -1,2 +1,2 @@ Generated by gir (https://github.com/gtk-rs/gir @ 3fcec321a85e) -from gir-files (https://github.com/gtk-rs/gir-files @ f4cde2ff49b7) +from gir-files (https://github.com/gtk-rs/gir-files @ e9775ea8223a) diff --git a/graphene/src/auto/versions.txt b/graphene/src/auto/versions.txt index 8e24acf1db00..baac26f435ab 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 @ 3fcec321a85e) -from gir-files (https://github.com/gtk-rs/gir-files @ f4cde2ff49b7) +from gir-files (https://github.com/gtk-rs/gir-files @ e9775ea8223a) diff --git a/graphene/sys/versions.txt b/graphene/sys/versions.txt index 8e24acf1db00..baac26f435ab 100644 --- a/graphene/sys/versions.txt +++ b/graphene/sys/versions.txt @@ -1,2 +1,2 @@ Generated by gir (https://github.com/gtk-rs/gir @ 3fcec321a85e) -from gir-files (https://github.com/gtk-rs/gir-files @ f4cde2ff49b7) +from gir-files (https://github.com/gtk-rs/gir-files @ e9775ea8223a) diff --git a/pango/src/auto/font.rs b/pango/src/auto/font.rs index 0e26a417e57b..6e50b3c4b952 100644 --- a/pango/src/auto/font.rs +++ b/pango/src/auto/font.rs @@ -76,7 +76,7 @@ pub trait FontExt: IsA + 'static { #[cfg_attr(docsrs, doc(cfg(feature = "v1_46")))] #[doc(alias = "pango_font_get_face")] #[doc(alias = "get_face")] - fn face(&self) -> FontFace { + fn face(&self) -> Option { unsafe { from_glib_none(ffi::pango_font_get_face(self.as_ref().to_glib_none().0)) } } diff --git a/pango/src/auto/versions.txt b/pango/src/auto/versions.txt index 8e24acf1db00..baac26f435ab 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 @ 3fcec321a85e) -from gir-files (https://github.com/gtk-rs/gir-files @ f4cde2ff49b7) +from gir-files (https://github.com/gtk-rs/gir-files @ e9775ea8223a) diff --git a/pango/sys/versions.txt b/pango/sys/versions.txt index 8e24acf1db00..baac26f435ab 100644 --- a/pango/sys/versions.txt +++ b/pango/sys/versions.txt @@ -1,2 +1,2 @@ Generated by gir (https://github.com/gtk-rs/gir @ 3fcec321a85e) -from gir-files (https://github.com/gtk-rs/gir-files @ f4cde2ff49b7) +from gir-files (https://github.com/gtk-rs/gir-files @ e9775ea8223a) diff --git a/pangocairo/src/auto/versions.txt b/pangocairo/src/auto/versions.txt index 8e24acf1db00..baac26f435ab 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 @ 3fcec321a85e) -from gir-files (https://github.com/gtk-rs/gir-files @ f4cde2ff49b7) +from gir-files (https://github.com/gtk-rs/gir-files @ e9775ea8223a) diff --git a/pangocairo/sys/versions.txt b/pangocairo/sys/versions.txt index 8e24acf1db00..baac26f435ab 100644 --- a/pangocairo/sys/versions.txt +++ b/pangocairo/sys/versions.txt @@ -1,2 +1,2 @@ Generated by gir (https://github.com/gtk-rs/gir @ 3fcec321a85e) -from gir-files (https://github.com/gtk-rs/gir-files @ f4cde2ff49b7) +from gir-files (https://github.com/gtk-rs/gir-files @ e9775ea8223a)