From e591d9c3f7822a342b6d12268aafbaee33afdf47 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 6 Oct 2025 08:58:01 +0000 Subject: [PATCH 1/4] Update gir --- gir | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gir b/gir index 7047e1b433e2..c9947f8f47b6 160000 --- a/gir +++ b/gir @@ -1 +1 @@ -Subproject commit 7047e1b433e2ea39d96b25ae3242a2a780d2f59a +Subproject commit c9947f8f47b69d6884ad79738b77d6291fb63467 From d9d4c0a4370b7120af8a9a3669e9c5b74a5243f3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 6 Oct 2025 08:58:45 +0000 Subject: [PATCH 2/4] Regenerate with latest gir --- gdk-pixbuf/src/auto/versions.txt | 2 +- gdk-pixbuf/sys/versions.txt | 2 +- gio/src/auto/versions.txt | 2 +- gio/sys/versions.txt | 2 +- glib/gobject-sys/versions.txt | 2 +- glib/src/auto/versions.txt | 2 +- glib/sys/versions.txt | 2 +- graphene/src/auto/versions.txt | 2 +- graphene/sys/versions.txt | 2 +- pango/src/auto/versions.txt | 2 +- pango/sys/versions.txt | 2 +- pangocairo/src/auto/versions.txt | 2 +- pangocairo/sys/versions.txt | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/gdk-pixbuf/src/auto/versions.txt b/gdk-pixbuf/src/auto/versions.txt index 14eea57bb513..ef84c0f9c835 100644 --- a/gdk-pixbuf/src/auto/versions.txt +++ b/gdk-pixbuf/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 7047e1b433e2) +Generated by gir (https://github.com/gtk-rs/gir @ c9947f8f47b6) from gir-files (https://github.com/gtk-rs/gir-files @ 1490bcc19dc8) diff --git a/gdk-pixbuf/sys/versions.txt b/gdk-pixbuf/sys/versions.txt index 14eea57bb513..ef84c0f9c835 100644 --- a/gdk-pixbuf/sys/versions.txt +++ b/gdk-pixbuf/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 7047e1b433e2) +Generated by gir (https://github.com/gtk-rs/gir @ c9947f8f47b6) from gir-files (https://github.com/gtk-rs/gir-files @ 1490bcc19dc8) diff --git a/gio/src/auto/versions.txt b/gio/src/auto/versions.txt index 14eea57bb513..ef84c0f9c835 100644 --- a/gio/src/auto/versions.txt +++ b/gio/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 7047e1b433e2) +Generated by gir (https://github.com/gtk-rs/gir @ c9947f8f47b6) from gir-files (https://github.com/gtk-rs/gir-files @ 1490bcc19dc8) diff --git a/gio/sys/versions.txt b/gio/sys/versions.txt index 14eea57bb513..ef84c0f9c835 100644 --- a/gio/sys/versions.txt +++ b/gio/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 7047e1b433e2) +Generated by gir (https://github.com/gtk-rs/gir @ c9947f8f47b6) from gir-files (https://github.com/gtk-rs/gir-files @ 1490bcc19dc8) diff --git a/glib/gobject-sys/versions.txt b/glib/gobject-sys/versions.txt index 14eea57bb513..ef84c0f9c835 100644 --- a/glib/gobject-sys/versions.txt +++ b/glib/gobject-sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 7047e1b433e2) +Generated by gir (https://github.com/gtk-rs/gir @ c9947f8f47b6) from gir-files (https://github.com/gtk-rs/gir-files @ 1490bcc19dc8) diff --git a/glib/src/auto/versions.txt b/glib/src/auto/versions.txt index 14eea57bb513..ef84c0f9c835 100644 --- a/glib/src/auto/versions.txt +++ b/glib/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 7047e1b433e2) +Generated by gir (https://github.com/gtk-rs/gir @ c9947f8f47b6) from gir-files (https://github.com/gtk-rs/gir-files @ 1490bcc19dc8) diff --git a/glib/sys/versions.txt b/glib/sys/versions.txt index 14eea57bb513..ef84c0f9c835 100644 --- a/glib/sys/versions.txt +++ b/glib/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 7047e1b433e2) +Generated by gir (https://github.com/gtk-rs/gir @ c9947f8f47b6) from gir-files (https://github.com/gtk-rs/gir-files @ 1490bcc19dc8) diff --git a/graphene/src/auto/versions.txt b/graphene/src/auto/versions.txt index 14eea57bb513..ef84c0f9c835 100644 --- a/graphene/src/auto/versions.txt +++ b/graphene/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 7047e1b433e2) +Generated by gir (https://github.com/gtk-rs/gir @ c9947f8f47b6) from gir-files (https://github.com/gtk-rs/gir-files @ 1490bcc19dc8) diff --git a/graphene/sys/versions.txt b/graphene/sys/versions.txt index 14eea57bb513..ef84c0f9c835 100644 --- a/graphene/sys/versions.txt +++ b/graphene/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 7047e1b433e2) +Generated by gir (https://github.com/gtk-rs/gir @ c9947f8f47b6) from gir-files (https://github.com/gtk-rs/gir-files @ 1490bcc19dc8) diff --git a/pango/src/auto/versions.txt b/pango/src/auto/versions.txt index 14eea57bb513..ef84c0f9c835 100644 --- a/pango/src/auto/versions.txt +++ b/pango/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 7047e1b433e2) +Generated by gir (https://github.com/gtk-rs/gir @ c9947f8f47b6) from gir-files (https://github.com/gtk-rs/gir-files @ 1490bcc19dc8) diff --git a/pango/sys/versions.txt b/pango/sys/versions.txt index 14eea57bb513..ef84c0f9c835 100644 --- a/pango/sys/versions.txt +++ b/pango/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 7047e1b433e2) +Generated by gir (https://github.com/gtk-rs/gir @ c9947f8f47b6) from gir-files (https://github.com/gtk-rs/gir-files @ 1490bcc19dc8) diff --git a/pangocairo/src/auto/versions.txt b/pangocairo/src/auto/versions.txt index 14eea57bb513..ef84c0f9c835 100644 --- a/pangocairo/src/auto/versions.txt +++ b/pangocairo/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 7047e1b433e2) +Generated by gir (https://github.com/gtk-rs/gir @ c9947f8f47b6) from gir-files (https://github.com/gtk-rs/gir-files @ 1490bcc19dc8) diff --git a/pangocairo/sys/versions.txt b/pangocairo/sys/versions.txt index 14eea57bb513..ef84c0f9c835 100644 --- a/pangocairo/sys/versions.txt +++ b/pangocairo/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 7047e1b433e2) +Generated by gir (https://github.com/gtk-rs/gir @ c9947f8f47b6) from gir-files (https://github.com/gtk-rs/gir-files @ 1490bcc19dc8) From b4d20e1a84c3fe8f354bca3078d1a36facd55db2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 6 Oct 2025 08:58:46 +0000 Subject: [PATCH 3/4] Update gir-files --- gir-files | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gir-files b/gir-files index 1490bcc19dc8..0885719c0947 160000 --- a/gir-files +++ b/gir-files @@ -1 +1 @@ -Subproject commit 1490bcc19dc80accb62a7ebc5d75c2dd49c386d0 +Subproject commit 0885719c094779a19139b9cd93f2114bc1bdfb97 From c501c72af74b16eb671e7308638f6aad80ad46b4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 6 Oct 2025 08:58:50 +0000 Subject: [PATCH 4/4] Regenerate with latest gir-files --- gdk-pixbuf/src/auto/versions.txt | 2 +- gdk-pixbuf/sys/versions.txt | 2 +- gio/src/auto/desktop_app_info.rs | 285 -------------- gio/src/auto/enums.rs | 2 +- gio/src/auto/functions.rs | 29 -- gio/src/auto/mod.rs | 58 --- gio/src/auto/unix_fd_message.rs | 56 --- gio/src/auto/unix_input_stream.rs | 34 -- gio/src/auto/unix_mount_entry.rs | 200 ---------- gio/src/auto/unix_mount_monitor.rs | 72 ---- gio/src/auto/unix_mount_point.rs | 172 --------- gio/src/auto/unix_output_stream.rs | 34 -- gio/src/auto/versions.txt | 2 +- gio/sys/src/lib.rs | 578 ----------------------------- gio/sys/tests/abi.rs | 69 +--- gio/sys/tests/constant.c | 1 - gio/sys/tests/layout.c | 9 - gio/sys/versions.txt | 2 +- glib/gobject-sys/versions.txt | 2 +- glib/src/auto/enums.rs | 20 + glib/src/auto/versions.txt | 2 +- glib/sys/src/lib.rs | 15 +- glib/sys/tests/abi.rs | 5 + glib/sys/tests/constant.c | 5 + glib/sys/versions.txt | 2 +- graphene/src/auto/versions.txt | 2 +- graphene/sys/versions.txt | 2 +- pango/src/auto/versions.txt | 2 +- pango/sys/versions.txt | 2 +- pangocairo/src/auto/versions.txt | 2 +- pangocairo/sys/versions.txt | 2 +- 31 files changed, 55 insertions(+), 1615 deletions(-) delete mode 100644 gio/src/auto/desktop_app_info.rs delete mode 100644 gio/src/auto/unix_fd_message.rs delete mode 100644 gio/src/auto/unix_input_stream.rs delete mode 100644 gio/src/auto/unix_mount_entry.rs delete mode 100644 gio/src/auto/unix_mount_monitor.rs delete mode 100644 gio/src/auto/unix_mount_point.rs delete mode 100644 gio/src/auto/unix_output_stream.rs diff --git a/gdk-pixbuf/src/auto/versions.txt b/gdk-pixbuf/src/auto/versions.txt index ef84c0f9c835..b7ea734b9032 100644 --- a/gdk-pixbuf/src/auto/versions.txt +++ b/gdk-pixbuf/src/auto/versions.txt @@ -1,2 +1,2 @@ Generated by gir (https://github.com/gtk-rs/gir @ c9947f8f47b6) -from gir-files (https://github.com/gtk-rs/gir-files @ 1490bcc19dc8) +from gir-files (https://github.com/gtk-rs/gir-files @ 0885719c0947) diff --git a/gdk-pixbuf/sys/versions.txt b/gdk-pixbuf/sys/versions.txt index ef84c0f9c835..b7ea734b9032 100644 --- a/gdk-pixbuf/sys/versions.txt +++ b/gdk-pixbuf/sys/versions.txt @@ -1,2 +1,2 @@ Generated by gir (https://github.com/gtk-rs/gir @ c9947f8f47b6) -from gir-files (https://github.com/gtk-rs/gir-files @ 1490bcc19dc8) +from gir-files (https://github.com/gtk-rs/gir-files @ 0885719c0947) diff --git a/gio/src/auto/desktop_app_info.rs b/gio/src/auto/desktop_app_info.rs deleted file mode 100644 index 9d4de769ae32..000000000000 --- a/gio/src/auto/desktop_app_info.rs +++ /dev/null @@ -1,285 +0,0 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir) -// from gir-files (https://github.com/gtk-rs/gir-files) -// DO NOT EDIT - -use crate::{ffi, AppInfo, AppLaunchContext}; -use glib::{prelude::*, translate::*}; -use std::boxed::Box as Box_; - -glib::wrapper! { - #[doc(alias = "GDesktopAppInfo")] - pub struct DesktopAppInfo(Object) @implements AppInfo; - - match fn { - type_ => || ffi::g_desktop_app_info_get_type(), - } -} - -impl DesktopAppInfo { - #[doc(alias = "g_desktop_app_info_new")] - pub fn new(desktop_id: &str) -> Option { - unsafe { from_glib_full(ffi::g_desktop_app_info_new(desktop_id.to_glib_none().0)) } - } - - #[doc(alias = "g_desktop_app_info_new_from_filename")] - #[doc(alias = "new_from_filename")] - pub fn from_filename(filename: impl AsRef) -> Option { - unsafe { - from_glib_full(ffi::g_desktop_app_info_new_from_filename( - filename.as_ref().to_glib_none().0, - )) - } - } - - #[doc(alias = "g_desktop_app_info_new_from_keyfile")] - #[doc(alias = "new_from_keyfile")] - pub fn from_keyfile(key_file: &glib::KeyFile) -> Option { - unsafe { - from_glib_full(ffi::g_desktop_app_info_new_from_keyfile( - key_file.to_glib_none().0, - )) - } - } - - #[doc(alias = "g_desktop_app_info_get_action_name")] - #[doc(alias = "get_action_name")] - pub fn action_name(&self, action_name: &str) -> glib::GString { - unsafe { - from_glib_full(ffi::g_desktop_app_info_get_action_name( - self.to_glib_none().0, - action_name.to_glib_none().0, - )) - } - } - - #[doc(alias = "g_desktop_app_info_get_boolean")] - #[doc(alias = "get_boolean")] - pub fn boolean(&self, key: &str) -> bool { - unsafe { - from_glib(ffi::g_desktop_app_info_get_boolean( - self.to_glib_none().0, - key.to_glib_none().0, - )) - } - } - - #[doc(alias = "g_desktop_app_info_get_categories")] - #[doc(alias = "get_categories")] - pub fn categories(&self) -> Option { - unsafe { - from_glib_none(ffi::g_desktop_app_info_get_categories( - self.to_glib_none().0, - )) - } - } - - #[doc(alias = "g_desktop_app_info_get_filename")] - #[doc(alias = "get_filename")] - pub fn filename(&self) -> Option { - unsafe { from_glib_none(ffi::g_desktop_app_info_get_filename(self.to_glib_none().0)) } - } - - #[doc(alias = "g_desktop_app_info_get_generic_name")] - #[doc(alias = "get_generic_name")] - pub fn generic_name(&self) -> Option { - unsafe { - from_glib_none(ffi::g_desktop_app_info_get_generic_name( - self.to_glib_none().0, - )) - } - } - - #[doc(alias = "g_desktop_app_info_get_is_hidden")] - #[doc(alias = "get_is_hidden")] - pub fn is_hidden(&self) -> bool { - unsafe { from_glib(ffi::g_desktop_app_info_get_is_hidden(self.to_glib_none().0)) } - } - - #[doc(alias = "g_desktop_app_info_get_keywords")] - #[doc(alias = "get_keywords")] - pub fn keywords(&self) -> Vec { - unsafe { - FromGlibPtrContainer::from_glib_none(ffi::g_desktop_app_info_get_keywords( - self.to_glib_none().0, - )) - } - } - - #[doc(alias = "g_desktop_app_info_get_locale_string")] - #[doc(alias = "get_locale_string")] - pub fn locale_string(&self, key: &str) -> Option { - unsafe { - from_glib_full(ffi::g_desktop_app_info_get_locale_string( - self.to_glib_none().0, - key.to_glib_none().0, - )) - } - } - - #[doc(alias = "g_desktop_app_info_get_nodisplay")] - #[doc(alias = "get_nodisplay")] - pub fn is_nodisplay(&self) -> bool { - unsafe { from_glib(ffi::g_desktop_app_info_get_nodisplay(self.to_glib_none().0)) } - } - - #[doc(alias = "g_desktop_app_info_get_show_in")] - #[doc(alias = "get_show_in")] - pub fn shows_in(&self, desktop_env: Option<&str>) -> bool { - unsafe { - from_glib(ffi::g_desktop_app_info_get_show_in( - self.to_glib_none().0, - desktop_env.to_glib_none().0, - )) - } - } - - #[doc(alias = "g_desktop_app_info_get_startup_wm_class")] - #[doc(alias = "get_startup_wm_class")] - pub fn startup_wm_class(&self) -> Option { - unsafe { - from_glib_none(ffi::g_desktop_app_info_get_startup_wm_class( - self.to_glib_none().0, - )) - } - } - - #[doc(alias = "g_desktop_app_info_get_string")] - #[doc(alias = "get_string")] - pub fn string(&self, key: &str) -> Option { - unsafe { - from_glib_full(ffi::g_desktop_app_info_get_string( - self.to_glib_none().0, - key.to_glib_none().0, - )) - } - } - - #[cfg(feature = "v2_60")] - #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))] - #[doc(alias = "g_desktop_app_info_get_string_list")] - #[doc(alias = "get_string_list")] - pub fn string_list(&self, key: &str) -> Vec { - unsafe { - let mut length = std::mem::MaybeUninit::uninit(); - let ret = FromGlibContainer::from_glib_full_num( - ffi::g_desktop_app_info_get_string_list( - self.to_glib_none().0, - key.to_glib_none().0, - length.as_mut_ptr(), - ), - length.assume_init() as _, - ); - ret - } - } - - #[doc(alias = "g_desktop_app_info_has_key")] - pub fn has_key(&self, key: &str) -> bool { - unsafe { - from_glib(ffi::g_desktop_app_info_has_key( - self.to_glib_none().0, - key.to_glib_none().0, - )) - } - } - - #[doc(alias = "g_desktop_app_info_launch_action")] - pub fn launch_action( - &self, - action_name: &str, - launch_context: Option<&impl IsA>, - ) { - unsafe { - ffi::g_desktop_app_info_launch_action( - self.to_glib_none().0, - action_name.to_glib_none().0, - launch_context.map(|p| p.as_ref()).to_glib_none().0, - ); - } - } - - #[doc(alias = "g_desktop_app_info_launch_uris_as_manager")] - pub fn launch_uris_as_manager( - &self, - uris: &[&str], - launch_context: Option<&impl IsA>, - spawn_flags: glib::SpawnFlags, - user_setup: Option>, - pid_callback: Option<&mut dyn FnMut(&DesktopAppInfo, glib::Pid)>, - ) -> Result<(), glib::Error> { - let user_setup_data: Box_>> = Box_::new(user_setup); - unsafe extern "C" fn user_setup_func(data: glib::ffi::gpointer) { - let callback = Box_::from_raw(data as *mut Option>); - let callback = (*callback).expect("cannot get closure..."); - callback() - } - let user_setup = if user_setup_data.is_some() { - Some(user_setup_func as _) - } else { - None - }; - let mut pid_callback_data: Option<&mut dyn FnMut(&DesktopAppInfo, glib::Pid)> = - pid_callback; - unsafe extern "C" fn pid_callback_func( - appinfo: *mut ffi::GDesktopAppInfo, - pid: glib::ffi::GPid, - user_data: glib::ffi::gpointer, - ) { - let appinfo = from_glib_borrow(appinfo); - let pid = from_glib(pid); - let callback = user_data as *mut Option<&mut dyn FnMut(&DesktopAppInfo, glib::Pid)>; - if let Some(ref mut callback) = *callback { - callback(&appinfo, pid) - } else { - panic!("cannot get closure...") - } - } - let pid_callback = if pid_callback_data.is_some() { - Some(pid_callback_func as _) - } else { - None - }; - let super_callback0: Box_>> = user_setup_data; - let super_callback1: &mut Option<&mut dyn FnMut(&DesktopAppInfo, glib::Pid)> = - &mut pid_callback_data; - unsafe { - let mut error = std::ptr::null_mut(); - let is_ok = ffi::g_desktop_app_info_launch_uris_as_manager( - self.to_glib_none().0, - uris.to_glib_none().0, - launch_context.map(|p| p.as_ref()).to_glib_none().0, - spawn_flags.into_glib(), - user_setup, - Box_::into_raw(super_callback0) as *mut _, - pid_callback, - super_callback1 as *mut _ as *mut _, - &mut error, - ); - debug_assert_eq!(is_ok == glib::ffi::GFALSE, !error.is_null()); - if error.is_null() { - Ok(()) - } else { - Err(from_glib_full(error)) - } - } - } - - #[doc(alias = "g_desktop_app_info_list_actions")] - pub fn list_actions(&self) -> Vec { - unsafe { - FromGlibPtrContainer::from_glib_none(ffi::g_desktop_app_info_list_actions( - self.to_glib_none().0, - )) - } - } - - #[doc(alias = "g_desktop_app_info_get_implementations")] - #[doc(alias = "get_implementations")] - pub fn implementations(interface: &str) -> Vec { - unsafe { - FromGlibPtrContainer::from_glib_full(ffi::g_desktop_app_info_get_implementations( - interface.to_glib_none().0, - )) - } - } -} diff --git a/gio/src/auto/enums.rs b/gio/src/auto/enums.rs index eb87b0b63a9c..baec67562163 100644 --- a/gio/src/auto/enums.rs +++ b/gio/src/auto/enums.rs @@ -466,7 +466,7 @@ impl DBusError { } //#[doc(alias = "g_dbus_error_register_error_domain")] - //pub fn register_error_domain(error_domain_quark_name: &str, quark_volatile: usize, entries: /*Ignored*/&[DBusErrorEntry]) { + //pub fn register_error_domain(error_domain_quark_name: &str, entries: /*Ignored*/&[DBusErrorEntry]) -> usize { // unsafe { TODO: call ffi:g_dbus_error_register_error_domain() } //} diff --git a/gio/src/auto/functions.rs b/gio/src/auto/functions.rs index 5a3df411f7dc..53c385f0a902 100644 --- a/gio/src/auto/functions.rs +++ b/gio/src/auto/functions.rs @@ -589,32 +589,3 @@ pub fn resources_unregister(resource: &Resource) { ffi::g_resources_unregister(resource.to_glib_none().0); } } - -#[cfg(unix)] -#[cfg_attr(docsrs, doc(cfg(unix)))] -#[doc(alias = "g_unix_is_mount_path_system_internal")] -pub fn unix_is_mount_path_system_internal(mount_path: impl AsRef) -> bool { - unsafe { - from_glib(ffi::g_unix_is_mount_path_system_internal( - mount_path.as_ref().to_glib_none().0, - )) - } -} - -#[cfg(unix)] -#[cfg_attr(docsrs, doc(cfg(unix)))] -#[doc(alias = "g_unix_is_system_device_path")] -pub fn unix_is_system_device_path(device_path: impl AsRef) -> bool { - unsafe { - from_glib(ffi::g_unix_is_system_device_path( - device_path.as_ref().to_glib_none().0, - )) - } -} - -#[cfg(unix)] -#[cfg_attr(docsrs, doc(cfg(unix)))] -#[doc(alias = "g_unix_is_system_fs_type")] -pub fn unix_is_system_fs_type(fs_type: &str) -> bool { - unsafe { from_glib(ffi::g_unix_is_system_fs_type(fs_type.to_glib_none().0)) } -} diff --git a/gio/src/auto/mod.rs b/gio/src/auto/mod.rs index e8b3c5958f6c..861d7f29b474 100644 --- a/gio/src/auto/mod.rs +++ b/gio/src/auto/mod.rs @@ -127,13 +127,6 @@ mod debug_controller_dbus; #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))] pub use self::debug_controller_dbus::DebugControllerDBus; -#[cfg(all(not(windows), not(target_os = "macos")))] -#[cfg_attr(docsrs, doc(cfg(all(not(windows), not(target_os = "macos")))))] -mod desktop_app_info; -#[cfg(all(not(windows), not(target_os = "macos")))] -#[cfg_attr(docsrs, doc(cfg(all(not(windows), not(target_os = "macos")))))] -pub use self::desktop_app_info::DesktopAppInfo; - mod drive; pub use self::drive::Drive; @@ -427,34 +420,6 @@ mod unix_fd_list; #[cfg_attr(docsrs, doc(cfg(unix)))] pub use self::unix_fd_list::UnixFDList; -#[cfg(unix)] -#[cfg_attr(docsrs, doc(cfg(unix)))] -mod unix_fd_message; -#[cfg(unix)] -#[cfg_attr(docsrs, doc(cfg(unix)))] -pub use self::unix_fd_message::UnixFDMessage; - -#[cfg(unix)] -#[cfg_attr(docsrs, doc(cfg(unix)))] -mod unix_input_stream; -#[cfg(unix)] -#[cfg_attr(docsrs, doc(cfg(unix)))] -pub use self::unix_input_stream::UnixInputStream; - -#[cfg(unix)] -#[cfg_attr(docsrs, doc(cfg(unix)))] -mod unix_mount_monitor; -#[cfg(unix)] -#[cfg_attr(docsrs, doc(cfg(unix)))] -pub use self::unix_mount_monitor::UnixMountMonitor; - -#[cfg(unix)] -#[cfg_attr(docsrs, doc(cfg(unix)))] -mod unix_output_stream; -#[cfg(unix)] -#[cfg_attr(docsrs, doc(cfg(unix)))] -pub use self::unix_output_stream::UnixOutputStream; - #[cfg(unix)] #[cfg_attr(docsrs, doc(cfg(unix)))] mod unix_socket_address; @@ -516,20 +481,6 @@ pub use self::settings_schema_source::SettingsSchemaSource; mod srv_target; pub use self::srv_target::SrvTarget; -#[cfg(unix)] -#[cfg_attr(docsrs, doc(cfg(unix)))] -mod unix_mount_entry; -#[cfg(unix)] -#[cfg_attr(docsrs, doc(cfg(unix)))] -pub use self::unix_mount_entry::UnixMountEntry; - -#[cfg(unix)] -#[cfg_attr(docsrs, doc(cfg(unix)))] -mod unix_mount_point; -#[cfg(unix)] -#[cfg_attr(docsrs, doc(cfg(unix)))] -pub use self::unix_mount_point::UnixMountPoint; - mod enums; pub use self::enums::BusType; pub use self::enums::ConverterResult; @@ -922,15 +873,6 @@ pub(crate) mod traits { pub use super::unix_fd_list::UnixFDListExt; #[cfg(unix)] #[cfg_attr(docsrs, doc(cfg(unix)))] - pub use super::unix_fd_message::UnixFDMessageExt; - #[cfg(unix)] - #[cfg_attr(docsrs, doc(cfg(unix)))] - pub use super::unix_input_stream::UnixInputStreamExt; - #[cfg(unix)] - #[cfg_attr(docsrs, doc(cfg(unix)))] - pub use super::unix_output_stream::UnixOutputStreamExt; - #[cfg(unix)] - #[cfg_attr(docsrs, doc(cfg(unix)))] pub use super::unix_socket_address::UnixSocketAddressExt; pub use super::vfs::VfsExt; pub use super::volume::VolumeExt; diff --git a/gio/src/auto/unix_fd_message.rs b/gio/src/auto/unix_fd_message.rs deleted file mode 100644 index 3d90f4a338af..000000000000 --- a/gio/src/auto/unix_fd_message.rs +++ /dev/null @@ -1,56 +0,0 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir) -// from gir-files (https://github.com/gtk-rs/gir-files) -// DO NOT EDIT - -use crate::{ffi, SocketControlMessage, UnixFDList}; -use glib::{prelude::*, translate::*}; - -glib::wrapper! { - #[doc(alias = "GUnixFDMessage")] - pub struct UnixFDMessage(Object) @extends SocketControlMessage; - - match fn { - type_ => || ffi::g_unix_fd_message_get_type(), - } -} - -impl UnixFDMessage { - pub const NONE: Option<&'static UnixFDMessage> = None; - - #[doc(alias = "g_unix_fd_message_new")] - pub fn new() -> UnixFDMessage { - unsafe { SocketControlMessage::from_glib_full(ffi::g_unix_fd_message_new()).unsafe_cast() } - } - - #[doc(alias = "g_unix_fd_message_new_with_fd_list")] - #[doc(alias = "new_with_fd_list")] - pub fn with_fd_list(fd_list: &impl IsA) -> UnixFDMessage { - unsafe { - SocketControlMessage::from_glib_full(ffi::g_unix_fd_message_new_with_fd_list( - fd_list.as_ref().to_glib_none().0, - )) - .unsafe_cast() - } - } -} - -impl Default for UnixFDMessage { - fn default() -> Self { - Self::new() - } -} - -pub trait UnixFDMessageExt: IsA + 'static { - #[doc(alias = "g_unix_fd_message_get_fd_list")] - #[doc(alias = "get_fd_list")] - #[doc(alias = "fd-list")] - fn fd_list(&self) -> UnixFDList { - unsafe { - from_glib_none(ffi::g_unix_fd_message_get_fd_list( - self.as_ref().to_glib_none().0, - )) - } - } -} - -impl> UnixFDMessageExt for O {} diff --git a/gio/src/auto/unix_input_stream.rs b/gio/src/auto/unix_input_stream.rs deleted file mode 100644 index 43c455572ca7..000000000000 --- a/gio/src/auto/unix_input_stream.rs +++ /dev/null @@ -1,34 +0,0 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir) -// from gir-files (https://github.com/gtk-rs/gir-files) -// DO NOT EDIT - -use crate::{ffi, FileDescriptorBased, InputStream, PollableInputStream}; -use glib::{prelude::*, translate::*}; - -glib::wrapper! { - #[doc(alias = "GUnixInputStream")] - pub struct UnixInputStream(Object) @extends InputStream, @implements FileDescriptorBased, PollableInputStream; - - match fn { - type_ => || ffi::g_unix_input_stream_get_type(), - } -} - -impl UnixInputStream { - pub const NONE: Option<&'static UnixInputStream> = None; -} - -pub trait UnixInputStreamExt: IsA + 'static { - #[doc(alias = "g_unix_input_stream_get_close_fd")] - #[doc(alias = "get_close_fd")] - #[doc(alias = "close-fd")] - fn closes_fd(&self) -> bool { - unsafe { - from_glib(ffi::g_unix_input_stream_get_close_fd( - self.as_ref().to_glib_none().0, - )) - } - } -} - -impl> UnixInputStreamExt for O {} diff --git a/gio/src/auto/unix_mount_entry.rs b/gio/src/auto/unix_mount_entry.rs deleted file mode 100644 index 641a32ea6428..000000000000 --- a/gio/src/auto/unix_mount_entry.rs +++ /dev/null @@ -1,200 +0,0 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir) -// from gir-files (https://github.com/gtk-rs/gir-files) -// DO NOT EDIT - -use crate::{ffi, Icon}; -use glib::translate::*; - -glib::wrapper! { - #[derive(Debug)] - pub struct UnixMountEntry(Boxed); - - match fn { - copy => |ptr| ffi::g_unix_mount_entry_copy(mut_override(ptr)), - free => |ptr| ffi::g_unix_mount_entry_free(ptr), - type_ => || ffi::g_unix_mount_entry_get_type(), - } -} - -impl UnixMountEntry { - #[doc(alias = "g_unix_mount_entry_compare")] - fn compare(&self, mount2: &UnixMountEntry) -> i32 { - unsafe { - ffi::g_unix_mount_entry_compare( - mut_override(self.to_glib_none().0), - mut_override(mount2.to_glib_none().0), - ) - } - } - - #[doc(alias = "g_unix_mount_entry_get_device_path")] - #[doc(alias = "get_device_path")] - pub fn device_path(&self) -> std::path::PathBuf { - unsafe { - from_glib_none(ffi::g_unix_mount_entry_get_device_path(mut_override( - self.to_glib_none().0, - ))) - } - } - - #[doc(alias = "g_unix_mount_entry_get_fs_type")] - #[doc(alias = "get_fs_type")] - pub fn fs_type(&self) -> glib::GString { - unsafe { - from_glib_none(ffi::g_unix_mount_entry_get_fs_type(mut_override( - self.to_glib_none().0, - ))) - } - } - - #[doc(alias = "g_unix_mount_entry_get_mount_path")] - #[doc(alias = "get_mount_path")] - pub fn mount_path(&self) -> std::path::PathBuf { - unsafe { - from_glib_none(ffi::g_unix_mount_entry_get_mount_path(mut_override( - self.to_glib_none().0, - ))) - } - } - - #[cfg(feature = "v2_58")] - #[cfg_attr(docsrs, doc(cfg(feature = "v2_58")))] - #[doc(alias = "g_unix_mount_entry_get_options")] - #[doc(alias = "get_options")] - pub fn options(&self) -> Option { - unsafe { - from_glib_none(ffi::g_unix_mount_entry_get_options(mut_override( - self.to_glib_none().0, - ))) - } - } - - #[cfg(feature = "v2_60")] - #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))] - #[doc(alias = "g_unix_mount_entry_get_root_path")] - #[doc(alias = "get_root_path")] - pub fn root_path(&self) -> Option { - unsafe { - from_glib_none(ffi::g_unix_mount_entry_get_root_path(mut_override( - self.to_glib_none().0, - ))) - } - } - - #[doc(alias = "g_unix_mount_entry_guess_can_eject")] - pub fn guess_can_eject(&self) -> bool { - unsafe { - from_glib(ffi::g_unix_mount_entry_guess_can_eject(mut_override( - self.to_glib_none().0, - ))) - } - } - - #[doc(alias = "g_unix_mount_entry_guess_icon")] - pub fn guess_icon(&self) -> Icon { - unsafe { - from_glib_full(ffi::g_unix_mount_entry_guess_icon(mut_override( - self.to_glib_none().0, - ))) - } - } - - #[doc(alias = "g_unix_mount_entry_guess_name")] - pub fn guess_name(&self) -> glib::GString { - unsafe { - from_glib_full(ffi::g_unix_mount_entry_guess_name(mut_override( - self.to_glib_none().0, - ))) - } - } - - #[doc(alias = "g_unix_mount_entry_guess_should_display")] - pub fn guess_should_display(&self) -> bool { - unsafe { - from_glib(ffi::g_unix_mount_entry_guess_should_display(mut_override( - self.to_glib_none().0, - ))) - } - } - - #[doc(alias = "g_unix_mount_entry_guess_symbolic_icon")] - pub fn guess_symbolic_icon(&self) -> Icon { - unsafe { - from_glib_full(ffi::g_unix_mount_entry_guess_symbolic_icon(mut_override( - self.to_glib_none().0, - ))) - } - } - - #[doc(alias = "g_unix_mount_entry_is_readonly")] - pub fn is_readonly(&self) -> bool { - unsafe { - from_glib(ffi::g_unix_mount_entry_is_readonly(mut_override( - self.to_glib_none().0, - ))) - } - } - - #[doc(alias = "g_unix_mount_entry_is_system_internal")] - pub fn is_system_internal(&self) -> bool { - unsafe { - from_glib(ffi::g_unix_mount_entry_is_system_internal(mut_override( - self.to_glib_none().0, - ))) - } - } - - #[doc(alias = "g_unix_mount_entry_at")] - #[doc(alias = "at")] - pub fn for_mount_path( - mount_path: impl AsRef, - ) -> (Option, u64) { - unsafe { - let mut time_read = std::mem::MaybeUninit::uninit(); - let ret = from_glib_full(ffi::g_unix_mount_entry_at( - mount_path.as_ref().to_glib_none().0, - time_read.as_mut_ptr(), - )); - (ret, time_read.assume_init()) - } - } - - #[doc(alias = "g_unix_mount_entry_for")] - #[doc(alias = "for")] - pub fn for_file_path(file_path: impl AsRef) -> (Option, u64) { - unsafe { - let mut time_read = std::mem::MaybeUninit::uninit(); - let ret = from_glib_full(ffi::g_unix_mount_entry_for( - file_path.as_ref().to_glib_none().0, - time_read.as_mut_ptr(), - )); - (ret, time_read.assume_init()) - } - } -} - -impl PartialEq for UnixMountEntry { - #[inline] - fn eq(&self, other: &Self) -> bool { - self.compare(other) == 0 - } -} - -impl Eq for UnixMountEntry {} - -impl PartialOrd for UnixMountEntry { - #[inline] - fn partial_cmp(&self, other: &Self) -> Option { - Some(self.cmp(other)) - } -} - -impl Ord for UnixMountEntry { - #[inline] - fn cmp(&self, other: &Self) -> std::cmp::Ordering { - self.compare(other).cmp(&0) - } -} - -unsafe impl Send for UnixMountEntry {} -unsafe impl Sync for UnixMountEntry {} diff --git a/gio/src/auto/unix_mount_monitor.rs b/gio/src/auto/unix_mount_monitor.rs deleted file mode 100644 index c08492b6ff90..000000000000 --- a/gio/src/auto/unix_mount_monitor.rs +++ /dev/null @@ -1,72 +0,0 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir) -// from gir-files (https://github.com/gtk-rs/gir-files) -// DO NOT EDIT - -use crate::ffi; -use glib::{ - object::ObjectType as _, - prelude::*, - signal::{connect_raw, SignalHandlerId}, - translate::*, -}; -use std::boxed::Box as Box_; - -glib::wrapper! { - #[doc(alias = "GUnixMountMonitor")] - pub struct UnixMountMonitor(Object); - - match fn { - type_ => || ffi::g_unix_mount_monitor_get_type(), - } -} - -impl UnixMountMonitor { - #[doc(alias = "g_unix_mount_monitor_get")] - pub fn get() -> UnixMountMonitor { - unsafe { from_glib_full(ffi::g_unix_mount_monitor_get()) } - } - - #[doc(alias = "mountpoints-changed")] - pub fn connect_mountpoints_changed(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn mountpoints_changed_trampoline( - this: *mut ffi::GUnixMountMonitor, - f: glib::ffi::gpointer, - ) { - let f: &F = &*(f as *const F); - f(&from_glib_borrow(this)) - } - unsafe { - let f: Box_ = Box_::new(f); - connect_raw( - self.as_ptr() as *mut _, - c"mountpoints-changed".as_ptr() as *const _, - Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( - mountpoints_changed_trampoline:: as *const (), - )), - Box_::into_raw(f), - ) - } - } - - #[doc(alias = "mounts-changed")] - pub fn connect_mounts_changed(&self, f: F) -> SignalHandlerId { - unsafe extern "C" fn mounts_changed_trampoline( - this: *mut ffi::GUnixMountMonitor, - f: glib::ffi::gpointer, - ) { - let f: &F = &*(f as *const F); - f(&from_glib_borrow(this)) - } - unsafe { - let f: Box_ = Box_::new(f); - connect_raw( - self.as_ptr() as *mut _, - c"mounts-changed".as_ptr() as *const _, - Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( - mounts_changed_trampoline:: as *const (), - )), - Box_::into_raw(f), - ) - } - } -} diff --git a/gio/src/auto/unix_mount_point.rs b/gio/src/auto/unix_mount_point.rs deleted file mode 100644 index 2e85861f1705..000000000000 --- a/gio/src/auto/unix_mount_point.rs +++ /dev/null @@ -1,172 +0,0 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir) -// from gir-files (https://github.com/gtk-rs/gir-files) -// DO NOT EDIT - -use crate::{ffi, Icon}; -use glib::translate::*; - -glib::wrapper! { - #[derive(Debug)] - pub struct UnixMountPoint(Boxed); - - match fn { - copy => |ptr| ffi::g_unix_mount_point_copy(mut_override(ptr)), - free => |ptr| ffi::g_unix_mount_point_free(ptr), - type_ => || ffi::g_unix_mount_point_get_type(), - } -} - -impl UnixMountPoint { - #[doc(alias = "g_unix_mount_point_compare")] - fn compare(&self, mount2: &UnixMountPoint) -> i32 { - unsafe { - ffi::g_unix_mount_point_compare( - mut_override(self.to_glib_none().0), - mut_override(mount2.to_glib_none().0), - ) - } - } - - #[doc(alias = "g_unix_mount_point_get_device_path")] - #[doc(alias = "get_device_path")] - pub fn device_path(&self) -> std::path::PathBuf { - unsafe { - from_glib_none(ffi::g_unix_mount_point_get_device_path(mut_override( - self.to_glib_none().0, - ))) - } - } - - #[doc(alias = "g_unix_mount_point_get_fs_type")] - #[doc(alias = "get_fs_type")] - pub fn fs_type(&self) -> glib::GString { - unsafe { - from_glib_none(ffi::g_unix_mount_point_get_fs_type(mut_override( - self.to_glib_none().0, - ))) - } - } - - #[doc(alias = "g_unix_mount_point_get_mount_path")] - #[doc(alias = "get_mount_path")] - pub fn mount_path(&self) -> std::path::PathBuf { - unsafe { - from_glib_none(ffi::g_unix_mount_point_get_mount_path(mut_override( - self.to_glib_none().0, - ))) - } - } - - #[doc(alias = "g_unix_mount_point_get_options")] - #[doc(alias = "get_options")] - pub fn options(&self) -> Option { - unsafe { - from_glib_none(ffi::g_unix_mount_point_get_options(mut_override( - self.to_glib_none().0, - ))) - } - } - - #[doc(alias = "g_unix_mount_point_guess_can_eject")] - pub fn guess_can_eject(&self) -> bool { - unsafe { - from_glib(ffi::g_unix_mount_point_guess_can_eject(mut_override( - self.to_glib_none().0, - ))) - } - } - - #[doc(alias = "g_unix_mount_point_guess_icon")] - pub fn guess_icon(&self) -> Icon { - unsafe { - from_glib_full(ffi::g_unix_mount_point_guess_icon(mut_override( - self.to_glib_none().0, - ))) - } - } - - #[doc(alias = "g_unix_mount_point_guess_name")] - pub fn guess_name(&self) -> glib::GString { - unsafe { - from_glib_full(ffi::g_unix_mount_point_guess_name(mut_override( - self.to_glib_none().0, - ))) - } - } - - #[doc(alias = "g_unix_mount_point_guess_symbolic_icon")] - pub fn guess_symbolic_icon(&self) -> Icon { - unsafe { - from_glib_full(ffi::g_unix_mount_point_guess_symbolic_icon(mut_override( - self.to_glib_none().0, - ))) - } - } - - #[doc(alias = "g_unix_mount_point_is_loopback")] - pub fn is_loopback(&self) -> bool { - unsafe { - from_glib(ffi::g_unix_mount_point_is_loopback(mut_override( - self.to_glib_none().0, - ))) - } - } - - #[doc(alias = "g_unix_mount_point_is_readonly")] - pub fn is_readonly(&self) -> bool { - unsafe { - from_glib(ffi::g_unix_mount_point_is_readonly(mut_override( - self.to_glib_none().0, - ))) - } - } - - #[doc(alias = "g_unix_mount_point_is_user_mountable")] - pub fn is_user_mountable(&self) -> bool { - unsafe { - from_glib(ffi::g_unix_mount_point_is_user_mountable(mut_override( - self.to_glib_none().0, - ))) - } - } - - #[cfg(feature = "v2_66")] - #[cfg_attr(docsrs, doc(cfg(feature = "v2_66")))] - #[doc(alias = "g_unix_mount_point_at")] - pub fn at(mount_path: impl AsRef) -> (Option, u64) { - unsafe { - let mut time_read = std::mem::MaybeUninit::uninit(); - let ret = from_glib_full(ffi::g_unix_mount_point_at( - mount_path.as_ref().to_glib_none().0, - time_read.as_mut_ptr(), - )); - (ret, time_read.assume_init()) - } - } -} - -impl PartialEq for UnixMountPoint { - #[inline] - fn eq(&self, other: &Self) -> bool { - self.compare(other) == 0 - } -} - -impl Eq for UnixMountPoint {} - -impl PartialOrd for UnixMountPoint { - #[inline] - fn partial_cmp(&self, other: &Self) -> Option { - Some(self.cmp(other)) - } -} - -impl Ord for UnixMountPoint { - #[inline] - fn cmp(&self, other: &Self) -> std::cmp::Ordering { - self.compare(other).cmp(&0) - } -} - -unsafe impl Send for UnixMountPoint {} -unsafe impl Sync for UnixMountPoint {} diff --git a/gio/src/auto/unix_output_stream.rs b/gio/src/auto/unix_output_stream.rs deleted file mode 100644 index f7cba6395d7b..000000000000 --- a/gio/src/auto/unix_output_stream.rs +++ /dev/null @@ -1,34 +0,0 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir) -// from gir-files (https://github.com/gtk-rs/gir-files) -// DO NOT EDIT - -use crate::{ffi, FileDescriptorBased, OutputStream, PollableOutputStream}; -use glib::{prelude::*, translate::*}; - -glib::wrapper! { - #[doc(alias = "GUnixOutputStream")] - pub struct UnixOutputStream(Object) @extends OutputStream, @implements FileDescriptorBased, PollableOutputStream; - - match fn { - type_ => || ffi::g_unix_output_stream_get_type(), - } -} - -impl UnixOutputStream { - pub const NONE: Option<&'static UnixOutputStream> = None; -} - -pub trait UnixOutputStreamExt: IsA + 'static { - #[doc(alias = "g_unix_output_stream_get_close_fd")] - #[doc(alias = "get_close_fd")] - #[doc(alias = "close-fd")] - fn closes_fd(&self) -> bool { - unsafe { - from_glib(ffi::g_unix_output_stream_get_close_fd( - self.as_ref().to_glib_none().0, - )) - } - } -} - -impl> UnixOutputStreamExt for O {} diff --git a/gio/src/auto/versions.txt b/gio/src/auto/versions.txt index ef84c0f9c835..b7ea734b9032 100644 --- a/gio/src/auto/versions.txt +++ b/gio/src/auto/versions.txt @@ -1,2 +1,2 @@ Generated by gir (https://github.com/gtk-rs/gir @ c9947f8f47b6) -from gir-files (https://github.com/gtk-rs/gir-files @ 1490bcc19dc8) +from gir-files (https://github.com/gtk-rs/gir-files @ 0885719c0947) diff --git a/gio/sys/src/lib.rs b/gio/sys/src/lib.rs index d25bdca7f7f4..6181ffd30de5 100644 --- a/gio/sys/src/lib.rs +++ b/gio/sys/src/lib.rs @@ -397,7 +397,6 @@ pub const G_ZLIB_COMPRESSOR_FORMAT_RAW: GZlibCompressorFormat = 2; pub const G_DBUS_METHOD_INVOCATION_HANDLED: gboolean = glib::GTRUE; pub const G_DBUS_METHOD_INVOCATION_UNHANDLED: gboolean = glib::GFALSE; pub const G_DEBUG_CONTROLLER_EXTENSION_POINT_NAME: &[u8] = b"gio-debug-controller\0"; -pub const G_DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME: &[u8] = b"gio-desktop-app-info-lookup\0"; pub const G_DRIVE_IDENTIFIER_KIND_UNIX_DEVICE: &[u8] = b"unix-device\0"; pub const G_FILE_ATTRIBUTE_ACCESS_CAN_DELETE: &[u8] = b"access::can-delete\0"; pub const G_FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE: &[u8] = b"access::can-execute\0"; @@ -862,8 +861,6 @@ pub type GDBusSubtreeIntrospectFunc = Option< >; pub type GDatagramBasedSourceFunc = Option gboolean>; -pub type GDesktopAppLaunchCallback = - Option; pub type GFileMeasureProgressCallback = Option; pub type GFileProgressCallback = Option; @@ -2225,40 +2222,6 @@ impl ::std::fmt::Debug for GDebugControllerInterface { } } -#[derive(Copy, Clone)] -#[repr(C)] -pub struct GDesktopAppInfoClass { - pub parent_class: gobject::GObjectClass, -} - -impl ::std::fmt::Debug for GDesktopAppInfoClass { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - f.debug_struct(&format!("GDesktopAppInfoClass @ {self:p}")) - .field("parent_class", &self.parent_class) - .finish() - } -} - -#[derive(Copy, Clone)] -#[repr(C)] -pub struct GDesktopAppInfoLookupIface { - pub g_iface: gobject::GTypeInterface, - pub get_default_for_uri_scheme: - Option *mut GAppInfo>, -} - -impl ::std::fmt::Debug for GDesktopAppInfoLookupIface { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - f.debug_struct(&format!("GDesktopAppInfoLookupIface @ {self:p}")) - .field("g_iface", &self.g_iface) - .field( - "get_default_for_uri_scheme", - &self.get_default_for_uri_scheme, - ) - .finish() - } -} - #[derive(Copy, Clone)] #[repr(C)] pub struct GDriveIface { @@ -2587,22 +2550,6 @@ impl ::std::fmt::Debug for GFileAttributeMatcher { } } -#[derive(Copy, Clone)] -#[repr(C)] -pub struct GFileDescriptorBasedIface { - pub g_iface: gobject::GTypeInterface, - pub get_fd: Option c_int>, -} - -impl ::std::fmt::Debug for GFileDescriptorBasedIface { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - f.debug_struct(&format!("GFileDescriptorBasedIface @ {self:p}")) - .field("g_iface", &self.g_iface) - .field("get_fd", &self.get_fd) - .finish() - } -} - #[derive(Copy, Clone)] #[repr(C)] pub struct GFileEnumeratorClass { @@ -6858,136 +6805,6 @@ pub struct _GUnixFDListPrivate { pub type GUnixFDListPrivate = _GUnixFDListPrivate; -#[derive(Copy, Clone)] -#[repr(C)] -pub struct GUnixFDMessageClass { - pub parent_class: GSocketControlMessageClass, - pub _g_reserved1: Option, - pub _g_reserved2: Option, -} - -impl ::std::fmt::Debug for GUnixFDMessageClass { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - f.debug_struct(&format!("GUnixFDMessageClass @ {self:p}")) - .field("parent_class", &self.parent_class) - .field("_g_reserved1", &self._g_reserved1) - .field("_g_reserved2", &self._g_reserved2) - .finish() - } -} - -#[repr(C)] -#[allow(dead_code)] -pub struct _GUnixFDMessagePrivate { - _data: [u8; 0], - _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, -} - -pub type GUnixFDMessagePrivate = _GUnixFDMessagePrivate; - -#[derive(Copy, Clone)] -#[repr(C)] -pub struct GUnixInputStreamClass { - pub parent_class: GInputStreamClass, - pub _g_reserved1: Option, - pub _g_reserved2: Option, - pub _g_reserved3: Option, - pub _g_reserved4: Option, - pub _g_reserved5: Option, -} - -impl ::std::fmt::Debug for GUnixInputStreamClass { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - f.debug_struct(&format!("GUnixInputStreamClass @ {self:p}")) - .field("parent_class", &self.parent_class) - .field("_g_reserved1", &self._g_reserved1) - .field("_g_reserved2", &self._g_reserved2) - .field("_g_reserved3", &self._g_reserved3) - .field("_g_reserved4", &self._g_reserved4) - .field("_g_reserved5", &self._g_reserved5) - .finish() - } -} - -#[repr(C)] -#[allow(dead_code)] -pub struct _GUnixInputStreamPrivate { - _data: [u8; 0], - _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, -} - -pub type GUnixInputStreamPrivate = _GUnixInputStreamPrivate; - -#[repr(C)] -#[allow(dead_code)] -pub struct GUnixMountEntry { - _data: [u8; 0], - _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, -} - -impl ::std::fmt::Debug for GUnixMountEntry { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - f.debug_struct(&format!("GUnixMountEntry @ {self:p}")) - .finish() - } -} - -#[repr(C)] -#[allow(dead_code)] -pub struct _GUnixMountMonitorClass { - _data: [u8; 0], - _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, -} - -pub type GUnixMountMonitorClass = _GUnixMountMonitorClass; - -#[repr(C)] -#[allow(dead_code)] -pub struct GUnixMountPoint { - _data: [u8; 0], - _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, -} - -impl ::std::fmt::Debug for GUnixMountPoint { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - f.debug_struct(&format!("GUnixMountPoint @ {self:p}")) - .finish() - } -} - -#[derive(Copy, Clone)] -#[repr(C)] -pub struct GUnixOutputStreamClass { - pub parent_class: GOutputStreamClass, - pub _g_reserved1: Option, - pub _g_reserved2: Option, - pub _g_reserved3: Option, - pub _g_reserved4: Option, - pub _g_reserved5: Option, -} - -impl ::std::fmt::Debug for GUnixOutputStreamClass { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - f.debug_struct(&format!("GUnixOutputStreamClass @ {self:p}")) - .field("parent_class", &self.parent_class) - .field("_g_reserved1", &self._g_reserved1) - .field("_g_reserved2", &self._g_reserved2) - .field("_g_reserved3", &self._g_reserved3) - .field("_g_reserved4", &self._g_reserved4) - .field("_g_reserved5", &self._g_reserved5) - .finish() - } -} - -#[repr(C)] -#[allow(dead_code)] -pub struct _GUnixOutputStreamPrivate { - _data: [u8; 0], - _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, -} - -pub type GUnixOutputStreamPrivate = _GUnixOutputStreamPrivate; - #[derive(Copy, Clone)] #[repr(C)] pub struct GUnixSocketAddressClass { @@ -7663,20 +7480,6 @@ impl ::std::fmt::Debug for GDebugControllerDBus { } } -#[repr(C)] -#[allow(dead_code)] -pub struct GDesktopAppInfo { - _data: [u8; 0], - _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, -} - -impl ::std::fmt::Debug for GDesktopAppInfo { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - f.debug_struct(&format!("GDesktopAppInfo @ {self:p}")) - .finish() - } -} - #[repr(C)] #[allow(dead_code)] pub struct GEmblem { @@ -8728,66 +8531,6 @@ impl ::std::fmt::Debug for GUnixFDList { } } -#[derive(Copy, Clone)] -#[repr(C)] -pub struct GUnixFDMessage { - pub parent_instance: GSocketControlMessage, - pub priv_: *mut GUnixFDMessagePrivate, -} - -impl ::std::fmt::Debug for GUnixFDMessage { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - f.debug_struct(&format!("GUnixFDMessage @ {self:p}")) - .field("parent_instance", &self.parent_instance) - .field("priv_", &self.priv_) - .finish() - } -} - -#[derive(Copy, Clone)] -#[repr(C)] -pub struct GUnixInputStream { - pub parent_instance: GInputStream, - pub priv_: *mut GUnixInputStreamPrivate, -} - -impl ::std::fmt::Debug for GUnixInputStream { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - f.debug_struct(&format!("GUnixInputStream @ {self:p}")) - .field("parent_instance", &self.parent_instance) - .finish() - } -} - -#[repr(C)] -#[allow(dead_code)] -pub struct GUnixMountMonitor { - _data: [u8; 0], - _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, -} - -impl ::std::fmt::Debug for GUnixMountMonitor { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - f.debug_struct(&format!("GUnixMountMonitor @ {self:p}")) - .finish() - } -} - -#[derive(Copy, Clone)] -#[repr(C)] -pub struct GUnixOutputStream { - pub parent_instance: GOutputStream, - pub priv_: *mut GUnixOutputStreamPrivate, -} - -impl ::std::fmt::Debug for GUnixOutputStream { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - f.debug_struct(&format!("GUnixOutputStream @ {self:p}")) - .field("parent_instance", &self.parent_instance) - .finish() - } -} - #[derive(Copy, Clone)] #[repr(C)] pub struct GUnixSocketAddress { @@ -9017,19 +8760,6 @@ impl ::std::fmt::Debug for GDebugController { } } -#[repr(C)] -#[allow(dead_code)] -pub struct GDesktopAppInfoLookup { - _data: [u8; 0], - _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, -} - -impl ::std::fmt::Debug for GDesktopAppInfoLookup { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - write!(f, "GDesktopAppInfoLookup @ {self:p}") - } -} - #[repr(C)] #[allow(dead_code)] pub struct GDrive { @@ -9095,19 +8825,6 @@ impl ::std::fmt::Debug for GFile { } } -#[repr(C)] -#[allow(dead_code)] -pub struct GFileDescriptorBased { - _data: [u8; 0], - _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, -} - -impl ::std::fmt::Debug for GFileDescriptorBased { - fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { - write!(f, "GFileDescriptorBased @ {self:p}") - } -} - #[repr(C)] #[allow(dead_code)] pub struct GIcon { @@ -10159,99 +9876,6 @@ extern "C" { pub fn g_static_resource_get_resource(static_resource: *mut GStaticResource) -> *mut GResource; pub fn g_static_resource_init(static_resource: *mut GStaticResource); - //========================================================================= - // GUnixMountEntry - //========================================================================= - pub fn g_unix_mount_entry_get_type() -> GType; - #[cfg(feature = "v2_84")] - #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))] - pub fn g_unix_mount_entry_compare( - mount1: *mut GUnixMountEntry, - mount2: *mut GUnixMountEntry, - ) -> c_int; - #[cfg(feature = "v2_84")] - #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))] - pub fn g_unix_mount_entry_copy(mount_entry: *mut GUnixMountEntry) -> *mut GUnixMountEntry; - #[cfg(feature = "v2_84")] - #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))] - pub fn g_unix_mount_entry_free(mount_entry: *mut GUnixMountEntry); - #[cfg(feature = "v2_84")] - #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))] - pub fn g_unix_mount_entry_get_device_path(mount_entry: *mut GUnixMountEntry) -> *const c_char; - #[cfg(feature = "v2_84")] - #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))] - pub fn g_unix_mount_entry_get_fs_type(mount_entry: *mut GUnixMountEntry) -> *const c_char; - #[cfg(feature = "v2_84")] - #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))] - pub fn g_unix_mount_entry_get_mount_path(mount_entry: *mut GUnixMountEntry) -> *const c_char; - #[cfg(feature = "v2_84")] - #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))] - pub fn g_unix_mount_entry_get_options(mount_entry: *mut GUnixMountEntry) -> *const c_char; - #[cfg(feature = "v2_84")] - #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))] - pub fn g_unix_mount_entry_get_root_path(mount_entry: *mut GUnixMountEntry) -> *const c_char; - #[cfg(feature = "v2_84")] - #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))] - pub fn g_unix_mount_entry_guess_can_eject(mount_entry: *mut GUnixMountEntry) -> gboolean; - #[cfg(feature = "v2_84")] - #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))] - pub fn g_unix_mount_entry_guess_icon(mount_entry: *mut GUnixMountEntry) -> *mut GIcon; - #[cfg(feature = "v2_84")] - #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))] - pub fn g_unix_mount_entry_guess_name(mount_entry: *mut GUnixMountEntry) -> *mut c_char; - #[cfg(feature = "v2_84")] - #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))] - pub fn g_unix_mount_entry_guess_should_display(mount_entry: *mut GUnixMountEntry) -> gboolean; - #[cfg(feature = "v2_84")] - #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))] - pub fn g_unix_mount_entry_guess_symbolic_icon(mount_entry: *mut GUnixMountEntry) -> *mut GIcon; - #[cfg(feature = "v2_84")] - #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))] - pub fn g_unix_mount_entry_is_readonly(mount_entry: *mut GUnixMountEntry) -> gboolean; - #[cfg(feature = "v2_84")] - #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))] - pub fn g_unix_mount_entry_is_system_internal(mount_entry: *mut GUnixMountEntry) -> gboolean; - #[cfg(feature = "v2_84")] - #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))] - pub fn g_unix_mount_entry_at( - mount_path: *const c_char, - time_read: *mut u64, - ) -> *mut GUnixMountEntry; - #[cfg(feature = "v2_84")] - #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))] - pub fn g_unix_mount_entry_for( - file_path: *const c_char, - time_read: *mut u64, - ) -> *mut GUnixMountEntry; - - //========================================================================= - // GUnixMountPoint - //========================================================================= - pub fn g_unix_mount_point_get_type() -> GType; - pub fn g_unix_mount_point_compare( - mount1: *mut GUnixMountPoint, - mount2: *mut GUnixMountPoint, - ) -> c_int; - pub fn g_unix_mount_point_copy(mount_point: *mut GUnixMountPoint) -> *mut GUnixMountPoint; - pub fn g_unix_mount_point_free(mount_point: *mut GUnixMountPoint); - pub fn g_unix_mount_point_get_device_path(mount_point: *mut GUnixMountPoint) -> *const c_char; - pub fn g_unix_mount_point_get_fs_type(mount_point: *mut GUnixMountPoint) -> *const c_char; - pub fn g_unix_mount_point_get_mount_path(mount_point: *mut GUnixMountPoint) -> *const c_char; - pub fn g_unix_mount_point_get_options(mount_point: *mut GUnixMountPoint) -> *const c_char; - pub fn g_unix_mount_point_guess_can_eject(mount_point: *mut GUnixMountPoint) -> gboolean; - pub fn g_unix_mount_point_guess_icon(mount_point: *mut GUnixMountPoint) -> *mut GIcon; - pub fn g_unix_mount_point_guess_name(mount_point: *mut GUnixMountPoint) -> *mut c_char; - pub fn g_unix_mount_point_guess_symbolic_icon(mount_point: *mut GUnixMountPoint) -> *mut GIcon; - pub fn g_unix_mount_point_is_loopback(mount_point: *mut GUnixMountPoint) -> gboolean; - pub fn g_unix_mount_point_is_readonly(mount_point: *mut GUnixMountPoint) -> gboolean; - pub fn g_unix_mount_point_is_user_mountable(mount_point: *mut GUnixMountPoint) -> gboolean; - #[cfg(feature = "v2_66")] - #[cfg_attr(docsrs, doc(cfg(feature = "v2_66")))] - pub fn g_unix_mount_point_at( - mount_path: *const c_char, - time_read: *mut u64, - ) -> *mut GUnixMountPoint; - //========================================================================= // GAppInfoMonitor //========================================================================= @@ -11694,87 +11318,6 @@ extern "C" { #[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))] pub fn g_debug_controller_dbus_stop(self_: *mut GDebugControllerDBus); - //========================================================================= - // GDesktopAppInfo - //========================================================================= - pub fn g_desktop_app_info_get_type() -> GType; - pub fn g_desktop_app_info_new(desktop_id: *const c_char) -> *mut GDesktopAppInfo; - pub fn g_desktop_app_info_new_from_filename(filename: *const c_char) -> *mut GDesktopAppInfo; - pub fn g_desktop_app_info_new_from_keyfile( - key_file: *mut glib::GKeyFile, - ) -> *mut GDesktopAppInfo; - pub fn g_desktop_app_info_get_implementations(interface: *const c_char) -> *mut glib::GList; - pub fn g_desktop_app_info_search(search_string: *const c_char) -> *mut *mut *mut c_char; - pub fn g_desktop_app_info_set_desktop_env(desktop_env: *const c_char); - pub fn g_desktop_app_info_get_action_name( - info: *mut GDesktopAppInfo, - action_name: *const c_char, - ) -> *mut c_char; - pub fn g_desktop_app_info_get_boolean( - info: *mut GDesktopAppInfo, - key: *const c_char, - ) -> gboolean; - pub fn g_desktop_app_info_get_categories(info: *mut GDesktopAppInfo) -> *const c_char; - pub fn g_desktop_app_info_get_filename(info: *mut GDesktopAppInfo) -> *const c_char; - pub fn g_desktop_app_info_get_generic_name(info: *mut GDesktopAppInfo) -> *const c_char; - pub fn g_desktop_app_info_get_is_hidden(info: *mut GDesktopAppInfo) -> gboolean; - pub fn g_desktop_app_info_get_keywords(info: *mut GDesktopAppInfo) -> *const *const c_char; - pub fn g_desktop_app_info_get_locale_string( - info: *mut GDesktopAppInfo, - key: *const c_char, - ) -> *mut c_char; - pub fn g_desktop_app_info_get_nodisplay(info: *mut GDesktopAppInfo) -> gboolean; - pub fn g_desktop_app_info_get_show_in( - info: *mut GDesktopAppInfo, - desktop_env: *const c_char, - ) -> gboolean; - pub fn g_desktop_app_info_get_startup_wm_class(info: *mut GDesktopAppInfo) -> *const c_char; - pub fn g_desktop_app_info_get_string( - info: *mut GDesktopAppInfo, - key: *const c_char, - ) -> *mut c_char; - #[cfg(feature = "v2_60")] - #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))] - pub fn g_desktop_app_info_get_string_list( - info: *mut GDesktopAppInfo, - key: *const c_char, - length: *mut size_t, - ) -> *mut *mut c_char; - pub fn g_desktop_app_info_has_key(info: *mut GDesktopAppInfo, key: *const c_char) -> gboolean; - pub fn g_desktop_app_info_launch_action( - info: *mut GDesktopAppInfo, - action_name: *const c_char, - launch_context: *mut GAppLaunchContext, - ); - pub fn g_desktop_app_info_launch_uris_as_manager( - appinfo: *mut GDesktopAppInfo, - uris: *mut glib::GList, - launch_context: *mut GAppLaunchContext, - spawn_flags: glib::GSpawnFlags, - user_setup: glib::GSpawnChildSetupFunc, - user_setup_data: gpointer, - pid_callback: GDesktopAppLaunchCallback, - pid_callback_data: gpointer, - error: *mut *mut glib::GError, - ) -> gboolean; - #[cfg(feature = "v2_58")] - #[cfg_attr(docsrs, doc(cfg(feature = "v2_58")))] - pub fn g_desktop_app_info_launch_uris_as_manager_with_fds( - appinfo: *mut GDesktopAppInfo, - uris: *mut glib::GList, - launch_context: *mut GAppLaunchContext, - spawn_flags: glib::GSpawnFlags, - user_setup: glib::GSpawnChildSetupFunc, - user_setup_data: gpointer, - pid_callback: GDesktopAppLaunchCallback, - pid_callback_data: gpointer, - stdin_fd: c_int, - stdout_fd: c_int, - stderr_fd: c_int, - error: *mut *mut glib::GError, - ) -> gboolean; - pub fn g_desktop_app_info_list_actions(info: *mut GDesktopAppInfo) -> *const *const c_char; - //========================================================================= // GEmblem //========================================================================= @@ -14932,54 +14475,6 @@ extern "C" { pub fn g_unix_fd_list_peek_fds(list: *mut GUnixFDList, length: *mut c_int) -> *const c_int; pub fn g_unix_fd_list_steal_fds(list: *mut GUnixFDList, length: *mut c_int) -> *mut c_int; - //========================================================================= - // GUnixFDMessage - //========================================================================= - pub fn g_unix_fd_message_get_type() -> GType; - pub fn g_unix_fd_message_new() -> *mut GSocketControlMessage; - pub fn g_unix_fd_message_new_with_fd_list( - fd_list: *mut GUnixFDList, - ) -> *mut GSocketControlMessage; - pub fn g_unix_fd_message_append_fd( - message: *mut GUnixFDMessage, - fd: c_int, - error: *mut *mut glib::GError, - ) -> gboolean; - pub fn g_unix_fd_message_get_fd_list(message: *mut GUnixFDMessage) -> *mut GUnixFDList; - pub fn g_unix_fd_message_steal_fds( - message: *mut GUnixFDMessage, - length: *mut c_int, - ) -> *mut c_int; - - //========================================================================= - // GUnixInputStream - //========================================================================= - pub fn g_unix_input_stream_get_type() -> GType; - pub fn g_unix_input_stream_new(fd: c_int, close_fd: gboolean) -> *mut GInputStream; - pub fn g_unix_input_stream_get_close_fd(stream: *mut GUnixInputStream) -> gboolean; - pub fn g_unix_input_stream_get_fd(stream: *mut GUnixInputStream) -> c_int; - pub fn g_unix_input_stream_set_close_fd(stream: *mut GUnixInputStream, close_fd: gboolean); - - //========================================================================= - // GUnixMountMonitor - //========================================================================= - pub fn g_unix_mount_monitor_get_type() -> GType; - pub fn g_unix_mount_monitor_new() -> *mut GUnixMountMonitor; - pub fn g_unix_mount_monitor_get() -> *mut GUnixMountMonitor; - pub fn g_unix_mount_monitor_set_rate_limit( - mount_monitor: *mut GUnixMountMonitor, - limit_msec: c_int, - ); - - //========================================================================= - // GUnixOutputStream - //========================================================================= - pub fn g_unix_output_stream_get_type() -> GType; - pub fn g_unix_output_stream_new(fd: c_int, close_fd: gboolean) -> *mut GOutputStream; - pub fn g_unix_output_stream_get_close_fd(stream: *mut GUnixOutputStream) -> gboolean; - pub fn g_unix_output_stream_get_fd(stream: *mut GUnixOutputStream) -> c_int; - pub fn g_unix_output_stream_set_close_fd(stream: *mut GUnixOutputStream, close_fd: gboolean); - //========================================================================= // GUnixSocketAddress //========================================================================= @@ -15491,15 +14986,6 @@ extern "C" { debug_enabled: gboolean, ); - //========================================================================= - // GDesktopAppInfoLookup - //========================================================================= - pub fn g_desktop_app_info_lookup_get_type() -> GType; - pub fn g_desktop_app_info_lookup_get_default_for_uri_scheme( - lookup: *mut GDesktopAppInfoLookup, - uri_scheme: *const c_char, - ) -> *mut GAppInfo; - //========================================================================= // GDrive //========================================================================= @@ -16594,12 +16080,6 @@ extern "C" { error: *mut *mut glib::GError, ) -> gboolean; - //========================================================================= - // GFileDescriptorBased - //========================================================================= - pub fn g_file_descriptor_based_get_type() -> GType; - pub fn g_file_descriptor_based_get_fd(fd_based: *mut GFileDescriptorBased) -> c_int; - //========================================================================= // GIcon //========================================================================= @@ -17385,63 +16865,5 @@ extern "C" { user_data: gpointer, error: *mut glib::GError, ); - pub fn g_unix_is_mount_path_system_internal(mount_path: *const c_char) -> gboolean; - pub fn g_unix_is_system_device_path(device_path: *const c_char) -> gboolean; - pub fn g_unix_is_system_fs_type(fs_type: *const c_char) -> gboolean; - pub fn g_unix_mount_at(mount_path: *const c_char, time_read: *mut u64) -> *mut GUnixMountEntry; - pub fn g_unix_mount_compare( - mount1: *mut GUnixMountEntry, - mount2: *mut GUnixMountEntry, - ) -> c_int; - pub fn g_unix_mount_copy(mount_entry: *mut GUnixMountEntry) -> *mut GUnixMountEntry; - #[cfg(feature = "v2_84")] - #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))] - pub fn g_unix_mount_entries_changed_since(time: u64) -> gboolean; - #[cfg(feature = "v2_84")] - #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))] - pub fn g_unix_mount_entries_get(time_read: *mut u64) -> *mut glib::GList; - #[cfg(feature = "v2_84")] - #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))] - pub fn g_unix_mount_entries_get_from_file( - table_path: *const c_char, - time_read_out: *mut u64, - n_entries_out: *mut size_t, - ) -> *mut *mut GUnixMountEntry; - pub fn g_unix_mount_for(file_path: *const c_char, time_read: *mut u64) -> *mut GUnixMountEntry; - pub fn g_unix_mount_free(mount_entry: *mut GUnixMountEntry); - pub fn g_unix_mount_get_device_path(mount_entry: *mut GUnixMountEntry) -> *const c_char; - pub fn g_unix_mount_get_fs_type(mount_entry: *mut GUnixMountEntry) -> *const c_char; - pub fn g_unix_mount_get_mount_path(mount_entry: *mut GUnixMountEntry) -> *const c_char; - #[cfg(feature = "v2_58")] - #[cfg_attr(docsrs, doc(cfg(feature = "v2_58")))] - pub fn g_unix_mount_get_options(mount_entry: *mut GUnixMountEntry) -> *const c_char; - #[cfg(feature = "v2_60")] - #[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))] - pub fn g_unix_mount_get_root_path(mount_entry: *mut GUnixMountEntry) -> *const c_char; - pub fn g_unix_mount_guess_can_eject(mount_entry: *mut GUnixMountEntry) -> gboolean; - pub fn g_unix_mount_guess_icon(mount_entry: *mut GUnixMountEntry) -> *mut GIcon; - pub fn g_unix_mount_guess_name(mount_entry: *mut GUnixMountEntry) -> *mut c_char; - pub fn g_unix_mount_guess_should_display(mount_entry: *mut GUnixMountEntry) -> gboolean; - pub fn g_unix_mount_guess_symbolic_icon(mount_entry: *mut GUnixMountEntry) -> *mut GIcon; - pub fn g_unix_mount_is_readonly(mount_entry: *mut GUnixMountEntry) -> gboolean; - pub fn g_unix_mount_is_system_internal(mount_entry: *mut GUnixMountEntry) -> gboolean; - pub fn g_unix_mount_points_changed_since(time: u64) -> gboolean; - pub fn g_unix_mount_points_get(time_read: *mut u64) -> *mut glib::GList; - #[cfg(feature = "v2_82")] - #[cfg_attr(docsrs, doc(cfg(feature = "v2_82")))] - pub fn g_unix_mount_points_get_from_file( - table_path: *const c_char, - time_read_out: *mut u64, - n_points_out: *mut size_t, - ) -> *mut *mut GUnixMountPoint; - pub fn g_unix_mounts_changed_since(time: u64) -> gboolean; - pub fn g_unix_mounts_get(time_read: *mut u64) -> *mut glib::GList; - #[cfg(feature = "v2_82")] - #[cfg_attr(docsrs, doc(cfg(feature = "v2_82")))] - pub fn g_unix_mounts_get_from_file( - table_path: *const c_char, - time_read_out: *mut u64, - n_entries_out: *mut size_t, - ) -> *mut *mut GUnixMountEntry; } diff --git a/gio/sys/tests/abi.rs b/gio/sys/tests/abi.rs index fd624564ba79..5b019541a2b7 100644 --- a/gio/sys/tests/abi.rs +++ b/gio/sys/tests/abi.rs @@ -14,7 +14,7 @@ use std::process::{Command, Stdio}; use std::str; use tempfile::Builder; -static PACKAGES: &[&str] = &["gio-2.0", "gio-unix-2.0"]; +static PACKAGES: &[&str] = &["gio-2.0"]; #[derive(Clone, Debug)] struct Compiler { @@ -796,20 +796,6 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[ alignment: align_of::(), }, ), - ( - "GDesktopAppInfoClass", - Layout { - size: size_of::(), - alignment: align_of::(), - }, - ), - ( - "GDesktopAppInfoLookupIface", - Layout { - size: size_of::(), - alignment: align_of::(), - }, - ), ( "GDriveIface", Layout { @@ -922,13 +908,6 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[ alignment: align_of::(), }, ), - ( - "GFileDescriptorBasedIface", - Layout { - size: size_of::(), - alignment: align_of::(), - }, - ), ( "GFileEnumerator", Layout { @@ -2133,48 +2112,6 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[ alignment: align_of::(), }, ), - ( - "GUnixFDMessage", - Layout { - size: size_of::(), - alignment: align_of::(), - }, - ), - ( - "GUnixFDMessageClass", - Layout { - size: size_of::(), - alignment: align_of::(), - }, - ), - ( - "GUnixInputStream", - Layout { - size: size_of::(), - alignment: align_of::(), - }, - ), - ( - "GUnixInputStreamClass", - Layout { - size: size_of::(), - alignment: align_of::(), - }, - ), - ( - "GUnixOutputStream", - Layout { - size: size_of::(), - alignment: align_of::(), - }, - ), - ( - "GUnixOutputStreamClass", - Layout { - size: size_of::(), - alignment: align_of::(), - }, - ), ( "GUnixSocketAddress", Layout { @@ -2458,10 +2395,6 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[ "G_DEBUG_CONTROLLER_EXTENSION_POINT_NAME", "gio-debug-controller", ), - ( - "G_DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME", - "gio-desktop-app-info-lookup", - ), ("G_DRIVE_IDENTIFIER_KIND_UNIX_DEVICE", "unix-device"), ("(guint) G_DRIVE_START_NONE", "0"), ("(gint) G_DRIVE_START_STOP_TYPE_MULTIDISK", "3"), diff --git a/gio/sys/tests/constant.c b/gio/sys/tests/constant.c index 5a013929b96c..7fea42930ea3 100644 --- a/gio/sys/tests/constant.c +++ b/gio/sys/tests/constant.c @@ -189,7 +189,6 @@ int main() { PRINT_CONSTANT((guint) G_DBUS_SUBTREE_FLAGS_DISPATCH_TO_UNENUMERATED_NODES); PRINT_CONSTANT((guint) G_DBUS_SUBTREE_FLAGS_NONE); PRINT_CONSTANT(G_DEBUG_CONTROLLER_EXTENSION_POINT_NAME); - PRINT_CONSTANT(G_DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME); PRINT_CONSTANT(G_DRIVE_IDENTIFIER_KIND_UNIX_DEVICE); PRINT_CONSTANT((guint) G_DRIVE_START_NONE); PRINT_CONSTANT((gint) G_DRIVE_START_STOP_TYPE_MULTIDISK); diff --git a/gio/sys/tests/layout.c b/gio/sys/tests/layout.c index 6f6a95ad4ced..d3544f3c1e40 100644 --- a/gio/sys/tests/layout.c +++ b/gio/sys/tests/layout.c @@ -92,8 +92,6 @@ int main() { printf("%s;%zu;%zu\n", "GDebugControllerDBus", sizeof(GDebugControllerDBus), alignof(GDebugControllerDBus)); printf("%s;%zu;%zu\n", "GDebugControllerDBusClass", sizeof(GDebugControllerDBusClass), alignof(GDebugControllerDBusClass)); printf("%s;%zu;%zu\n", "GDebugControllerInterface", sizeof(GDebugControllerInterface), alignof(GDebugControllerInterface)); - printf("%s;%zu;%zu\n", "GDesktopAppInfoClass", sizeof(GDesktopAppInfoClass), alignof(GDesktopAppInfoClass)); - printf("%s;%zu;%zu\n", "GDesktopAppInfoLookupIface", sizeof(GDesktopAppInfoLookupIface), alignof(GDesktopAppInfoLookupIface)); printf("%s;%zu;%zu\n", "GDriveIface", sizeof(GDriveIface), alignof(GDriveIface)); printf("%s;%zu;%zu\n", "GDriveStartFlags", sizeof(GDriveStartFlags), alignof(GDriveStartFlags)); printf("%s;%zu;%zu\n", "GDriveStartStopType", sizeof(GDriveStartStopType), alignof(GDriveStartStopType)); @@ -110,7 +108,6 @@ int main() { printf("%s;%zu;%zu\n", "GFileAttributeType", sizeof(GFileAttributeType), alignof(GFileAttributeType)); printf("%s;%zu;%zu\n", "GFileCopyFlags", sizeof(GFileCopyFlags), alignof(GFileCopyFlags)); printf("%s;%zu;%zu\n", "GFileCreateFlags", sizeof(GFileCreateFlags), alignof(GFileCreateFlags)); - printf("%s;%zu;%zu\n", "GFileDescriptorBasedIface", sizeof(GFileDescriptorBasedIface), alignof(GFileDescriptorBasedIface)); printf("%s;%zu;%zu\n", "GFileEnumerator", sizeof(GFileEnumerator), alignof(GFileEnumerator)); printf("%s;%zu;%zu\n", "GFileEnumeratorClass", sizeof(GFileEnumeratorClass), alignof(GFileEnumeratorClass)); printf("%s;%zu;%zu\n", "GFileIOStream", sizeof(GFileIOStream), alignof(GFileIOStream)); @@ -283,12 +280,6 @@ int main() { printf("%s;%zu;%zu\n", "GUnixCredentialsMessageClass", sizeof(GUnixCredentialsMessageClass), alignof(GUnixCredentialsMessageClass)); printf("%s;%zu;%zu\n", "GUnixFDList", sizeof(GUnixFDList), alignof(GUnixFDList)); printf("%s;%zu;%zu\n", "GUnixFDListClass", sizeof(GUnixFDListClass), alignof(GUnixFDListClass)); - printf("%s;%zu;%zu\n", "GUnixFDMessage", sizeof(GUnixFDMessage), alignof(GUnixFDMessage)); - printf("%s;%zu;%zu\n", "GUnixFDMessageClass", sizeof(GUnixFDMessageClass), alignof(GUnixFDMessageClass)); - printf("%s;%zu;%zu\n", "GUnixInputStream", sizeof(GUnixInputStream), alignof(GUnixInputStream)); - printf("%s;%zu;%zu\n", "GUnixInputStreamClass", sizeof(GUnixInputStreamClass), alignof(GUnixInputStreamClass)); - printf("%s;%zu;%zu\n", "GUnixOutputStream", sizeof(GUnixOutputStream), alignof(GUnixOutputStream)); - printf("%s;%zu;%zu\n", "GUnixOutputStreamClass", sizeof(GUnixOutputStreamClass), alignof(GUnixOutputStreamClass)); printf("%s;%zu;%zu\n", "GUnixSocketAddress", sizeof(GUnixSocketAddress), alignof(GUnixSocketAddress)); printf("%s;%zu;%zu\n", "GUnixSocketAddressClass", sizeof(GUnixSocketAddressClass), alignof(GUnixSocketAddressClass)); printf("%s;%zu;%zu\n", "GUnixSocketAddressType", sizeof(GUnixSocketAddressType), alignof(GUnixSocketAddressType)); diff --git a/gio/sys/versions.txt b/gio/sys/versions.txt index ef84c0f9c835..b7ea734b9032 100644 --- a/gio/sys/versions.txt +++ b/gio/sys/versions.txt @@ -1,2 +1,2 @@ Generated by gir (https://github.com/gtk-rs/gir @ c9947f8f47b6) -from gir-files (https://github.com/gtk-rs/gir-files @ 1490bcc19dc8) +from gir-files (https://github.com/gtk-rs/gir-files @ 0885719c0947) diff --git a/glib/gobject-sys/versions.txt b/glib/gobject-sys/versions.txt index ef84c0f9c835..b7ea734b9032 100644 --- a/glib/gobject-sys/versions.txt +++ b/glib/gobject-sys/versions.txt @@ -1,2 +1,2 @@ Generated by gir (https://github.com/gtk-rs/gir @ c9947f8f47b6) -from gir-files (https://github.com/gtk-rs/gir-files @ 1490bcc19dc8) +from gir-files (https://github.com/gtk-rs/gir-files @ 0885719c0947) diff --git a/glib/src/auto/enums.rs b/glib/src/auto/enums.rs index 32d9d49a56d2..adbd155be22e 100644 --- a/glib/src/auto/enums.rs +++ b/glib/src/auto/enums.rs @@ -978,6 +978,8 @@ pub enum UnicodeBreakType { #[cfg_attr(docsrs, doc(cfg(feature = "v2_80")))] #[doc(alias = "G_UNICODE_BREAK_VIRAMA")] Virama, + #[doc(alias = "G_UNICODE_BREAK_UNAMBIGUOUS_HYPHEN")] + UnambiguousHyphen, #[doc(hidden)] __Unknown(i32), } @@ -1041,6 +1043,7 @@ impl IntoGlib for UnicodeBreakType { Self::ViramaFinal => ffi::G_UNICODE_BREAK_VIRAMA_FINAL, #[cfg(feature = "v2_80")] Self::Virama => ffi::G_UNICODE_BREAK_VIRAMA, + Self::UnambiguousHyphen => ffi::G_UNICODE_BREAK_UNAMBIGUOUS_HYPHEN, Self::__Unknown(value) => value, } } @@ -1103,6 +1106,7 @@ impl FromGlib for UnicodeBreakType { ffi::G_UNICODE_BREAK_VIRAMA_FINAL => Self::ViramaFinal, #[cfg(feature = "v2_80")] ffi::G_UNICODE_BREAK_VIRAMA => Self::Virama, + ffi::G_UNICODE_BREAK_UNAMBIGUOUS_HYPHEN => Self::UnambiguousHyphen, value => Self::__Unknown(value), } } @@ -1542,6 +1546,14 @@ pub enum UnicodeScript { #[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))] #[doc(alias = "G_UNICODE_SCRIPT_OL_ONAL")] OlOnal, + #[doc(alias = "G_UNICODE_SCRIPT_SIDETIC")] + Sidetic, + #[doc(alias = "G_UNICODE_SCRIPT_TOLONG_SIKI")] + TolongSiki, + #[doc(alias = "G_UNICODE_SCRIPT_TAI_YO")] + TaiYo, + #[doc(alias = "G_UNICODE_SCRIPT_BERIA_ERFE")] + BeriaErfe, #[doc(hidden)] __Unknown(i32), } @@ -1752,6 +1764,10 @@ impl IntoGlib for UnicodeScript { Self::KiratRai => ffi::G_UNICODE_SCRIPT_KIRAT_RAI, #[cfg(feature = "v2_84")] Self::OlOnal => ffi::G_UNICODE_SCRIPT_OL_ONAL, + Self::Sidetic => ffi::G_UNICODE_SCRIPT_SIDETIC, + Self::TolongSiki => ffi::G_UNICODE_SCRIPT_TOLONG_SIKI, + Self::TaiYo => ffi::G_UNICODE_SCRIPT_TAI_YO, + Self::BeriaErfe => ffi::G_UNICODE_SCRIPT_BERIA_ERFE, Self::__Unknown(value) => value, } } @@ -1949,6 +1965,10 @@ impl FromGlib for UnicodeScript { ffi::G_UNICODE_SCRIPT_KIRAT_RAI => Self::KiratRai, #[cfg(feature = "v2_84")] ffi::G_UNICODE_SCRIPT_OL_ONAL => Self::OlOnal, + ffi::G_UNICODE_SCRIPT_SIDETIC => Self::Sidetic, + ffi::G_UNICODE_SCRIPT_TOLONG_SIKI => Self::TolongSiki, + ffi::G_UNICODE_SCRIPT_TAI_YO => Self::TaiYo, + ffi::G_UNICODE_SCRIPT_BERIA_ERFE => Self::BeriaErfe, value => Self::__Unknown(value), } } diff --git a/glib/src/auto/versions.txt b/glib/src/auto/versions.txt index ef84c0f9c835..b7ea734b9032 100644 --- a/glib/src/auto/versions.txt +++ b/glib/src/auto/versions.txt @@ -1,2 +1,2 @@ Generated by gir (https://github.com/gtk-rs/gir @ c9947f8f47b6) -from gir-files (https://github.com/gtk-rs/gir-files @ 1490bcc19dc8) +from gir-files (https://github.com/gtk-rs/gir-files @ 0885719c0947) diff --git a/glib/sys/src/lib.rs b/glib/sys/src/lib.rs index bcd5b8e37781..7465b3b896ee 100644 --- a/glib/sys/src/lib.rs +++ b/glib/sys/src/lib.rs @@ -439,6 +439,7 @@ pub const G_UNICODE_BREAK_AKSARA_PRE_BASE: GUnicodeBreakType = 44; pub const G_UNICODE_BREAK_AKSARA_START: GUnicodeBreakType = 45; pub const G_UNICODE_BREAK_VIRAMA_FINAL: GUnicodeBreakType = 46; pub const G_UNICODE_BREAK_VIRAMA: GUnicodeBreakType = 47; +pub const G_UNICODE_BREAK_UNAMBIGUOUS_HYPHEN: GUnicodeBreakType = 48; pub type GUnicodeScript = c_int; pub const G_UNICODE_SCRIPT_INVALID_CODE: GUnicodeScript = -1; @@ -614,6 +615,10 @@ pub const G_UNICODE_SCRIPT_SUNUWAR: GUnicodeScript = 168; pub const G_UNICODE_SCRIPT_GURUNG_KHEMA: GUnicodeScript = 169; pub const G_UNICODE_SCRIPT_KIRAT_RAI: GUnicodeScript = 170; pub const G_UNICODE_SCRIPT_OL_ONAL: GUnicodeScript = 171; +pub const G_UNICODE_SCRIPT_SIDETIC: GUnicodeScript = 172; +pub const G_UNICODE_SCRIPT_TOLONG_SIKI: GUnicodeScript = 173; +pub const G_UNICODE_SCRIPT_TAI_YO: GUnicodeScript = 174; +pub const G_UNICODE_SCRIPT_BERIA_ERFE: GUnicodeScript = 175; pub type GUnicodeType = c_int; pub const G_UNICODE_CONTROL: GUnicodeType = 0; @@ -3169,6 +3174,11 @@ extern "C" { //========================================================================= pub fn g_bytes_get_type() -> GType; pub fn g_bytes_new(data: gconstpointer, size: size_t) -> *mut GBytes; + pub fn g_bytes_new_from_bytes( + bytes: *mut GBytes, + offset: size_t, + length: size_t, + ) -> *mut GBytes; pub fn g_bytes_new_static(data: gconstpointer, size: size_t) -> *mut GBytes; pub fn g_bytes_new_take(data: gpointer, size: size_t) -> *mut GBytes; pub fn g_bytes_new_with_free_func( @@ -3190,11 +3200,6 @@ extern "C" { ) -> gconstpointer; pub fn g_bytes_get_size(bytes: *mut GBytes) -> size_t; pub fn g_bytes_hash(bytes: gconstpointer) -> c_uint; - pub fn g_bytes_new_from_bytes( - bytes: *mut GBytes, - offset: size_t, - length: size_t, - ) -> *mut GBytes; pub fn g_bytes_ref(bytes: *mut GBytes) -> *mut GBytes; pub fn g_bytes_unref(bytes: *mut GBytes); pub fn g_bytes_unref_to_array(bytes: *mut GBytes) -> *mut GByteArray; diff --git a/glib/sys/tests/abi.rs b/glib/sys/tests/abi.rs index a108ec40fe20..4b5856264169 100644 --- a/glib/sys/tests/abi.rs +++ b/glib/sys/tests/abi.rs @@ -1589,6 +1589,7 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[ ("(gint) G_UNICODE_BREAK_SPACE", "9"), ("(gint) G_UNICODE_BREAK_SURROGATE", "4"), ("(gint) G_UNICODE_BREAK_SYMBOL", "22"), + ("(gint) G_UNICODE_BREAK_UNAMBIGUOUS_HYPHEN", "48"), ("(gint) G_UNICODE_BREAK_UNKNOWN", "28"), ("(gint) G_UNICODE_BREAK_VIRAMA", "47"), ("(gint) G_UNICODE_BREAK_VIRAMA_FINAL", "46"), @@ -1630,6 +1631,7 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[ ("(gint) G_UNICODE_SCRIPT_BASSA_VAH", "103"), ("(gint) G_UNICODE_SCRIPT_BATAK", "93"), ("(gint) G_UNICODE_SCRIPT_BENGALI", "4"), + ("(gint) G_UNICODE_SCRIPT_BERIA_ERFE", "175"), ("(gint) G_UNICODE_SCRIPT_BHAIKSUKI", "133"), ("(gint) G_UNICODE_SCRIPT_BOPOMOFO", "5"), ("(gint) G_UNICODE_SCRIPT_BRAHMI", "94"), @@ -1756,6 +1758,7 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[ ("(gint) G_UNICODE_SCRIPT_SHARADA", "100"), ("(gint) G_UNICODE_SCRIPT_SHAVIAN", "50"), ("(gint) G_UNICODE_SCRIPT_SIDDHAM", "123"), + ("(gint) G_UNICODE_SCRIPT_SIDETIC", "172"), ("(gint) G_UNICODE_SCRIPT_SIGNWRITING", "131"), ("(gint) G_UNICODE_SCRIPT_SINHALA", "33"), ("(gint) G_UNICODE_SCRIPT_SOGDIAN", "148"), @@ -1770,6 +1773,7 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[ ("(gint) G_UNICODE_SCRIPT_TAI_LE", "52"), ("(gint) G_UNICODE_SCRIPT_TAI_THAM", "91"), ("(gint) G_UNICODE_SCRIPT_TAI_VIET", "92"), + ("(gint) G_UNICODE_SCRIPT_TAI_YO", "174"), ("(gint) G_UNICODE_SCRIPT_TAKRI", "102"), ("(gint) G_UNICODE_SCRIPT_TAMIL", "35"), ("(gint) G_UNICODE_SCRIPT_TANGSA", "159"), @@ -1781,6 +1785,7 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[ ("(gint) G_UNICODE_SCRIPT_TIFINAGH", "57"), ("(gint) G_UNICODE_SCRIPT_TIRHUTA", "124"), ("(gint) G_UNICODE_SCRIPT_TODHRI", "165"), + ("(gint) G_UNICODE_SCRIPT_TOLONG_SIKI", "173"), ("(gint) G_UNICODE_SCRIPT_TOTO", "160"), ("(gint) G_UNICODE_SCRIPT_TULU_TIGALARI", "167"), ("(gint) G_UNICODE_SCRIPT_UGARITIC", "53"), diff --git a/glib/sys/tests/constant.c b/glib/sys/tests/constant.c index b51a93536637..7e6edfac1bf0 100644 --- a/glib/sys/tests/constant.c +++ b/glib/sys/tests/constant.c @@ -570,6 +570,7 @@ int main() { PRINT_CONSTANT((gint) G_UNICODE_BREAK_SPACE); PRINT_CONSTANT((gint) G_UNICODE_BREAK_SURROGATE); PRINT_CONSTANT((gint) G_UNICODE_BREAK_SYMBOL); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_UNAMBIGUOUS_HYPHEN); PRINT_CONSTANT((gint) G_UNICODE_BREAK_UNKNOWN); PRINT_CONSTANT((gint) G_UNICODE_BREAK_VIRAMA); PRINT_CONSTANT((gint) G_UNICODE_BREAK_VIRAMA_FINAL); @@ -611,6 +612,7 @@ int main() { PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_BASSA_VAH); PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_BATAK); PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_BENGALI); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_BERIA_ERFE); PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_BHAIKSUKI); PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_BOPOMOFO); PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_BRAHMI); @@ -737,6 +739,7 @@ int main() { PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_SHARADA); PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_SHAVIAN); PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_SIDDHAM); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_SIDETIC); PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_SIGNWRITING); PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_SINHALA); PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_SOGDIAN); @@ -751,6 +754,7 @@ int main() { PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_TAI_LE); PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_TAI_THAM); PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_TAI_VIET); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_TAI_YO); PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_TAKRI); PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_TAMIL); PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_TANGSA); @@ -762,6 +766,7 @@ int main() { PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_TIFINAGH); PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_TIRHUTA); PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_TODHRI); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_TOLONG_SIKI); PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_TOTO); PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_TULU_TIGALARI); PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_UGARITIC); diff --git a/glib/sys/versions.txt b/glib/sys/versions.txt index ef84c0f9c835..b7ea734b9032 100644 --- a/glib/sys/versions.txt +++ b/glib/sys/versions.txt @@ -1,2 +1,2 @@ Generated by gir (https://github.com/gtk-rs/gir @ c9947f8f47b6) -from gir-files (https://github.com/gtk-rs/gir-files @ 1490bcc19dc8) +from gir-files (https://github.com/gtk-rs/gir-files @ 0885719c0947) diff --git a/graphene/src/auto/versions.txt b/graphene/src/auto/versions.txt index ef84c0f9c835..b7ea734b9032 100644 --- a/graphene/src/auto/versions.txt +++ b/graphene/src/auto/versions.txt @@ -1,2 +1,2 @@ Generated by gir (https://github.com/gtk-rs/gir @ c9947f8f47b6) -from gir-files (https://github.com/gtk-rs/gir-files @ 1490bcc19dc8) +from gir-files (https://github.com/gtk-rs/gir-files @ 0885719c0947) diff --git a/graphene/sys/versions.txt b/graphene/sys/versions.txt index ef84c0f9c835..b7ea734b9032 100644 --- a/graphene/sys/versions.txt +++ b/graphene/sys/versions.txt @@ -1,2 +1,2 @@ Generated by gir (https://github.com/gtk-rs/gir @ c9947f8f47b6) -from gir-files (https://github.com/gtk-rs/gir-files @ 1490bcc19dc8) +from gir-files (https://github.com/gtk-rs/gir-files @ 0885719c0947) diff --git a/pango/src/auto/versions.txt b/pango/src/auto/versions.txt index ef84c0f9c835..b7ea734b9032 100644 --- a/pango/src/auto/versions.txt +++ b/pango/src/auto/versions.txt @@ -1,2 +1,2 @@ Generated by gir (https://github.com/gtk-rs/gir @ c9947f8f47b6) -from gir-files (https://github.com/gtk-rs/gir-files @ 1490bcc19dc8) +from gir-files (https://github.com/gtk-rs/gir-files @ 0885719c0947) diff --git a/pango/sys/versions.txt b/pango/sys/versions.txt index ef84c0f9c835..b7ea734b9032 100644 --- a/pango/sys/versions.txt +++ b/pango/sys/versions.txt @@ -1,2 +1,2 @@ Generated by gir (https://github.com/gtk-rs/gir @ c9947f8f47b6) -from gir-files (https://github.com/gtk-rs/gir-files @ 1490bcc19dc8) +from gir-files (https://github.com/gtk-rs/gir-files @ 0885719c0947) diff --git a/pangocairo/src/auto/versions.txt b/pangocairo/src/auto/versions.txt index ef84c0f9c835..b7ea734b9032 100644 --- a/pangocairo/src/auto/versions.txt +++ b/pangocairo/src/auto/versions.txt @@ -1,2 +1,2 @@ Generated by gir (https://github.com/gtk-rs/gir @ c9947f8f47b6) -from gir-files (https://github.com/gtk-rs/gir-files @ 1490bcc19dc8) +from gir-files (https://github.com/gtk-rs/gir-files @ 0885719c0947) diff --git a/pangocairo/sys/versions.txt b/pangocairo/sys/versions.txt index ef84c0f9c835..b7ea734b9032 100644 --- a/pangocairo/sys/versions.txt +++ b/pangocairo/sys/versions.txt @@ -1,2 +1,2 @@ Generated by gir (https://github.com/gtk-rs/gir @ c9947f8f47b6) -from gir-files (https://github.com/gtk-rs/gir-files @ 1490bcc19dc8) +from gir-files (https://github.com/gtk-rs/gir-files @ 0885719c0947)