Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

Regen for Gdk-Pixbuf v2.36.8 #61

Merged
merged 1 commit into from Feb 5, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.toml
Expand Up @@ -19,6 +19,7 @@ v2_28 = ["gdk-pixbuf-sys/v2_28"]
v2_30 = ["v2_28", "gdk-pixbuf-sys/v2_30"]
v2_32 = ["v2_30", "gdk-pixbuf-sys/v2_32"]
v2_36 = ["v2_32", "gdk-pixbuf-sys/v2_36"]
v2_36_8 = ["v2_36", "gdk-pixbuf-sys/v2_36_8"]
dox = ["glib/dox", "gdk-pixbuf-sys/dox"]
purge-lgpl-docs = ["gtk-rs-lgpl-docs"]
embed-lgpl-docs = ["gtk-rs-lgpl-docs"]
Expand Down
2 changes: 1 addition & 1 deletion gir-files
2 changes: 1 addition & 1 deletion src/auto/enums.rs
@@ -1,4 +1,4 @@
// This file was generated by gir (c6b70b0) from gir-files (469db10)
// This file was generated by gir (0f1d1c1) from gir-files (77d1f70)
// DO NOT EDIT

use ffi;
Expand Down
2 changes: 1 addition & 1 deletion src/auto/flags.rs
@@ -1,4 +1,4 @@
// This file was generated by gir (c6b70b0) from gir-files (469db10)
// This file was generated by gir (0f1d1c1) from gir-files (77d1f70)
// DO NOT EDIT

use ffi;
Expand Down
2 changes: 1 addition & 1 deletion src/auto/mod.rs
@@ -1,4 +1,4 @@
// This file was generated by gir (c6b70b0) from gir-files (469db10)
// This file was generated by gir (0f1d1c1) from gir-files (77d1f70)
// DO NOT EDIT

mod pixbuf;
Expand Down
9 changes: 8 additions & 1 deletion src/auto/pixbuf.rs
@@ -1,4 +1,4 @@
// This file was generated by gir (c6b70b0) from gir-files (469db10)
// This file was generated by gir (0f1d1c1) from gir-files (77d1f70)
// DO NOT EDIT

use Colorspace;
Expand Down Expand Up @@ -103,6 +103,13 @@ impl Pixbuf {
}
}

#[cfg(any(feature = "v2_36_8", feature = "dox"))]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This version isn't in the features' list.

pub fn calculate_rowstride(colorspace: Colorspace, has_alpha: bool, bits_per_sample: i32, width: i32, height: i32) -> i32 {
unsafe {
ffi::gdk_pixbuf_calculate_rowstride(colorspace.to_glib(), has_alpha.to_glib(), bits_per_sample, width, height)
}
}

//#[cfg_attr(feature = "v2_32", deprecated)]
//pub fn from_pixdata(pixdata: /*Ignored*/&Pixdata, copy_pixels: bool) -> Result<Pixbuf, Error> {
// unsafe { TODO: call ffi::gdk_pixbuf_from_pixdata() }
Expand Down
2 changes: 1 addition & 1 deletion src/auto/pixbuf_format.rs
@@ -1,4 +1,4 @@
// This file was generated by gir (c6b70b0) from gir-files (469db10)
// This file was generated by gir (0f1d1c1) from gir-files (77d1f70)
// DO NOT EDIT

use ffi;
Expand Down
2 changes: 1 addition & 1 deletion src/auto/pixbuf_loader.rs
@@ -1,4 +1,4 @@
// This file was generated by gir (c6b70b0) from gir-files (469db10)
// This file was generated by gir (0f1d1c1) from gir-files (77d1f70)
// DO NOT EDIT

use Error;
Expand Down
2 changes: 1 addition & 1 deletion src/auto/pixbuf_simple_anim.rs
@@ -1,4 +1,4 @@
// This file was generated by gir (c6b70b0) from gir-files (469db10)
// This file was generated by gir (0f1d1c1) from gir-files (77d1f70)
// DO NOT EDIT

use Pixbuf;
Expand Down