mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-30 07:07:25 +00:00
API cleanup: Rename create_window to create_window_adapter
This commit is contained in:
parent
1e6ffeaa0f
commit
88cf874d03
11 changed files with 15 additions and 15 deletions
|
@ -22,7 +22,7 @@ pub unsafe extern "C" fn slint_windowrc_init(out: *mut WindowAdapterRcOpaque) {
|
|||
core::mem::size_of::<Rc<dyn WindowAdapter>>(),
|
||||
core::mem::size_of::<WindowAdapterRcOpaque>()
|
||||
);
|
||||
let win = i_slint_backend_selector::with_platform_abstraction(|b| b.create_window());
|
||||
let win = i_slint_backend_selector::with_platform_abstraction(|b| b.create_window_adapter());
|
||||
core::ptr::write(out as *mut Rc<dyn WindowAdapter>, win);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue