aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_x11_cairo.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-07-26 23:11:17 +0200
committerDavid Robillard <d@drobilla.net>2019-07-28 19:06:39 +0200
commitffdc710f20ce8016bf5daeaf97cb75bcb479a22d (patch)
tree6b4bf3fa7912f1d8f55a7d54a3b88c526752983f /pugl/pugl_x11_cairo.c
parenta84fe498ef7e8786455cf480bb865e1708465207 (diff)
downloadpugl-ffdc710f20ce8016bf5daeaf97cb75bcb479a22d.tar.gz
pugl-ffdc710f20ce8016bf5daeaf97cb75bcb479a22d.tar.bz2
pugl-ffdc710f20ce8016bf5daeaf97cb75bcb479a22d.zip
Rename PuglDrawContext to PuglBackend
This name was pretty confusing since there is already the concept of a "context".
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;
}