chore: drop v0.30 deprecated APIs

Co-authored-by: daxpedda <daxpedda@gmail.com>
This commit is contained in:
Kirill Chibisov 2024-07-26 16:44:47 +03:00 committed by GitHub
parent 4e2e764e4a
commit facb809f12
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 13 additions and 54 deletions

View file

@ -174,15 +174,6 @@ unsafe impl Send for SendSyncRawWindowHandle {}
#[cfg(feature = "rwh_06")]
unsafe impl Sync for SendSyncRawWindowHandle {}
impl WindowAttributes {
/// Initializes new attributes with default values.
#[inline]
#[deprecated = "use `Window::default_attributes` instead"]
pub fn new() -> Self {
Default::default()
}
}
impl WindowAttributes {
/// Get the parent window stored on the attributes.
#[cfg(feature = "rwh_06")]
@ -1433,13 +1424,6 @@ impl Window {
self.window.maybe_queue_on_main(move |w| w.set_cursor(cursor))
}
/// Deprecated! Use [`Window::set_cursor()`] instead.
#[deprecated = "Renamed to `set_cursor`"]
#[inline]
pub fn set_cursor_icon(&self, icon: CursorIcon) {
self.set_cursor(icon)
}
/// Changes the position of the cursor in window coordinates.
///
/// ```no_run