summaryrefslogtreecommitdiff
path: root/new/init_darwin.m
diff options
context:
space:
mode:
Diffstat (limited to 'new/init_darwin.m')
-rw-r--r--new/init_darwin.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/new/init_darwin.m b/new/init_darwin.m
index b1d88c3..4f14a0a 100644
--- a/new/init_darwin.m
+++ b/new/init_darwin.m
@@ -43,7 +43,7 @@
// we are not in control of the actual lifetimes and refcounts of NSViews (see http://stackoverflow.com/a/29523141/3408572)
// when we're done with a view, it'll be added as a subview of this one, and this one will be released on application shutdown
// we need this separate view because it's possible for controls to have no parent but still be alive
-NSView *deletedControlsView;
+NSView *destroyedControlsView;
uiInitOptions options;
@@ -57,7 +57,7 @@ const char *uiInit(uiInitOptions *o)
[NSApp setDelegate:[uiAppDelegate new]];
// we can use a stock NSView for this
- deletedControlsView = [[NSView alloc] initWithFrame:NSZeroRect];
+ destroyedControlsView = [[NSView alloc] initWithFrame:NSZeroRect];
return NULL;
}