diff --git a/gdk4-win32/src/lib.rs b/gdk4-win32/src/lib.rs index 205938b07e23..6a55692811cd 100644 --- a/gdk4-win32/src/lib.rs +++ b/gdk4-win32/src/lib.rs @@ -4,6 +4,7 @@ #![allow(deprecated)] #![cfg_attr(docsrs, feature(doc_cfg))] +#[cfg(not(all(feature = "win32", windows)))] use std::ffi::c_void; pub use gdk; diff --git a/gdk4-win32/src/win32_hcursor.rs b/gdk4-win32/src/win32_hcursor.rs index a93cc2d2e12f..0b6d8bfd92a1 100644 --- a/gdk4-win32/src/win32_hcursor.rs +++ b/gdk4-win32/src/win32_hcursor.rs @@ -25,6 +25,6 @@ impl Win32HCursor { pub fn handle(&self) -> HCURSOR { let ptr: NonNull = ObjectExt::property(self, "handle"); - HCURSOR(ptr.as_ptr() as *mut c_void) + HCURSOR(ptr.as_ptr()) } } diff --git a/gdk4/src/subclass/content_provider.rs b/gdk4/src/subclass/content_provider.rs index a9a720632178..c595c173c023 100644 --- a/gdk4/src/subclass/content_provider.rs +++ b/gdk4/src/subclass/content_provider.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`ContentProvider`](crate::ContentProvider). +//! Traits intended for subclassing [`ContentProvider`]. use std::{future::Future, pin::Pin}; diff --git a/gdk4/src/subclass/paintable.rs b/gdk4/src/subclass/paintable.rs index 33735986bfdc..91729d0c1e03 100644 --- a/gdk4/src/subclass/paintable.rs +++ b/gdk4/src/subclass/paintable.rs @@ -1,8 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for implementing the [`Paintable`](crate::Paintable) -//! interface. +//! Traits intended for implementing the [`Paintable`] interface. use glib::translate::*; diff --git a/gtk4/src/subclass/accessible.rs b/gtk4/src/subclass/accessible.rs index 55053c2f544f..1ac774c01529 100644 --- a/gtk4/src/subclass/accessible.rs +++ b/gtk4/src/subclass/accessible.rs @@ -1,8 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for implementing the [`Accessible`](crate::Accessible) -//! interface. +//! Traits intended for implementing the [`Accessible`] interface. use std::mem::MaybeUninit; diff --git a/gtk4/src/subclass/accessible_range.rs b/gtk4/src/subclass/accessible_range.rs index 0fd8106faad6..eeee6060adc1 100644 --- a/gtk4/src/subclass/accessible_range.rs +++ b/gtk4/src/subclass/accessible_range.rs @@ -1,8 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for implementing the -//! [`AccessibleRange`](crate::AccessibleRange) interface. +//! Traits intended for implementing the [`AccessibleRange`] interface. use glib::translate::*; diff --git a/gtk4/src/subclass/actionable.rs b/gtk4/src/subclass/actionable.rs index cfcfb65cadef..c66e60751f6f 100644 --- a/gtk4/src/subclass/actionable.rs +++ b/gtk4/src/subclass/actionable.rs @@ -1,8 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for implementing the [`Actionable`](crate::Actionable) -//! interface. +//! Traits intended for implementing the [`Actionable`] interface. use glib::{translate::*, GString, Variant}; diff --git a/gtk4/src/subclass/adjustment.rs b/gtk4/src/subclass/adjustment.rs index c50da39e712c..f36b46374b24 100644 --- a/gtk4/src/subclass/adjustment.rs +++ b/gtk4/src/subclass/adjustment.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`Adjustment`](crate::Adjustment). +//! Traits intended for subclassing [`Adjustment`]. use glib::translate::*; diff --git a/gtk4/src/subclass/application.rs b/gtk4/src/subclass/application.rs index 1e9e726ef168..a083dcb3435d 100644 --- a/gtk4/src/subclass/application.rs +++ b/gtk4/src/subclass/application.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`Application`](crate::Application). +//! Traits intended for subclassing [`Application`]. use glib::translate::*; diff --git a/gtk4/src/subclass/application_window.rs b/gtk4/src/subclass/application_window.rs index 68460db56e40..7fd9c26b96e8 100644 --- a/gtk4/src/subclass/application_window.rs +++ b/gtk4/src/subclass/application_window.rs @@ -1,8 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing -//! [`ApplicationWindow`](crate::ApplicationWindow). +//! Traits intended for subclassing [`ApplicationWindow`]. use crate::{prelude::*, subclass::prelude::*, ApplicationWindow}; diff --git a/gtk4/src/subclass/box_.rs b/gtk4/src/subclass/box_.rs index ed65edc1a3e2..6a751dc35200 100644 --- a/gtk4/src/subclass/box_.rs +++ b/gtk4/src/subclass/box_.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`Box`](crate::Box). +//! Traits intended for subclassing [`Box`]. use crate::{prelude::*, subclass::prelude::*, Box}; diff --git a/gtk4/src/subclass/buildable.rs b/gtk4/src/subclass/buildable.rs index 8bf24aea97fe..4990ff4cdea0 100644 --- a/gtk4/src/subclass/buildable.rs +++ b/gtk4/src/subclass/buildable.rs @@ -1,8 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for implementing the [`Buildable`](crate::Buildable) -//! interface. +//! Traits intended for implementing the [`Buildable`] interface. use std::sync::OnceLock; use glib::{translate::*, GString, Object, Quark, Value}; diff --git a/gtk4/src/subclass/builder_scope.rs b/gtk4/src/subclass/builder_scope.rs index db04f451c41a..382f1acc6ad9 100644 --- a/gtk4/src/subclass/builder_scope.rs +++ b/gtk4/src/subclass/builder_scope.rs @@ -1,8 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for implementing the [`BuilderScope`](crate::BuilderScope) -//! interface. +//! Traits intended for implementing the [`BuilderScope`] interface. use glib::{translate::*, GString}; diff --git a/gtk4/src/subclass/button.rs b/gtk4/src/subclass/button.rs index f62817264d97..f29cb8dca7b8 100644 --- a/gtk4/src/subclass/button.rs +++ b/gtk4/src/subclass/button.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`Button`](crate::Button). +//! Traits intended for subclassing [`Button`]. use glib::translate::*; diff --git a/gtk4/src/subclass/cell_area.rs b/gtk4/src/subclass/cell_area.rs index a3e5e3f910e8..cb56103b1b32 100644 --- a/gtk4/src/subclass/cell_area.rs +++ b/gtk4/src/subclass/cell_area.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`CellArea`](crate::CellArea). +//! Traits intended for subclassing [`CellArea`]. use std::mem; diff --git a/gtk4/src/subclass/cell_area_context.rs b/gtk4/src/subclass/cell_area_context.rs index 1f5b60efa109..e5dd427b505f 100644 --- a/gtk4/src/subclass/cell_area_context.rs +++ b/gtk4/src/subclass/cell_area_context.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`CellAreaContext`](crate::CellAreaContext). +//! Traits intended for subclassing [`CellAreaContext`]. use std::mem::MaybeUninit; diff --git a/gtk4/src/subclass/cell_editable.rs b/gtk4/src/subclass/cell_editable.rs index 937b4ce66dc7..16b1cc6f4bdf 100644 --- a/gtk4/src/subclass/cell_editable.rs +++ b/gtk4/src/subclass/cell_editable.rs @@ -1,8 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for implementing the [`CellEditable`](crate::CellEditable) -//! interface. +//! Traits intended for implementing the [`CellEditable`] interface. use glib::translate::*; diff --git a/gtk4/src/subclass/cell_layout.rs b/gtk4/src/subclass/cell_layout.rs index 1fd4896f81b4..4593387dd54d 100644 --- a/gtk4/src/subclass/cell_layout.rs +++ b/gtk4/src/subclass/cell_layout.rs @@ -1,8 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for implementing the [`CellLayout`](crate::CellLayout) -//! interface. +//! Traits intended for implementing the [`CellLayout`] interface. use std::sync::OnceLock; use glib::{translate::*, Quark}; diff --git a/gtk4/src/subclass/cell_renderer.rs b/gtk4/src/subclass/cell_renderer.rs index 7f88c27906c8..7f5b1c778670 100644 --- a/gtk4/src/subclass/cell_renderer.rs +++ b/gtk4/src/subclass/cell_renderer.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`CellRenderer`](crate::CellRenderer). +//! Traits intended for subclassing [`CellRenderer`]. use std::mem; diff --git a/gtk4/src/subclass/cell_renderer_text.rs b/gtk4/src/subclass/cell_renderer_text.rs index fdfb0d91865b..1ba875e63c91 100644 --- a/gtk4/src/subclass/cell_renderer_text.rs +++ b/gtk4/src/subclass/cell_renderer_text.rs @@ -1,8 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing -//! [`CellRendererText`](crate::CellRendererText). +//! Traits intended for subclassing [`CellRendererText`]. use glib::{translate::*, GString}; diff --git a/gtk4/src/subclass/check_button.rs b/gtk4/src/subclass/check_button.rs index c7ac02eaeef4..5717a3374a40 100644 --- a/gtk4/src/subclass/check_button.rs +++ b/gtk4/src/subclass/check_button.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`CheckButton`](crate::CheckButton). +//! Traits intended for subclassing [`CheckButton`]. use glib::translate::*; diff --git a/gtk4/src/subclass/color_chooser.rs b/gtk4/src/subclass/color_chooser.rs index 0cd35eecfeee..249d9e65d3c7 100644 --- a/gtk4/src/subclass/color_chooser.rs +++ b/gtk4/src/subclass/color_chooser.rs @@ -1,8 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for implementing the [`ColorChooser`](crate::ColorChooser) -//! interface. +//! Traits intended for implementing the [`ColorChooser`] interface. use gdk::RGBA; use glib::translate::*; diff --git a/gtk4/src/subclass/combo_box.rs b/gtk4/src/subclass/combo_box.rs index e67a7150a4c5..23cb62da23c7 100644 --- a/gtk4/src/subclass/combo_box.rs +++ b/gtk4/src/subclass/combo_box.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`ComboBox`](crate::ComboBox). +//! Traits intended for subclassing [`ComboBox`]. use glib::{translate::*, GString}; diff --git a/gtk4/src/subclass/dialog.rs b/gtk4/src/subclass/dialog.rs index 3020c30e61f9..c6c6c601b9c3 100644 --- a/gtk4/src/subclass/dialog.rs +++ b/gtk4/src/subclass/dialog.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`Dialog`](crate::Dialog). +//! Traits intended for subclassing [`Dialog`]. use glib::translate::*; diff --git a/gtk4/src/subclass/drawing_area.rs b/gtk4/src/subclass/drawing_area.rs index b941aef4db34..922ac28f3c70 100644 --- a/gtk4/src/subclass/drawing_area.rs +++ b/gtk4/src/subclass/drawing_area.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`DrawingA£rea`](crate::DrawingA£rea). +//! Traits intended for subclassing [`DrawingArea`]. use glib::translate::*; diff --git a/gtk4/src/subclass/editable.rs b/gtk4/src/subclass/editable.rs index 1e6e6675e7c0..1d7040179cd8 100644 --- a/gtk4/src/subclass/editable.rs +++ b/gtk4/src/subclass/editable.rs @@ -1,8 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for implementing the [`Editable`](crate::Editable) -//! interface. +//! Traits intended for implementing the [`Editable`] interface. use std::sync::OnceLock; use glib::{translate::*, GString, Quark}; diff --git a/gtk4/src/subclass/entry.rs b/gtk4/src/subclass/entry.rs index a507df9b89a9..658562098fd6 100644 --- a/gtk4/src/subclass/entry.rs +++ b/gtk4/src/subclass/entry.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`Entry`](crate::Entry). +//! Traits intended for subclassing [`Entry`]. use glib::translate::*; diff --git a/gtk4/src/subclass/entry_buffer.rs b/gtk4/src/subclass/entry_buffer.rs index b0d38a47a95a..621777a58c1c 100644 --- a/gtk4/src/subclass/entry_buffer.rs +++ b/gtk4/src/subclass/entry_buffer.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`EntryBuffer`](crate::EntryBuffer). +//! Traits intended for subclassing [`EntryBuffer`]. use std::sync::OnceLock; use glib::{translate::*, GString}; diff --git a/gtk4/src/subclass/filter.rs b/gtk4/src/subclass/filter.rs index 3b357c0960dc..c469aa9f140a 100644 --- a/gtk4/src/subclass/filter.rs +++ b/gtk4/src/subclass/filter.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`Filter`](crate::Filter). +//! Traits intended for subclassing [`Filter`]. use glib::{translate::*, Object}; diff --git a/gtk4/src/subclass/fixed.rs b/gtk4/src/subclass/fixed.rs index 3fbf6dace02c..6e994ca11a6c 100644 --- a/gtk4/src/subclass/fixed.rs +++ b/gtk4/src/subclass/fixed.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`Fixed`](crate::Fixed). +//! Traits intended for subclassing [`Fixed`]. use crate::{prelude::*, subclass::prelude::*, Fixed}; diff --git a/gtk4/src/subclass/flow_box_child.rs b/gtk4/src/subclass/flow_box_child.rs index 77866b1f4f2a..22e63e424ddd 100644 --- a/gtk4/src/subclass/flow_box_child.rs +++ b/gtk4/src/subclass/flow_box_child.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`FlowBoxChild`](crate::FlowBoxChild). +//! Traits intended for subclassing [`FlowBoxChild`]. use glib::translate::*; diff --git a/gtk4/src/subclass/font_chooser.rs b/gtk4/src/subclass/font_chooser.rs index a4723211a94a..db8727c0befe 100644 --- a/gtk4/src/subclass/font_chooser.rs +++ b/gtk4/src/subclass/font_chooser.rs @@ -1,8 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for implementing the [`FontChooser`](crate::FontChooser) -//! interface. +//! Traits intended for implementing the [`FontChooser`] interface. use std::sync::OnceLock; use glib::{translate::*, GString, Quark}; diff --git a/gtk4/src/subclass/frame.rs b/gtk4/src/subclass/frame.rs index d5c8e5352a23..86d962a2add1 100644 --- a/gtk4/src/subclass/frame.rs +++ b/gtk4/src/subclass/frame.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`Frame`](crate::Frame). +//! Traits intended for subclassing [`Frame`]. use glib::translate::*; diff --git a/gtk4/src/subclass/gl_area.rs b/gtk4/src/subclass/gl_area.rs index dd1dcd8e1b69..796f87b8bc9f 100644 --- a/gtk4/src/subclass/gl_area.rs +++ b/gtk4/src/subclass/gl_area.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`GLArea`](crate::GLArea). +//! Traits intended for subclassing [`GLArea`]. use gdk::GLContext; use glib::translate::*; diff --git a/gtk4/src/subclass/grid.rs b/gtk4/src/subclass/grid.rs index 883582274804..a1e009ee908e 100644 --- a/gtk4/src/subclass/grid.rs +++ b/gtk4/src/subclass/grid.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`Grid`](crate::Grid). +//! Traits intended for subclassing [`Grid`]. use crate::{prelude::*, subclass::prelude::*, Grid}; diff --git a/gtk4/src/subclass/im_context.rs b/gtk4/src/subclass/im_context.rs index fea3861d7d35..a7f18415c8f1 100644 --- a/gtk4/src/subclass/im_context.rs +++ b/gtk4/src/subclass/im_context.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`IMContext`](crate::IMContext). +//! Traits intended for subclassing [`IMContext`]. use glib::{translate::*, GString}; use pango::AttrList; diff --git a/gtk4/src/subclass/layout_child.rs b/gtk4/src/subclass/layout_child.rs index f105a656ac3d..44886232f8f5 100644 --- a/gtk4/src/subclass/layout_child.rs +++ b/gtk4/src/subclass/layout_child.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`LayoutChild`](crate::LayoutChild). +//! Traits intended for subclassing [`LayoutChild`]. use crate::{prelude::*, subclass::prelude::*, LayoutChild}; diff --git a/gtk4/src/subclass/layout_manager.rs b/gtk4/src/subclass/layout_manager.rs index a953bfd77c5d..45a6f0a881fc 100644 --- a/gtk4/src/subclass/layout_manager.rs +++ b/gtk4/src/subclass/layout_manager.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`LayoutManager`](crate::LayoutManager). +//! Traits intended for subclassing [`LayoutManager`]. use glib::translate::*; use libc::c_int; diff --git a/gtk4/src/subclass/list_box_row.rs b/gtk4/src/subclass/list_box_row.rs index a07ec9cfd441..4b9d50e585eb 100644 --- a/gtk4/src/subclass/list_box_row.rs +++ b/gtk4/src/subclass/list_box_row.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`ListBoxRow`](crate::ListBoxRow). +//! Traits intended for subclassing [`ListBoxRow`]. use glib::translate::*; diff --git a/gtk4/src/subclass/media_file.rs b/gtk4/src/subclass/media_file.rs index b96d4dc05b57..3ae20a0d50f8 100644 --- a/gtk4/src/subclass/media_file.rs +++ b/gtk4/src/subclass/media_file.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`MediaFile`](crate::MediaFile). +//! Traits intended for subclassing [`MediaFile`]. use glib::translate::*; diff --git a/gtk4/src/subclass/media_stream.rs b/gtk4/src/subclass/media_stream.rs index 9dccee4e5b93..9873fcbe6ac6 100644 --- a/gtk4/src/subclass/media_stream.rs +++ b/gtk4/src/subclass/media_stream.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`MediaStream`](crate::MediaStream). +//! Traits intended for subclassing [`MediaStream`]. use glib::translate::*; diff --git a/gtk4/src/subclass/native_dialog.rs b/gtk4/src/subclass/native_dialog.rs index 0281ee2e84f1..4b2e41d6b5f6 100644 --- a/gtk4/src/subclass/native_dialog.rs +++ b/gtk4/src/subclass/native_dialog.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`NativeDialog`](crate::NativeDialog). +//! Traits intended for subclassing [`NativeDialog`]. use glib::translate::*; diff --git a/gtk4/src/subclass/orientable.rs b/gtk4/src/subclass/orientable.rs index 362ecbc5e28a..5bf742f6e892 100644 --- a/gtk4/src/subclass/orientable.rs +++ b/gtk4/src/subclass/orientable.rs @@ -1,8 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for implementing the [`Orientable`](crate::Orientable) -//! interface. +//! Traits intended for implementing the [`Orientable`] interface. use crate::{prelude::*, subclass::prelude::*, Orientable}; diff --git a/gtk4/src/subclass/popover.rs b/gtk4/src/subclass/popover.rs index 28ea7ce745ad..3e799ecfba91 100644 --- a/gtk4/src/subclass/popover.rs +++ b/gtk4/src/subclass/popover.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`Popover`](crate::Popover). +//! Traits intended for subclassing [`Popover`]. use glib::translate::*; diff --git a/gtk4/src/subclass/print_operation.rs b/gtk4/src/subclass/print_operation.rs index 3b33e30e4c3f..5ef0e85f6e02 100644 --- a/gtk4/src/subclass/print_operation.rs +++ b/gtk4/src/subclass/print_operation.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`PrintOperation`](crate::PrintOperation). +//! Traits intended for subclassing [`PrintOperation`]. use glib::translate::*; diff --git a/gtk4/src/subclass/print_operation_preview.rs b/gtk4/src/subclass/print_operation_preview.rs index f1f161c598c1..0b8a5d5de265 100644 --- a/gtk4/src/subclass/print_operation_preview.rs +++ b/gtk4/src/subclass/print_operation_preview.rs @@ -1,8 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for implementing the -//! [`PrintOperationPreview`](crate::PrintOperationPreview) interface. +//! Traits intended for implementing the [`PrintOperationPreview`] interface. use glib::translate::*; diff --git a/gtk4/src/subclass/range.rs b/gtk4/src/subclass/range.rs index e2c3c104f556..df85b04396c1 100644 --- a/gtk4/src/subclass/range.rs +++ b/gtk4/src/subclass/range.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`Range`](crate::Range). +//! Traits intended for subclassing [`Range`]. use glib::translate::*; diff --git a/gtk4/src/subclass/recent_manager.rs b/gtk4/src/subclass/recent_manager.rs index e699241bccbf..6be9591e912f 100644 --- a/gtk4/src/subclass/recent_manager.rs +++ b/gtk4/src/subclass/recent_manager.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`RecentManager`](crate::RecentManager). +//! Traits intended for subclassing [`RecentManager`]. use glib::translate::*; diff --git a/gtk4/src/subclass/scale.rs b/gtk4/src/subclass/scale.rs index 6c52f6abafdc..752a4c5820df 100644 --- a/gtk4/src/subclass/scale.rs +++ b/gtk4/src/subclass/scale.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`Scale`](crate::Scale). +//! Traits intended for subclassing [`Scale`]. use glib::translate::*; diff --git a/gtk4/src/subclass/scale_button.rs b/gtk4/src/subclass/scale_button.rs index 4606cbd90da5..2ef65b1735f5 100644 --- a/gtk4/src/subclass/scale_button.rs +++ b/gtk4/src/subclass/scale_button.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`ScaleButton`](crate::ScaleButton). +//! Traits intended for subclassing [`ScaleButton`]. use glib::translate::*; diff --git a/gtk4/src/subclass/scrollable.rs b/gtk4/src/subclass/scrollable.rs index c4a88cb06c45..a4b2479b59d4 100644 --- a/gtk4/src/subclass/scrollable.rs +++ b/gtk4/src/subclass/scrollable.rs @@ -1,8 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for implementing the [`Scrollable`](crate::Scrollable) -//! interface. +//! Traits intended for implementing the [`Scrollable`] interface. use glib::translate::*; diff --git a/gtk4/src/subclass/section_model.rs b/gtk4/src/subclass/section_model.rs index 5e4a99fc6a8e..139f2811410d 100644 --- a/gtk4/src/subclass/section_model.rs +++ b/gtk4/src/subclass/section_model.rs @@ -1,8 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for implementing the [`SectionModel`](crate::SectionModel) -//! interface. +//! Traits intended for implementing the [`SectionModel`] interface. use glib::translate::*; diff --git a/gtk4/src/subclass/selection_model.rs b/gtk4/src/subclass/selection_model.rs index c858194f90d6..53564c23ef52 100644 --- a/gtk4/src/subclass/selection_model.rs +++ b/gtk4/src/subclass/selection_model.rs @@ -1,8 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for implementing the -//! [`SelectionModel`](crate::SelectionModel) interface. +//! Traits intended for implementing the [`SelectionModel`] interface. use glib::translate::*; diff --git a/gtk4/src/subclass/shortcut_manager.rs b/gtk4/src/subclass/shortcut_manager.rs index 97f0c1f8f0fd..141adaba9f56 100644 --- a/gtk4/src/subclass/shortcut_manager.rs +++ b/gtk4/src/subclass/shortcut_manager.rs @@ -1,8 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for implementing the -//! [`ShortcutManager`](crate::ShortcutManager) interface. +//! Traits intended for implementing the [`ShortcutManager`] interface. use glib::translate::*; diff --git a/gtk4/src/subclass/sorter.rs b/gtk4/src/subclass/sorter.rs index 93bf7f855fcb..af97c65249e4 100644 --- a/gtk4/src/subclass/sorter.rs +++ b/gtk4/src/subclass/sorter.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`Sorter`](crate::Sorter). +//! Traits intended for subclassing [`Sorter`]. use glib::{translate::*, Object}; diff --git a/gtk4/src/subclass/style_context.rs b/gtk4/src/subclass/style_context.rs index b1a24ce1fa67..6037dbc4d36e 100644 --- a/gtk4/src/subclass/style_context.rs +++ b/gtk4/src/subclass/style_context.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`StyleContext`](crate::StyleContext). +//! Traits intended for subclassing [`StyleContext`]. use glib::translate::*; diff --git a/gtk4/src/subclass/symbolic_paintable.rs b/gtk4/src/subclass/symbolic_paintable.rs index 110e3c7f0904..166bb77893de 100644 --- a/gtk4/src/subclass/symbolic_paintable.rs +++ b/gtk4/src/subclass/symbolic_paintable.rs @@ -1,8 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for implementing the -//! [`SymbolicPaintable`](crate::SymbolicPaintable) interface. +//! Traits intended for implementing the [`SymbolicPaintable`] interface. use glib::translate::*; diff --git a/gtk4/src/subclass/text_buffer.rs b/gtk4/src/subclass/text_buffer.rs index 8a7f4cf23b90..06a07dfcf02b 100644 --- a/gtk4/src/subclass/text_buffer.rs +++ b/gtk4/src/subclass/text_buffer.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`TextBuffer`](crate::TextBuffer). +//! Traits intended for subclassing [`TextBuffer`]. use glib::translate::*; diff --git a/gtk4/src/subclass/text_view.rs b/gtk4/src/subclass/text_view.rs index b25738c9eac6..5a43da5b4a82 100644 --- a/gtk4/src/subclass/text_view.rs +++ b/gtk4/src/subclass/text_view.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`TextView`](crate::TextView). +//! Traits intended for subclassing [`TextView`]. use glib::translate::*; diff --git a/gtk4/src/subclass/toggle_button.rs b/gtk4/src/subclass/toggle_button.rs index 108c7e97e995..ae3676c7674c 100644 --- a/gtk4/src/subclass/toggle_button.rs +++ b/gtk4/src/subclass/toggle_button.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`ToggleButton`](crate::ToggleButton). +//! Traits intended for subclassing [`ToggleButton`]. use glib::translate::*; diff --git a/gtk4/src/subclass/tree_drag_dest.rs b/gtk4/src/subclass/tree_drag_dest.rs index 597d8b38a9d6..724b8d2ebc01 100644 --- a/gtk4/src/subclass/tree_drag_dest.rs +++ b/gtk4/src/subclass/tree_drag_dest.rs @@ -1,8 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for implementing the [`TreeDragDest`](crate::TreeDragDest) -//! interface. +//! Traits intended for implementing the [`TreeDragDest`] interface. use glib::{translate::*, Value}; diff --git a/gtk4/src/subclass/tree_drag_source.rs b/gtk4/src/subclass/tree_drag_source.rs index 07b754fd2d5e..a259af3cedd7 100644 --- a/gtk4/src/subclass/tree_drag_source.rs +++ b/gtk4/src/subclass/tree_drag_source.rs @@ -1,8 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for implementing the -//! [`TreeDragSource`](crate::TreeDragSource) interface. +//! Traits intended for implementing the [`TreeDragSource`] interface. use glib::translate::*; diff --git a/gtk4/src/subclass/tree_model_filter.rs b/gtk4/src/subclass/tree_model_filter.rs index a2b1d6d18190..0d0f75128518 100644 --- a/gtk4/src/subclass/tree_model_filter.rs +++ b/gtk4/src/subclass/tree_model_filter.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`TreeModelFilter`](crate::TreeModelFilter). +//! Traits intended for subclassing [`TreeModelFilter`]. use glib::{translate::*, Value}; diff --git a/gtk4/src/subclass/tree_view.rs b/gtk4/src/subclass/tree_view.rs index e05cfbbd1334..be25940c864c 100644 --- a/gtk4/src/subclass/tree_view.rs +++ b/gtk4/src/subclass/tree_view.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`TreeView`](crate::TreeView). +//! Traits intended for subclassing [`TreeView`]. use glib::translate::*; diff --git a/gtk4/src/subclass/widget.rs b/gtk4/src/subclass/widget.rs index b0b7cb3ee190..2e8e6dd29d78 100644 --- a/gtk4/src/subclass/widget.rs +++ b/gtk4/src/subclass/widget.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`Widget`](crate::Widget). +//! Traits intended for subclassing [`Widget`]. use std::{boxed::Box as Box_, collections::HashMap, fmt, future::Future}; diff --git a/gtk4/src/subclass/window.rs b/gtk4/src/subclass/window.rs index ba0cf77a3886..b4a21dfe015e 100644 --- a/gtk4/src/subclass/window.rs +++ b/gtk4/src/subclass/window.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`Window`](crate::Window). +//! Traits intended for subclassing [`Window`]. use glib::translate::*; diff --git a/gtk4/src/subclass/window_group.rs b/gtk4/src/subclass/window_group.rs index 97cea079e9dc..481330d3bfd6 100644 --- a/gtk4/src/subclass/window_group.rs +++ b/gtk4/src/subclass/window_group.rs @@ -1,7 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. // rustdoc-stripper-ignore-next -//! Traits intended for subclassing [`WindowGroup`](crate::WindowGroup). +//! Traits intended for subclassing [`WindowGroup`]. use crate::{prelude::*, subclass::prelude::*, WindowGroup};