aboutsummaryrefslogtreecommitdiffstats
path: root/src/x11_cairo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/x11_cairo.c')
-rw-r--r--src/x11_cairo.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/x11_cairo.c b/src/x11_cairo.c
index 107a4f3..6aafb50 100644
--- a/src/x11_cairo.c
+++ b/src/x11_cairo.c
@@ -1,4 +1,4 @@
-// Copyright 2012-2020 David Robillard <d@drobilla.net>
+// Copyright 2012-2022 David Robillard <d@drobilla.net>
// SPDX-License-Identifier: ISC
#include "types.h"
@@ -67,7 +67,7 @@ puglX11CairoCreate(PuglView* view)
return PUGL_SUCCESS;
}
-static PuglStatus
+static void
puglX11CairoDestroy(PuglView* view)
{
PuglInternals* const impl = view->impl;
@@ -75,8 +75,6 @@ puglX11CairoDestroy(PuglView* view)
puglX11CairoClose(view);
free(surface);
-
- return PUGL_SUCCESS;
}
static PuglStatus