Skip to content

Commit 64bf85f

Browse files
authored
Merge pull request #1752 from gtk-rs/auto-pr-branch
Automated PR: Changes from updating gir/gir-files
2 parents 1570ab5 + ce014ce commit 64bf85f

File tree

17 files changed

+23
-34
lines changed

17 files changed

+23
-34
lines changed

gdk-pixbuf/src/auto/pixbuf.rs

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// This file was generated by gir (https://github.com/gtk-rs/gir)
22
// from gir-files (https://github.com/gtk-rs/gir-files)
33
// DO NOT EDIT
4+
#![allow(deprecated)]
45

56
use crate::{ffi, Colorspace, InterpType, PixbufFormat, PixbufRotation};
67
use glib::{prelude::*, translate::*};
@@ -213,6 +214,8 @@ impl Pixbuf {
213214
}
214215
}
215216

217+
#[cfg_attr(feature = "v2_44", deprecated = "Since 2.44")]
218+
#[allow(deprecated)]
216219
#[doc(alias = "gdk_pixbuf_new_from_xpm_data")]
217220
#[doc(alias = "new_from_xpm_data")]
218221
pub fn from_xpm_data(data: &[&str]) -> Result<Pixbuf, glib::BoolError> {
@@ -539,7 +542,7 @@ impl Pixbuf {
539542
//}
540543

541544
//#[doc(alias = "gdk_pixbuf_save_to_buffer")]
542-
//pub fn save_to_buffer(&self, type_: &str, error: Option<&mut glib::Error>, : /*Unknown conversion*//*Unimplemented*/Basic: VarArgs) -> Option<Vec<u8>> {
545+
//pub fn save_to_buffer(&self, type_: &str, error: &mut glib::Error, : /*Unknown conversion*//*Unimplemented*/Basic: VarArgs) -> Option<Vec<u8>> {
543546
// unsafe { TODO: call ffi:gdk_pixbuf_save_to_buffer() }
544547
//}
545548

@@ -563,24 +566,6 @@ impl Pixbuf {
563566
// unsafe { TODO: call ffi:gdk_pixbuf_save_to_stream_async() }
564567
//}
565568

566-
//
567-
//pub fn save_to_stream_future(&self, stream: &(impl IsA<gio::OutputStream> + Clone + 'static), type_: &str, : /*Unknown conversion*//*Unimplemented*/Basic: VarArgs) -> Pin<Box_<dyn std::future::Future<Output = Result<(), glib::Error>> + 'static>> {
568-
569-
//let stream = stream.clone();
570-
//let type_ = String::from(type_);
571-
//Box_::pin(gio::GioFuture::new(self, move |obj, cancellable, send| {
572-
// obj.save_to_stream_async(
573-
// &stream,
574-
// &type_,
575-
// Some(cancellable),
576-
// ,
577-
// move |res| {
578-
// send.resolve(res);
579-
// },
580-
// );
581-
//}))
582-
//}
583-
584569
#[doc(alias = "gdk_pixbuf_scale")]
585570
pub fn scale(
586571
&self,

gdk-pixbuf/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ 3fcec321a85e)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ f4cde2ff49b7)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ e9775ea8223a)

gdk-pixbuf/sys/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ tempfile = "3"
2020
[features]
2121
v2_40 = []
2222
v2_42 = ["v2_40"]
23+
v2_44 = ["v2_42"]
2324

2425
[lib]
2526
name = "gdk_pixbuf_sys"
@@ -64,6 +65,9 @@ version = "2.40"
6465
[package.metadata.system-deps.gdk_pixbuf_2_0.v2_42]
6566
version = "2.42"
6667

68+
[package.metadata.system-deps.gdk_pixbuf_2_0.v2_44]
69+
version = "2.44"
70+
6771
[package.metadata.docs.rs]
6872
rustc-args = ["--cfg", "docsrs"]
6973
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]

gdk-pixbuf/sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ 3fcec321a85e)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ f4cde2ff49b7)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ e9775ea8223a)

gio/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ 3fcec321a85e)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ f4cde2ff49b7)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ e9775ea8223a)

gio/sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ 3fcec321a85e)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ f4cde2ff49b7)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ e9775ea8223a)

glib/gobject-sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ 3fcec321a85e)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ f4cde2ff49b7)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ e9775ea8223a)

glib/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ 3fcec321a85e)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ f4cde2ff49b7)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ e9775ea8223a)

glib/sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ 3fcec321a85e)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ f4cde2ff49b7)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ e9775ea8223a)

0 commit comments

Comments
 (0)