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

Commit 62d23bf

Browse files
committed
Regen
1 parent f7bb0e1 commit 62d23bf

File tree

7 files changed

+249
-126
lines changed

7 files changed

+249
-126
lines changed

src/auto/enums.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This file was generated by gir (d8a605d) from gir-files (469db10)
1+
// This file was generated by gir (5a68ad0) from gir-files (469db10)
22
// DO NOT EDIT
33

44
use ffi;

src/auto/flags.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This file was generated by gir (d8a605d) from gir-files (469db10)
1+
// This file was generated by gir (5a68ad0) from gir-files (469db10)
22
// DO NOT EDIT
33

44
use ffi;

src/auto/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This file was generated by gir (d8a605d) from gir-files (469db10)
1+
// This file was generated by gir (5a68ad0) from gir-files (469db10)
22
// DO NOT EDIT
33

44
mod pixbuf;

src/auto/pixbuf.rs

Lines changed: 225 additions & 102 deletions
Large diffs are not rendered by default.

src/auto/pixbuf_format.rs

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This file was generated by gir (d8a605d) from gir-files (469db10)
1+
// This file was generated by gir (5a68ad0) from gir-files (469db10)
22
// DO NOT EDIT
33

44
use ffi;
@@ -19,58 +19,58 @@ glib_wrapper! {
1919
}
2020

2121
impl PixbufFormat {
22-
pub fn get_description(&mut self) -> Option<String> {
22+
pub fn get_description(&self) -> Option<String> {
2323
unsafe {
24-
from_glib_full(ffi::gdk_pixbuf_format_get_description(self.to_glib_none_mut().0))
24+
from_glib_full(ffi::gdk_pixbuf_format_get_description(mut_override(self.to_glib_none().0)))
2525
}
2626
}
2727

28-
pub fn get_extensions(&mut self) -> Vec<String> {
28+
pub fn get_extensions(&self) -> Vec<String> {
2929
unsafe {
30-
FromGlibPtrContainer::from_glib_full(ffi::gdk_pixbuf_format_get_extensions(self.to_glib_none_mut().0))
30+
FromGlibPtrContainer::from_glib_full(ffi::gdk_pixbuf_format_get_extensions(mut_override(self.to_glib_none().0)))
3131
}
3232
}
3333

34-
pub fn get_license(&mut self) -> Option<String> {
34+
pub fn get_license(&self) -> Option<String> {
3535
unsafe {
36-
from_glib_full(ffi::gdk_pixbuf_format_get_license(self.to_glib_none_mut().0))
36+
from_glib_full(ffi::gdk_pixbuf_format_get_license(mut_override(self.to_glib_none().0)))
3737
}
3838
}
3939

40-
pub fn get_mime_types(&mut self) -> Vec<String> {
40+
pub fn get_mime_types(&self) -> Vec<String> {
4141
unsafe {
42-
FromGlibPtrContainer::from_glib_full(ffi::gdk_pixbuf_format_get_mime_types(self.to_glib_none_mut().0))
42+
FromGlibPtrContainer::from_glib_full(ffi::gdk_pixbuf_format_get_mime_types(mut_override(self.to_glib_none().0)))
4343
}
4444
}
4545

46-
pub fn get_name(&mut self) -> Option<String> {
46+
pub fn get_name(&self) -> Option<String> {
4747
unsafe {
48-
from_glib_full(ffi::gdk_pixbuf_format_get_name(self.to_glib_none_mut().0))
48+
from_glib_full(ffi::gdk_pixbuf_format_get_name(mut_override(self.to_glib_none().0)))
4949
}
5050
}
5151

52-
pub fn is_disabled(&mut self) -> bool {
52+
pub fn is_disabled(&self) -> bool {
5353
unsafe {
54-
from_glib(ffi::gdk_pixbuf_format_is_disabled(self.to_glib_none_mut().0))
54+
from_glib(ffi::gdk_pixbuf_format_is_disabled(mut_override(self.to_glib_none().0)))
5555
}
5656
}
5757

5858
#[cfg(any(feature = "v2_36", feature = "dox"))]
59-
pub fn is_save_option_supported(&mut self, option_key: &str) -> bool {
59+
pub fn is_save_option_supported(&self, option_key: &str) -> bool {
6060
unsafe {
61-
from_glib(ffi::gdk_pixbuf_format_is_save_option_supported(self.to_glib_none_mut().0, option_key.to_glib_none().0))
61+
from_glib(ffi::gdk_pixbuf_format_is_save_option_supported(mut_override(self.to_glib_none().0), option_key.to_glib_none().0))
6262
}
6363
}
6464

65-
pub fn is_scalable(&mut self) -> bool {
65+
pub fn is_scalable(&self) -> bool {
6666
unsafe {
67-
from_glib(ffi::gdk_pixbuf_format_is_scalable(self.to_glib_none_mut().0))
67+
from_glib(ffi::gdk_pixbuf_format_is_scalable(mut_override(self.to_glib_none().0)))
6868
}
6969
}
7070

71-
pub fn is_writable(&mut self) -> bool {
71+
pub fn is_writable(&self) -> bool {
7272
unsafe {
73-
from_glib(ffi::gdk_pixbuf_format_is_writable(self.to_glib_none_mut().0))
73+
from_glib(ffi::gdk_pixbuf_format_is_writable(mut_override(self.to_glib_none().0)))
7474
}
7575
}
7676

src/auto/pixbuf_loader.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This file was generated by gir (d8a605d) from gir-files (469db10)
1+
// This file was generated by gir (5a68ad0) from gir-files (469db10)
22
// DO NOT EDIT
33

44
use Error;

src/auto/pixbuf_simple_anim.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This file was generated by gir (d8a605d) from gir-files (469db10)
1+
// This file was generated by gir (5a68ad0) from gir-files (469db10)
22
// DO NOT EDIT
33

44
use Pixbuf;

0 commit comments

Comments
 (0)