Rename WindowAdapterSealed to WindowAdapterInternal

This commit is contained in:
Olivier Goffart 2023-06-13 14:43:18 +02:00 committed by Olivier Goffart
parent f4dba7bcfd
commit 23b910725f
9 changed files with 15 additions and 15 deletions

View file

@ -8,7 +8,7 @@ use i_slint_core::platform::{Platform, PlatformError};
use i_slint_core::renderer::Renderer;
use i_slint_core::software_renderer::{RepaintBufferType, SoftwareRenderer};
use i_slint_core::window::ffi::WindowAdapterRcOpaque;
use i_slint_core::window::{WindowAdapter, WindowAdapterSealed};
use i_slint_core::window::{WindowAdapter, WindowAdapterInternal};
use raw_window_handle::{RawDisplayHandle, RawWindowHandle};
use std::rc::Rc;
@ -54,7 +54,7 @@ impl WindowAdapter for CppWindowAdapter {
}
}
impl WindowAdapterSealed for CppWindowAdapter {
impl WindowAdapterInternal for CppWindowAdapter {
fn show(&self) -> Result<(), PlatformError> {
unsafe { (self.show)(self.user_data) };
Ok(())