Skip to content

Commit d0069a3

Browse files
Regenerate with latest gir/gir-files
1 parent 45a89bf commit d0069a3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+1572
-190
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 @ a2f936b77195)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 1c7a6b57a5fc)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 21b29d0e0c1a)

gdk-pixbuf/sys/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ pub struct _GdkPixbufSimpleAnimClass {
288288
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
289289
}
290290

291-
pub type GdkPixbufSimpleAnimClass = *mut _GdkPixbufSimpleAnimClass;
291+
pub type GdkPixbufSimpleAnimClass = _GdkPixbufSimpleAnimClass;
292292

293293
// Classes
294294
#[repr(C)]

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 @ a2f936b77195)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 1c7a6b57a5fc)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 21b29d0e0c1a)

gio/src/auto/application_command_line.rs

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,15 @@ pub trait ApplicationCommandLineExt:
4141
}
4242
}
4343

44+
#[cfg(feature = "v2_80")]
45+
#[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
46+
#[doc(alias = "g_application_command_line_done")]
47+
fn done(&self) {
48+
unsafe {
49+
ffi::g_application_command_line_done(self.as_ref().to_glib_none().0);
50+
}
51+
}
52+
4453
#[doc(alias = "g_application_command_line_get_arguments")]
4554
#[doc(alias = "get_arguments")]
4655
fn arguments(&self) -> Vec<std::ffi::OsString> {
@@ -138,11 +147,35 @@ pub trait ApplicationCommandLineExt:
138147
// unsafe { TODO: call ffi:g_application_command_line_print() }
139148
//}
140149

150+
#[cfg(feature = "v2_80")]
151+
#[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
152+
#[doc(alias = "g_application_command_line_print_literal")]
153+
fn print_literal(&self, message: &str) {
154+
unsafe {
155+
ffi::g_application_command_line_print_literal(
156+
self.as_ref().to_glib_none().0,
157+
message.to_glib_none().0,
158+
);
159+
}
160+
}
161+
141162
//#[doc(alias = "g_application_command_line_printerr")]
142163
//fn printerr(&self, format: &str, : /*Unknown conversion*//*Unimplemented*/Basic: VarArgs) {
143164
// unsafe { TODO: call ffi:g_application_command_line_printerr() }
144165
//}
145166

167+
#[cfg(feature = "v2_80")]
168+
#[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
169+
#[doc(alias = "g_application_command_line_printerr_literal")]
170+
fn printerr_literal(&self, message: &str) {
171+
unsafe {
172+
ffi::g_application_command_line_printerr_literal(
173+
self.as_ref().to_glib_none().0,
174+
message.to_glib_none().0,
175+
);
176+
}
177+
}
178+
146179
#[doc(alias = "g_application_command_line_set_exit_status")]
147180
fn set_exit_status(&self, exit_status: i32) {
148181
unsafe {

gio/src/auto/dbus_message.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,14 @@ impl DBusMessage {
101101
unsafe { from_glib_none(ffi::g_dbus_message_get_arg0(self.to_glib_none().0)) }
102102
}
103103

104+
#[cfg(feature = "v2_80")]
105+
#[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))]
106+
#[doc(alias = "g_dbus_message_get_arg0_path")]
107+
#[doc(alias = "get_arg0_path")]
108+
pub fn arg0_path(&self) -> Option<glib::GString> {
109+
unsafe { from_glib_none(ffi::g_dbus_message_get_arg0_path(self.to_glib_none().0)) }
110+
}
111+
104112
#[doc(alias = "g_dbus_message_get_body")]
105113
#[doc(alias = "get_body")]
106114
pub fn body(&self) -> Option<glib::Variant> {

gio/src/auto/enums.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1606,6 +1606,8 @@ pub enum IOErrorEnum {
16061606
#[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
16071607
#[doc(alias = "G_IO_ERROR_NO_SUCH_DEVICE")]
16081608
NoSuchDevice,
1609+
#[doc(alias = "G_IO_ERROR_DESTINATION_UNSET")]
1610+
DestinationUnset,
16091611
#[doc(hidden)]
16101612
__Unknown(i32),
16111613
}
@@ -1665,6 +1667,7 @@ impl IntoGlib for IOErrorEnum {
16651667
Self::MessageTooLarge => ffi::G_IO_ERROR_MESSAGE_TOO_LARGE,
16661668
#[cfg(feature = "v2_72")]
16671669
Self::NoSuchDevice => ffi::G_IO_ERROR_NO_SUCH_DEVICE,
1670+
Self::DestinationUnset => ffi::G_IO_ERROR_DESTINATION_UNSET,
16681671
Self::__Unknown(value) => value,
16691672
}
16701673
}
@@ -1723,6 +1726,7 @@ impl FromGlib<ffi::GIOErrorEnum> for IOErrorEnum {
17231726
ffi::G_IO_ERROR_MESSAGE_TOO_LARGE => Self::MessageTooLarge,
17241727
#[cfg(feature = "v2_72")]
17251728
ffi::G_IO_ERROR_NO_SUCH_DEVICE => Self::NoSuchDevice,
1729+
ffi::G_IO_ERROR_DESTINATION_UNSET => Self::DestinationUnset,
17261730
value => Self::__Unknown(value),
17271731
}
17281732
}
@@ -2557,6 +2561,13 @@ pub enum ResolverRecordType {
25572561
__Unknown(i32),
25582562
}
25592563

2564+
impl ResolverRecordType {
2565+
#[doc(alias = "g_resolver_record_type_to_rrtype")]
2566+
pub fn to_rrtype(self) -> i32 {
2567+
unsafe { ffi::g_resolver_record_type_to_rrtype(self.into_glib()) }
2568+
}
2569+
}
2570+
25602571
#[doc(hidden)]
25612572
impl IntoGlib for ResolverRecordType {
25622573
type GlibType = ffi::GResolverRecordType;

gio/src/auto/flags.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1590,6 +1590,8 @@ bitflags! {
15901590
const NO_FALLBACK_FOR_MOVE = ffi::G_FILE_COPY_NO_FALLBACK_FOR_MOVE as _;
15911591
#[doc(alias = "G_FILE_COPY_TARGET_DEFAULT_PERMS")]
15921592
const TARGET_DEFAULT_PERMS = ffi::G_FILE_COPY_TARGET_DEFAULT_PERMS as _;
1593+
#[doc(alias = "G_FILE_COPY_TARGET_DEFAULT_MODIFIED_TIME")]
1594+
const TARGET_DEFAULT_MODIFIED_TIME = ffi::G_FILE_COPY_TARGET_DEFAULT_MODIFIED_TIME as _;
15931595
}
15941596
}
15951597

gio/src/auto/resolver.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ impl Resolver {
4141
pub fn default() -> Resolver {
4242
unsafe { from_glib_full(ffi::g_resolver_get_default()) }
4343
}
44+
45+
//#[doc(alias = "g_resolver_records_from_res_query")]
46+
//pub fn records_from_res_query(rrname: &str, rrtype: i32, answer: u8, len: isize, herr: i32) -> Result</*Unimplemented*/Vec<Basic: Pointer>, glib::Error> {
47+
// unsafe { TODO: call ffi:g_resolver_records_from_res_query() }
48+
//}
4449
}
4550

4651
mod sealed {

gio/src/auto/subprocess_launcher.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,11 @@ impl SubprocessLauncher {
108108
#[cfg(unix)]
109109
#[cfg_attr(docsrs, doc(cfg(unix)))]
110110
#[doc(alias = "g_subprocess_launcher_set_stdin_file_path")]
111-
pub fn set_stdin_file_path(&self, path: &str) {
111+
pub fn set_stdin_file_path(&self, path: Option<impl AsRef<std::path::Path>>) {
112112
unsafe {
113113
ffi::g_subprocess_launcher_set_stdin_file_path(
114114
self.to_glib_none().0,
115-
path.to_glib_none().0,
115+
path.as_ref().map(|p| p.as_ref()).to_glib_none().0,
116116
);
117117
}
118118
}

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 @ a2f936b77195)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 1c7a6b57a5fc)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 21b29d0e0c1a)

0 commit comments

Comments
 (0)