chore: drop v0.30 deprecated APIs
Co-authored-by: daxpedda <daxpedda@gmail.com>
This commit is contained in:
parent
4e2e764e4a
commit
facb809f12
5 changed files with 13 additions and 54 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue