Skip to content

Commit ea5ddf9

Browse files
committed
Regenerate with latest gir
1 parent 51353ec commit ea5ddf9

File tree

31 files changed

+70
-268
lines changed

31 files changed

+70
-268
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 @ 1364a207b03e)
1+
Generated by gir (https://github.com/gtk-rs/gir @ b2a1c6f9b362)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 5262e0fefdc7)

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 @ 1364a207b03e)
1+
Generated by gir (https://github.com/gtk-rs/gir @ b2a1c6f9b362)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 5262e0fefdc7)

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 @ 1364a207b03e)
1+
Generated by gir (https://github.com/gtk-rs/gir @ b2a1c6f9b362)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 5262e0fefdc7)

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 @ 1364a207b03e)
1+
Generated by gir (https://github.com/gtk-rs/gir @ b2a1c6f9b362)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 5262e0fefdc7)

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 @ 1364a207b03e)
1+
Generated by gir (https://github.com/gtk-rs/gir @ b2a1c6f9b362)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 5262e0fefdc7)

glib/src/auto/source.rs

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// from gir-files (https://github.com/gtk-rs/gir-files)
33
// DO NOT EDIT
44

5-
use crate::{ffi, translate::*, MainContext};
5+
use crate::{ffi, translate::*};
66

77
crate::wrapper! {
88
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
@@ -45,25 +45,12 @@ impl Source {
4545
}
4646
}
4747

48-
#[cfg(feature = "v2_86")]
49-
#[cfg_attr(docsrs, doc(cfg(feature = "v2_86")))]
50-
#[doc(alias = "g_source_dup_context")]
51-
pub fn dup_context(&self) -> Option<MainContext> {
52-
unsafe { from_glib_full(ffi::g_source_dup_context(self.to_glib_none().0)) }
53-
}
54-
5548
#[doc(alias = "g_source_get_can_recurse")]
5649
#[doc(alias = "get_can_recurse")]
5750
pub fn can_recurse(&self) -> bool {
5851
unsafe { from_glib(ffi::g_source_get_can_recurse(self.to_glib_none().0)) }
5952
}
6053

61-
#[doc(alias = "g_source_get_context")]
62-
#[doc(alias = "get_context")]
63-
pub fn context(&self) -> Option<MainContext> {
64-
unsafe { from_glib_none(ffi::g_source_get_context(self.to_glib_none().0)) }
65-
}
66-
6754
#[doc(alias = "g_source_get_name")]
6855
#[doc(alias = "get_name")]
6956
pub fn name(&self) -> Option<crate::GString> {

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 @ 1364a207b03e)
1+
Generated by gir (https://github.com/gtk-rs/gir @ b2a1c6f9b362)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 5262e0fefdc7)

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 @ 1364a207b03e)
1+
Generated by gir (https://github.com/gtk-rs/gir @ b2a1c6f9b362)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 5262e0fefdc7)

graphene/src/auto/box_.rs

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -18,32 +18,17 @@ glib::wrapper! {
1818
impl Box {
1919
#[doc(alias = "graphene_box_contains_box")]
2020
pub fn contains_box(&self, b: &Box) -> bool {
21-
unsafe {
22-
from_glib(ffi::graphene_box_contains_box(
23-
self.to_glib_none().0,
24-
b.to_glib_none().0,
25-
))
26-
}
21+
unsafe { ffi::graphene_box_contains_box(self.to_glib_none().0, b.to_glib_none().0) }
2722
}
2823

2924
#[doc(alias = "graphene_box_contains_point")]
3025
pub fn contains_point(&self, point: &Point3D) -> bool {
31-
unsafe {
32-
from_glib(ffi::graphene_box_contains_point(
33-
self.to_glib_none().0,
34-
point.to_glib_none().0,
35-
))
36-
}
26+
unsafe { ffi::graphene_box_contains_point(self.to_glib_none().0, point.to_glib_none().0) }
3727
}
3828

3929
#[doc(alias = "graphene_box_equal")]
4030
fn equal(&self, b: &Box) -> bool {
41-
unsafe {
42-
from_glib(ffi::graphene_box_equal(
43-
self.to_glib_none().0,
44-
b.to_glib_none().0,
45-
))
46-
}
31+
unsafe { ffi::graphene_box_equal(self.to_glib_none().0, b.to_glib_none().0) }
4732
}
4833

4934
#[doc(alias = "graphene_box_expand")]
@@ -180,11 +165,11 @@ impl Box {
180165
pub fn intersection(&self, b: &Box) -> Option<Box> {
181166
unsafe {
182167
let mut res = Box::uninitialized();
183-
let ret = from_glib(ffi::graphene_box_intersection(
168+
let ret = ffi::graphene_box_intersection(
184169
self.to_glib_none().0,
185170
b.to_glib_none().0,
186171
res.to_glib_none_mut().0,
187-
));
172+
);
188173
if ret {
189174
Some(res)
190175
} else {

graphene/src/auto/euler.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,7 @@ glib::wrapper! {
1818
impl Euler {
1919
#[doc(alias = "graphene_euler_equal")]
2020
fn equal(&self, b: &Euler) -> bool {
21-
unsafe {
22-
from_glib(ffi::graphene_euler_equal(
23-
self.to_glib_none().0,
24-
b.to_glib_none().0,
25-
))
26-
}
21+
unsafe { ffi::graphene_euler_equal(self.to_glib_none().0, b.to_glib_none().0) }
2722
}
2823

2924
#[doc(alias = "graphene_euler_get_alpha")]

0 commit comments

Comments
 (0)