Clearer error on importing both gpui and gpui2
This commit is contained in:
parent
9c10152c89
commit
51aa0d6a94
3 changed files with 18 additions and 0 deletions
|
@ -82,6 +82,7 @@ const NSWindowAnimationBehaviorUtilityWindow: NSInteger = 4;
|
|||
|
||||
#[ctor]
|
||||
unsafe fn build_classes() {
|
||||
::util::gpui1_loaded();
|
||||
WINDOW_CLASS = build_window_class("GPUIWindow", class!(NSWindow));
|
||||
PANEL_CLASS = build_window_class("GPUIPanel", class!(NSPanel));
|
||||
VIEW_CLASS = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue