Skip to content

Commit

Permalink
Regenerate with latest gir
Browse files Browse the repository at this point in the history
  • Loading branch information
bilelmoussaoui committed Oct 18, 2024
1 parent 3bb07e1 commit 63ac98e
Show file tree
Hide file tree
Showing 116 changed files with 116 additions and 636 deletions.
2 changes: 1 addition & 1 deletion gdk4-wayland/src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
Generated by gir (https://github.com/gtk-rs/gir @ eff839d4745d)
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
2 changes: 1 addition & 1 deletion gdk4-wayland/sys/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
Generated by gir (https://github.com/gtk-rs/gir @ eff839d4745d)
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
2 changes: 1 addition & 1 deletion gdk4-win32/src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
Generated by gir (https://github.com/gtk-rs/gir @ eff839d4745d)
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
2 changes: 1 addition & 1 deletion gdk4-win32/sys/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
Generated by gir (https://github.com/gtk-rs/gir @ eff839d4745d)
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
2 changes: 1 addition & 1 deletion gdk4-x11/src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
Generated by gir (https://github.com/gtk-rs/gir @ eff839d4745d)
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
2 changes: 1 addition & 1 deletion gdk4-x11/sys/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
Generated by gir (https://github.com/gtk-rs/gir @ eff839d4745d)
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
7 changes: 1 addition & 6 deletions gdk4/src/auto/app_launch_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,7 @@ impl AppLaunchContext {
pub const NONE: Option<&'static AppLaunchContext> = None;
}

mod sealed {
pub trait Sealed {}
impl<T: super::IsA<super::AppLaunchContext>> Sealed for T {}
}

pub trait GdkAppLaunchContextExt: IsA<AppLaunchContext> + sealed::Sealed + 'static {
pub trait GdkAppLaunchContextExt: IsA<AppLaunchContext> + 'static {
#[doc(alias = "gdk_app_launch_context_get_display")]
#[doc(alias = "get_display")]
fn display(&self) -> Display {
Expand Down
7 changes: 1 addition & 6 deletions gdk4/src/auto/content_provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,7 @@ impl ContentProvider {
}
}

mod sealed {
pub trait Sealed {}
impl<T: super::IsA<super::ContentProvider>> Sealed for T {}
}

pub trait ContentProviderExt: IsA<ContentProvider> + sealed::Sealed + 'static {
pub trait ContentProviderExt: IsA<ContentProvider> + 'static {
#[doc(alias = "gdk_content_provider_content_changed")]
fn content_changed(&self) {
unsafe {
Expand Down
7 changes: 1 addition & 6 deletions gdk4/src/auto/device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,7 @@ impl std::fmt::Display for Device {
}
}

mod sealed {
pub trait Sealed {}
impl<T: super::IsA<super::Device>> Sealed for T {}
}

pub trait DeviceExt: IsA<Device> + sealed::Sealed + 'static {
pub trait DeviceExt: IsA<Device> + 'static {
#[doc(alias = "gdk_device_get_caps_lock_state")]
#[doc(alias = "get_caps_lock_state")]
#[doc(alias = "caps-lock-state")]
Expand Down
7 changes: 1 addition & 6 deletions gdk4/src/auto/device_pad.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,7 @@ impl DevicePad {
pub const NONE: Option<&'static DevicePad> = None;
}

mod sealed {
pub trait Sealed {}
impl<T: super::IsA<super::DevicePad>> Sealed for T {}
}

pub trait DevicePadExt: IsA<DevicePad> + sealed::Sealed + 'static {
pub trait DevicePadExt: IsA<DevicePad> + 'static {
#[doc(alias = "gdk_device_pad_get_feature_group")]
#[doc(alias = "get_feature_group")]
fn feature_group(&self, feature: DevicePadFeature, feature_idx: i32) -> i32 {
Expand Down
7 changes: 1 addition & 6 deletions gdk4/src/auto/display.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,7 @@ impl std::fmt::Display for Display {
}
}

mod sealed {
pub trait Sealed {}
impl<T: super::IsA<super::Display>> Sealed for T {}
}

pub trait DisplayExt: IsA<Display> + sealed::Sealed + 'static {
pub trait DisplayExt: IsA<Display> + 'static {
#[doc(alias = "gdk_display_beep")]
fn beep(&self) {
unsafe {
Expand Down
7 changes: 1 addition & 6 deletions gdk4/src/auto/drag.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,7 @@ impl Drag {
}
}

mod sealed {
pub trait Sealed {}
impl<T: super::IsA<super::Drag>> Sealed for T {}
}

pub trait DragExt: IsA<Drag> + sealed::Sealed + 'static {
pub trait DragExt: IsA<Drag> + 'static {
#[doc(alias = "gdk_drag_drop_done")]
fn drop_done(&self, success: bool) {
unsafe {
Expand Down
7 changes: 1 addition & 6 deletions gdk4/src/auto/drag_surface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,7 @@ impl DragSurface {
pub const NONE: Option<&'static DragSurface> = None;
}

mod sealed {
pub trait Sealed {}
impl<T: super::IsA<super::DragSurface>> Sealed for T {}
}

pub trait DragSurfaceExt: IsA<DragSurface> + sealed::Sealed + 'static {
pub trait DragSurfaceExt: IsA<DragSurface> + 'static {
#[doc(alias = "gdk_drag_surface_present")]
fn present(&self, width: i32, height: i32) -> bool {
unsafe {
Expand Down
7 changes: 1 addition & 6 deletions gdk4/src/auto/draw_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,7 @@ impl DrawContext {
pub const NONE: Option<&'static DrawContext> = None;
}

mod sealed {
pub trait Sealed {}
impl<T: super::IsA<super::DrawContext>> Sealed for T {}
}

pub trait DrawContextExt: IsA<DrawContext> + sealed::Sealed + 'static {
pub trait DrawContextExt: IsA<DrawContext> + 'static {
#[doc(alias = "gdk_draw_context_begin_frame")]
fn begin_frame(&self, region: &cairo::Region) {
unsafe {
Expand Down
7 changes: 1 addition & 6 deletions gdk4/src/auto/gl_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,7 @@ impl GLContext {
}
}

mod sealed {
pub trait Sealed {}
impl<T: super::IsA<super::GLContext>> Sealed for T {}
}

pub trait GLContextExt: IsA<GLContext> + sealed::Sealed + 'static {
pub trait GLContextExt: IsA<GLContext> + 'static {
#[cfg(feature = "v4_6")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_6")))]
#[doc(alias = "gdk_gl_context_get_allowed_apis")]
Expand Down
7 changes: 1 addition & 6 deletions gdk4/src/auto/monitor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,7 @@ impl Monitor {
pub const NONE: Option<&'static Monitor> = None;
}

mod sealed {
pub trait Sealed {}
impl<T: super::IsA<super::Monitor>> Sealed for T {}
}

pub trait MonitorExt: IsA<Monitor> + sealed::Sealed + 'static {
pub trait MonitorExt: IsA<Monitor> + 'static {
#[doc(alias = "gdk_monitor_get_connector")]
#[doc(alias = "get_connector")]
fn connector(&self) -> Option<glib::GString> {
Expand Down
7 changes: 1 addition & 6 deletions gdk4/src/auto/paintable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,7 @@ impl Paintable {
}
}

mod sealed {
pub trait Sealed {}
impl<T: super::IsA<super::Paintable>> Sealed for T {}
}

pub trait PaintableExt: IsA<Paintable> + sealed::Sealed + 'static {
pub trait PaintableExt: IsA<Paintable> + 'static {
#[doc(alias = "gdk_paintable_compute_concrete_size")]
fn compute_concrete_size(
&self,
Expand Down
7 changes: 1 addition & 6 deletions gdk4/src/auto/popup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,7 @@ impl Popup {
pub const NONE: Option<&'static Popup> = None;
}

mod sealed {
pub trait Sealed {}
impl<T: super::IsA<super::Popup>> Sealed for T {}
}

pub trait PopupExt: IsA<Popup> + sealed::Sealed + 'static {
pub trait PopupExt: IsA<Popup> + 'static {
#[doc(alias = "gdk_popup_get_autohide")]
#[doc(alias = "get_autohide")]
#[doc(alias = "autohide")]
Expand Down
7 changes: 1 addition & 6 deletions gdk4/src/auto/seat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,7 @@ impl Seat {
pub const NONE: Option<&'static Seat> = None;
}

mod sealed {
pub trait Sealed {}
impl<T: super::IsA<super::Seat>> Sealed for T {}
}

pub trait SeatExt: IsA<Seat> + sealed::Sealed + 'static {
pub trait SeatExt: IsA<Seat> + 'static {
#[doc(alias = "gdk_seat_get_capabilities")]
#[doc(alias = "get_capabilities")]
fn capabilities(&self) -> SeatCapabilities {
Expand Down
7 changes: 1 addition & 6 deletions gdk4/src/auto/surface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,7 @@ impl Surface {
}
}

mod sealed {
pub trait Sealed {}
impl<T: super::IsA<super::Surface>> Sealed for T {}
}

pub trait SurfaceExt: IsA<Surface> + sealed::Sealed + 'static {
pub trait SurfaceExt: IsA<Surface> + 'static {
#[doc(alias = "gdk_surface_beep")]
fn beep(&self) {
unsafe {
Expand Down
7 changes: 1 addition & 6 deletions gdk4/src/auto/texture.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,7 @@ impl Texture {
unsafe impl Send for Texture {}
unsafe impl Sync for Texture {}

mod sealed {
pub trait Sealed {}
impl<T: super::IsA<super::Texture>> Sealed for T {}
}

pub trait TextureExt: IsA<Texture> + sealed::Sealed + 'static {
pub trait TextureExt: IsA<Texture> + 'static {
#[cfg(feature = "v4_10")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_10")))]
#[doc(alias = "gdk_texture_get_format")]
Expand Down
7 changes: 1 addition & 6 deletions gdk4/src/auto/toplevel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,7 @@ impl Toplevel {
pub const NONE: Option<&'static Toplevel> = None;
}

mod sealed {
pub trait Sealed {}
impl<T: super::IsA<super::Toplevel>> Sealed for T {}
}

pub trait ToplevelExt: IsA<Toplevel> + sealed::Sealed + 'static {
pub trait ToplevelExt: IsA<Toplevel> + 'static {
#[doc(alias = "gdk_toplevel_begin_move")]
fn begin_move(&self, device: &impl IsA<Device>, button: i32, x: f64, y: f64, timestamp: u32) {
unsafe {
Expand Down
2 changes: 1 addition & 1 deletion gdk4/src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
Generated by gir (https://github.com/gtk-rs/gir @ eff839d4745d)
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
2 changes: 1 addition & 1 deletion gdk4/sys/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
Generated by gir (https://github.com/gtk-rs/gir @ eff839d4745d)
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
7 changes: 1 addition & 6 deletions gsk4/src/auto/renderer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,7 @@ impl Renderer {
}
}

mod sealed {
pub trait Sealed {}
impl<T: super::IsA<super::Renderer>> Sealed for T {}
}

pub trait GskRendererExt: IsA<Renderer> + sealed::Sealed + 'static {
pub trait GskRendererExt: IsA<Renderer> + 'static {
#[doc(alias = "gsk_renderer_get_surface")]
#[doc(alias = "get_surface")]
fn surface(&self) -> Option<gdk::Surface> {
Expand Down
2 changes: 1 addition & 1 deletion gsk4/src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
Generated by gir (https://github.com/gtk-rs/gir @ eff839d4745d)
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
2 changes: 1 addition & 1 deletion gsk4/sys/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
Generated by gir (https://github.com/gtk-rs/gir @ eff839d4745d)
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
7 changes: 1 addition & 6 deletions gtk4/src/auto/accessible.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,7 @@ impl Accessible {
pub const NONE: Option<&'static Accessible> = None;
}

mod sealed {
pub trait Sealed {}
impl<T: super::IsA<super::Accessible>> Sealed for T {}
}

pub trait AccessibleExt: IsA<Accessible> + sealed::Sealed + 'static {
pub trait AccessibleExt: IsA<Accessible> + 'static {
#[cfg(feature = "v4_14")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_14")))]
#[doc(alias = "gtk_accessible_announce")]
Expand Down
7 changes: 1 addition & 6 deletions gtk4/src/auto/accessible_range.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ impl AccessibleRange {
pub const NONE: Option<&'static AccessibleRange> = None;
}

mod sealed {
pub trait Sealed {}
impl<T: super::IsA<super::AccessibleRange>> Sealed for T {}
}

pub trait AccessibleRangeExt: IsA<AccessibleRange> + sealed::Sealed + 'static {}
pub trait AccessibleRangeExt: IsA<AccessibleRange> + 'static {}

impl<O: IsA<AccessibleRange>> AccessibleRangeExt for O {}
7 changes: 1 addition & 6 deletions gtk4/src/auto/accessible_text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,7 @@ impl AccessibleText {
pub const NONE: Option<&'static AccessibleText> = None;
}

mod sealed {
pub trait Sealed {}
impl<T: super::IsA<super::AccessibleText>> Sealed for T {}
}

pub trait AccessibleTextExt: IsA<AccessibleText> + sealed::Sealed + 'static {
pub trait AccessibleTextExt: IsA<AccessibleText> + 'static {
#[doc(alias = "gtk_accessible_text_update_caret_position")]
fn update_caret_position(&self) {
unsafe {
Expand Down
7 changes: 1 addition & 6 deletions gtk4/src/auto/actionable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,7 @@ impl Actionable {
pub const NONE: Option<&'static Actionable> = None;
}

mod sealed {
pub trait Sealed {}
impl<T: super::IsA<super::Actionable>> Sealed for T {}
}

pub trait ActionableExt: IsA<Actionable> + sealed::Sealed + 'static {
pub trait ActionableExt: IsA<Actionable> + 'static {
#[doc(alias = "gtk_actionable_get_action_name")]
#[doc(alias = "get_action_name")]
#[doc(alias = "action-name")]
Expand Down
7 changes: 1 addition & 6 deletions gtk4/src/auto/adjustment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,7 @@ impl AdjustmentBuilder {
}
}

mod sealed {
pub trait Sealed {}
impl<T: super::IsA<super::Adjustment>> Sealed for T {}
}

pub trait AdjustmentExt: IsA<Adjustment> + sealed::Sealed + 'static {
pub trait AdjustmentExt: IsA<Adjustment> + 'static {
#[doc(alias = "gtk_adjustment_clamp_page")]
fn clamp_page(&self, lower: f64, upper: f64) {
unsafe {
Expand Down
7 changes: 1 addition & 6 deletions gtk4/src/auto/app_chooser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,7 @@ impl AppChooser {
pub const NONE: Option<&'static AppChooser> = None;
}

mod sealed {
pub trait Sealed {}
impl<T: super::IsA<super::AppChooser>> Sealed for T {}
}

pub trait AppChooserExt: IsA<AppChooser> + sealed::Sealed + 'static {
pub trait AppChooserExt: IsA<AppChooser> + 'static {
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
#[allow(deprecated)]
#[doc(alias = "gtk_app_chooser_get_app_info")]
Expand Down
7 changes: 1 addition & 6 deletions gtk4/src/auto/application.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,7 @@ impl ApplicationBuilder {
}
}

mod sealed {
pub trait Sealed {}
impl<T: super::IsA<super::Application>> Sealed for T {}
}

pub trait GtkApplicationExt: IsA<Application> + sealed::Sealed + 'static {
pub trait GtkApplicationExt: IsA<Application> + 'static {
#[doc(alias = "gtk_application_add_window")]
fn add_window(&self, window: &impl IsA<Window>) {
unsafe {
Expand Down
7 changes: 1 addition & 6 deletions gtk4/src/auto/application_window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -421,12 +421,7 @@ impl ApplicationWindowBuilder {
}
}

mod sealed {
pub trait Sealed {}
impl<T: super::IsA<super::ApplicationWindow>> Sealed for T {}
}

pub trait ApplicationWindowExt: IsA<ApplicationWindow> + sealed::Sealed + 'static {
pub trait ApplicationWindowExt: IsA<ApplicationWindow> + 'static {
#[doc(alias = "gtk_application_window_get_help_overlay")]
#[doc(alias = "get_help_overlay")]
fn help_overlay(&self) -> Option<ShortcutsWindow> {
Expand Down
Loading

0 comments on commit 63ac98e

Please sign in to comment.