aboutsummaryrefslogtreecommitdiffstats
path: root/src/mac_stub.m
diff options
context:
space:
mode:
Diffstat (limited to 'src/mac_stub.m')
-rw-r--r--src/mac_stub.m5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mac_stub.m b/src/mac_stub.m
index 3812479..a0d0322 100644
--- a/src/mac_stub.m
+++ b/src/mac_stub.m
@@ -1,4 +1,4 @@
-// Copyright 2019-2020 David Robillard <d@drobilla.net>
+// Copyright 2019-2022 David Robillard <d@drobilla.net>
// SPDX-License-Identifier: ISC
#include "implementation.h"
@@ -53,7 +53,7 @@ puglMacStubCreate(PuglView* view)
return PUGL_SUCCESS;
}
-static PuglStatus
+static void
puglMacStubDestroy(PuglView* view)
{
PuglStubView* const drawView = (PuglStubView*)view->impl->drawView;
@@ -62,7 +62,6 @@ puglMacStubDestroy(PuglView* view)
[drawView release];
view->impl->drawView = nil;
- return PUGL_SUCCESS;
}
const PuglBackend*