API cleanup: Rename create_window to create_window_adapter

This commit is contained in:
Tobias Hunger 2022-08-29 15:41:45 +02:00 committed by Tobias Hunger
parent 1e6ffeaa0f
commit 88cf874d03
11 changed files with 15 additions and 15 deletions

View file

@ -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);
}