aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_x11_cairo.c
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/pugl_x11_cairo.c')
-rw-r--r--pugl/pugl_x11_cairo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pugl/pugl_x11_cairo.c b/pugl/pugl_x11_cairo.c
index be6fe36..6992c1a 100644
--- a/pugl/pugl_x11_cairo.c
+++ b/pugl/pugl_x11_cairo.c
@@ -118,9 +118,9 @@ puglX11CairoGetHandle(PuglView* view)
return surface->cr;
}
-PuglDrawContext puglGetX11CairoDrawContext(void)
+PuglBackend puglGetX11CairoBackend(void)
{
- static const PuglDrawContext puglX11CairoDrawContext = {
+ static const PuglBackend puglX11CairoBackend = {
puglX11CairoConfigure,
puglX11CairoCreate,
puglX11CairoDestroy,
@@ -130,5 +130,5 @@ PuglDrawContext puglGetX11CairoDrawContext(void)
puglX11CairoGetHandle
};
- return puglX11CairoDrawContext;
+ return puglX11CairoBackend;
}