Skip to content

Commit 496c1c8

Browse files
Regenerate with latest gir-files
1 parent 5c1afd5 commit 496c1c8

File tree

22 files changed

+109
-28
lines changed

22 files changed

+109
-28
lines changed

gdk-pixbuf/src/auto/versions.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ eff839d4745d)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
1+
Generated by gir (https://github.com/gtk-rs/gir @ af6703cf6545)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)

gdk-pixbuf/sys/versions.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ eff839d4745d)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
1+
Generated by gir (https://github.com/gtk-rs/gir @ af6703cf6545)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)

gio/src/auto/app_launch_context.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,15 @@ pub trait AppLaunchContextExt: IsA<AppLaunchContext> + 'static {
5959

6060
#[doc(alias = "g_app_launch_context_get_startup_notify_id")]
6161
#[doc(alias = "get_startup_notify_id")]
62-
fn startup_notify_id(&self, info: &impl IsA<AppInfo>, files: &[File]) -> Option<glib::GString> {
62+
fn startup_notify_id(
63+
&self,
64+
info: Option<&impl IsA<AppInfo>>,
65+
files: &[File],
66+
) -> Option<glib::GString> {
6367
unsafe {
6468
from_glib_full(ffi::g_app_launch_context_get_startup_notify_id(
6569
self.as_ref().to_glib_none().0,
66-
info.as_ref().to_glib_none().0,
70+
info.map(|p| p.as_ref()).to_glib_none().0,
6771
files.to_glib_none().0,
6872
))
6973
}

gio/src/auto/functions.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -547,6 +547,13 @@ pub fn resources_get_info(
547547
}
548548
}
549549

550+
#[cfg(feature = "v2_84")]
551+
#[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))]
552+
#[doc(alias = "g_resources_has_children")]
553+
pub fn resources_has_children(path: &str) -> bool {
554+
unsafe { from_glib(ffi::g_resources_has_children(path.to_glib_none().0)) }
555+
}
556+
550557
#[doc(alias = "g_resources_lookup_data")]
551558
pub fn resources_lookup_data(
552559
path: &str,

gio/src/auto/resource.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,18 @@ impl Resource {
6767
}
6868
}
6969

70+
#[cfg(feature = "v2_84")]
71+
#[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))]
72+
#[doc(alias = "g_resource_has_children")]
73+
pub fn has_children(&self, path: &str) -> bool {
74+
unsafe {
75+
from_glib(ffi::g_resource_has_children(
76+
self.to_glib_none().0,
77+
path.to_glib_none().0,
78+
))
79+
}
80+
}
81+
7082
#[doc(alias = "g_resource_lookup_data")]
7183
pub fn lookup_data(
7284
&self,

gio/src/auto/versions.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ eff839d4745d)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
1+
Generated by gir (https://github.com/gtk-rs/gir @ af6703cf6545)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)

gio/sys/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ v2_76 = ["v2_74"]
3232
v2_78 = ["v2_76"]
3333
v2_80 = ["v2_78"]
3434
v2_82 = ["v2_80"]
35+
v2_84 = ["v2_82"]
3536

3637
[lib]
3738
name = "gio_sys"
@@ -109,6 +110,9 @@ version = "2.80"
109110
[package.metadata.system-deps.gio_2_0.v2_82]
110111
version = "2.81"
111112

113+
[package.metadata.system-deps.gio_2_0.v2_84]
114+
version = "2.84"
115+
112116
[package.metadata.docs.rs]
113117
rustc-args = ["--cfg", "docsrs"]
114118
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]

gio/sys/src/lib.rs

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3404,6 +3404,7 @@ pub struct GFileIface {
34043404
*mut *mut glib::GError,
34053405
) -> gboolean,
34063406
>,
3407+
pub query_exists: Option<unsafe extern "C" fn(*mut GFile, *mut GCancellable) -> gboolean>,
34073408
}
34083409

34093410
impl ::std::fmt::Debug for GFileIface {
@@ -3555,6 +3556,7 @@ impl ::std::fmt::Debug for GFileIface {
35553556
.field("measure_disk_usage", &self.measure_disk_usage)
35563557
.field("measure_disk_usage_async", &self.measure_disk_usage_async)
35573558
.field("measure_disk_usage_finish", &self.measure_disk_usage_finish)
3559+
.field("query_exists", &self.query_exists)
35583560
.finish()
35593561
}
35603562
}
@@ -10043,6 +10045,9 @@ extern "C" {
1004310045
flags: *mut u32,
1004410046
error: *mut *mut glib::GError,
1004510047
) -> gboolean;
10048+
#[cfg(feature = "v2_84")]
10049+
#[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))]
10050+
pub fn g_resource_has_children(resource: *mut GResource, path: *const c_char) -> gboolean;
1004610051
pub fn g_resource_lookup_data(
1004710052
resource: *mut GResource,
1004810053
path: *const c_char,
@@ -17251,6 +17256,9 @@ extern "C" {
1725117256
flags: *mut u32,
1725217257
error: *mut *mut glib::GError,
1725317258
) -> gboolean;
17259+
#[cfg(feature = "v2_84")]
17260+
#[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))]
17261+
pub fn g_resources_has_children(path: *const c_char) -> gboolean;
1725417262
pub fn g_resources_lookup_data(
1725517263
path: *const c_char,
1725617264
lookup_flags: GResourceLookupFlags,
@@ -17313,7 +17321,21 @@ extern "C" {
1731317321
pub fn g_unix_mount_is_system_internal(mount_entry: *mut GUnixMountEntry) -> gboolean;
1731417322
pub fn g_unix_mount_points_changed_since(time: u64) -> gboolean;
1731517323
pub fn g_unix_mount_points_get(time_read: *mut u64) -> *mut glib::GList;
17324+
#[cfg(feature = "v2_82")]
17325+
#[cfg_attr(docsrs, doc(cfg(feature = "v2_82")))]
17326+
pub fn g_unix_mount_points_get_from_file(
17327+
table_path: *const c_char,
17328+
time_read_out: *mut u64,
17329+
n_points_out: *mut size_t,
17330+
) -> *mut *mut GUnixMountPoint;
1731617331
pub fn g_unix_mounts_changed_since(time: u64) -> gboolean;
1731717332
pub fn g_unix_mounts_get(time_read: *mut u64) -> *mut glib::GList;
17333+
#[cfg(feature = "v2_82")]
17334+
#[cfg_attr(docsrs, doc(cfg(feature = "v2_82")))]
17335+
pub fn g_unix_mounts_get_from_file(
17336+
table_path: *const c_char,
17337+
time_read_out: *mut u64,
17338+
n_entries_out: *mut size_t,
17339+
) -> *mut *mut GUnixMountEntry;
1731817340

1731917341
}

gio/sys/versions.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ eff839d4745d)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
1+
Generated by gir (https://github.com/gtk-rs/gir @ af6703cf6545)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)

glib/gobject-sys/versions.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ eff839d4745d)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
1+
Generated by gir (https://github.com/gtk-rs/gir @ af6703cf6545)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ e45712216c81)

0 commit comments

Comments
 (0)