1
- // This file was generated by gir (d8a605d ) from gir-files (469db10)
1
+ // This file was generated by gir (5a68ad0 ) from gir-files (469db10)
2
2
// DO NOT EDIT
3
3
4
4
use ffi;
@@ -19,58 +19,58 @@ glib_wrapper! {
19
19
}
20
20
21
21
impl PixbufFormat {
22
- pub fn get_description ( & mut self ) -> Option < String > {
22
+ pub fn get_description ( & self ) -> Option < String > {
23
23
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 ) ) )
25
25
}
26
26
}
27
27
28
- pub fn get_extensions ( & mut self ) -> Vec < String > {
28
+ pub fn get_extensions ( & self ) -> Vec < String > {
29
29
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 ) ) )
31
31
}
32
32
}
33
33
34
- pub fn get_license ( & mut self ) -> Option < String > {
34
+ pub fn get_license ( & self ) -> Option < String > {
35
35
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 ) ) )
37
37
}
38
38
}
39
39
40
- pub fn get_mime_types ( & mut self ) -> Vec < String > {
40
+ pub fn get_mime_types ( & self ) -> Vec < String > {
41
41
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 ) ) )
43
43
}
44
44
}
45
45
46
- pub fn get_name ( & mut self ) -> Option < String > {
46
+ pub fn get_name ( & self ) -> Option < String > {
47
47
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 ) ) )
49
49
}
50
50
}
51
51
52
- pub fn is_disabled ( & mut self ) -> bool {
52
+ pub fn is_disabled ( & self ) -> bool {
53
53
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 ) ) )
55
55
}
56
56
}
57
57
58
58
#[ 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 {
60
60
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 ) )
62
62
}
63
63
}
64
64
65
- pub fn is_scalable ( & mut self ) -> bool {
65
+ pub fn is_scalable ( & self ) -> bool {
66
66
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 ) ) )
68
68
}
69
69
}
70
70
71
- pub fn is_writable ( & mut self ) -> bool {
71
+ pub fn is_writable ( & self ) -> bool {
72
72
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 ) ) )
74
74
}
75
75
}
76
76
0 commit comments