Skip to content

Commit 445fe28

Browse files
Regenerate with latest gir
1 parent c0bb624 commit 445fe28

File tree

16 files changed

+27
-25
lines changed

16 files changed

+27
-25
lines changed

gdk-pixbuf/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 6ec1537f60e3)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 65c027456409)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 4c173afc6395)

gdk-pixbuf/sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 6ec1537f60e3)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 65c027456409)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 4c173afc6395)

gio/src/auto/application.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ pub trait ApplicationExt: 'static {
164164
//fn add_main_option_entries(&self, entries: /*Ignored*/&[glib::OptionEntry]);
165165

166166
//#[doc(alias = "g_application_add_option_group")]
167-
//fn add_option_group(&self, group: /*Ignored*/&glib::OptionGroup);
167+
//fn add_option_group(&self, group: /*Ignored*/glib::OptionGroup);
168168

169169
#[doc(alias = "g_application_bind_busy_property")]
170170
fn bind_busy_property(&self, object: &impl IsA<glib::Object>, property: &str);
@@ -334,7 +334,7 @@ impl<O: IsA<Application>> ApplicationExt for O {
334334
// unsafe { TODO: call ffi:g_application_add_main_option_entries() }
335335
//}
336336

337-
//fn add_option_group(&self, group: /*Ignored*/&glib::OptionGroup) {
337+
//fn add_option_group(&self, group: /*Ignored*/glib::OptionGroup) {
338338
// unsafe { TODO: call ffi:g_application_add_option_group() }
339339
//}
340340

gio/src/auto/dbus_method_invocation.rs

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ use crate::DBusPropertyInfo;
99
#[cfg(any(unix, feature = "dox"))]
1010
#[cfg_attr(feature = "dox", doc(cfg(unix)))]
1111
use crate::UnixFDList;
12+
use glib::object::Cast;
1213
#[cfg(any(unix, feature = "dox"))]
1314
#[cfg_attr(feature = "dox", doc(cfg(unix)))]
1415
use glib::object::IsA;
@@ -122,31 +123,31 @@ impl DBusMethodInvocation {
122123
//}
123124

124125
#[doc(alias = "g_dbus_method_invocation_return_dbus_error")]
125-
pub fn return_dbus_error(&self, error_name: &str, error_message: &str) {
126+
pub fn return_dbus_error(self, error_name: &str, error_message: &str) {
126127
unsafe {
127128
ffi::g_dbus_method_invocation_return_dbus_error(
128-
self.to_glib_full(),
129+
self.into_glib_ptr(),
129130
error_name.to_glib_none().0,
130131
error_message.to_glib_none().0,
131132
);
132133
}
133134
}
134135

135136
//#[doc(alias = "g_dbus_method_invocation_return_error")]
136-
//pub fn return_error(&self, domain: glib::Quark, code: i32, format: &str, : /*Unknown conversion*//*Unimplemented*/Basic: VarArgs) {
137+
//pub fn return_error(self, domain: glib::Quark, code: i32, format: &str, : /*Unknown conversion*//*Unimplemented*/Basic: VarArgs) {
137138
// unsafe { TODO: call ffi:g_dbus_method_invocation_return_error() }
138139
//}
139140

140141
//#[doc(alias = "g_dbus_method_invocation_return_error_valist")]
141-
//pub fn return_error_valist(&self, domain: glib::Quark, code: i32, format: &str, var_args: /*Unknown conversion*//*Unimplemented*/Unsupported) {
142+
//pub fn return_error_valist(self, domain: glib::Quark, code: i32, format: &str, var_args: /*Unknown conversion*//*Unimplemented*/Unsupported) {
142143
// unsafe { TODO: call ffi:g_dbus_method_invocation_return_error_valist() }
143144
//}
144145

145146
#[doc(alias = "g_dbus_method_invocation_return_value")]
146-
pub fn return_value(&self, parameters: Option<&glib::Variant>) {
147+
pub fn return_value(self, parameters: Option<&glib::Variant>) {
147148
unsafe {
148149
ffi::g_dbus_method_invocation_return_value(
149-
self.to_glib_full(),
150+
self.into_glib_ptr(),
150151
parameters.to_glib_none().0,
151152
);
152153
}
@@ -156,13 +157,13 @@ impl DBusMethodInvocation {
156157
#[cfg_attr(feature = "dox", doc(cfg(unix)))]
157158
#[doc(alias = "g_dbus_method_invocation_return_value_with_unix_fd_list")]
158159
pub fn return_value_with_unix_fd_list(
159-
&self,
160+
self,
160161
parameters: Option<&glib::Variant>,
161162
fd_list: Option<&impl IsA<UnixFDList>>,
162163
) {
163164
unsafe {
164165
ffi::g_dbus_method_invocation_return_value_with_unix_fd_list(
165-
self.to_glib_full(),
166+
self.into_glib_ptr(),
166167
parameters.to_glib_none().0,
167168
fd_list.map(|p| p.as_ref()).to_glib_none().0,
168169
);

gio/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 6ec1537f60e3)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 65c027456409)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 4c173afc6395)

gio/sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 6ec1537f60e3)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 65c027456409)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 4c173afc6395)

glib/gobject-sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 6ec1537f60e3)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 65c027456409)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 4c173afc6395)

glib/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 6ec1537f60e3)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 65c027456409)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 4c173afc6395)

glib/sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 6ec1537f60e3)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 65c027456409)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 4c173afc6395)

graphene/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 6ec1537f60e3)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 65c027456409)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 4c173afc6395)

0 commit comments

Comments
 (0)