aboutsummaryrefslogtreecommitdiffstats
path: root/src/mac.m
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-23 17:14:21 +0100
committerDavid Robillard <d@drobilla.net>2020-11-25 14:18:04 +0100
commitadc925180be3a8b4a970c70c58ef6c3de6993458 (patch)
tree899a7fc130f3ac8c0630e45099df77ac7042e200 /src/mac.m
parent7ce9b578a4433f9606b14291fb3b816aa67999d9 (diff)
downloadpugl-adc925180be3a8b4a970c70c58ef6c3de6993458.tar.gz
pugl-adc925180be3a8b4a970c70c58ef6c3de6993458.tar.bz2
pugl-adc925180be3a8b4a970c70c58ef6c3de6993458.zip
Rename puglShowWindow and puglHideWindow to puglShow an puglHide
These names were confusing because a view is not necessarily a window. Since there's no room for ambiguity here, simply drop the superfluous word.
Diffstat (limited to 'src/mac.m')
-rw-r--r--src/mac.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mac.m b/src/mac.m
index 3d1fba2..6b8761f 100644
--- a/src/mac.m
+++ b/src/mac.m
@@ -1007,7 +1007,7 @@ puglRealize(PuglView* view)
}
PuglStatus
-puglShowWindow(PuglView* view)
+puglShow(PuglView* view)
{
if (![view->impl->window isVisible]) {
[view->impl->window setIsVisible:YES];
@@ -1019,7 +1019,7 @@ puglShowWindow(PuglView* view)
}
PuglStatus
-puglHideWindow(PuglView* view)
+puglHide(PuglView* view)
{
[view->impl->window setIsVisible:NO];
return PUGL_SUCCESS;