aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_x11_cairo.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-07-28 14:21:20 +0200
committerDavid Robillard <d@drobilla.net>2019-07-28 19:06:39 +0200
commit65e0b7d4ea463d1f8eb3231ce9703c9f91c9b270 (patch)
tree6ab5bb2cd573e5efd77c194a1e098c73b584c135 /pugl/pugl_x11_cairo.c
parentffdc710f20ce8016bf5daeaf97cb75bcb479a22d (diff)
downloadpugl-65e0b7d4ea463d1f8eb3231ce9703c9f91c9b270.tar.gz
pugl-65e0b7d4ea463d1f8eb3231ce9703c9f91c9b270.tar.bz2
pugl-65e0b7d4ea463d1f8eb3231ce9703c9f91c9b270.zip
Rename getHandle to getContext for consistent terminology
Diffstat (limited to 'pugl/pugl_x11_cairo.c')
-rw-r--r--pugl/pugl_x11_cairo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pugl/pugl_x11_cairo.c b/pugl/pugl_x11_cairo.c
index 6992c1a..d045584 100644
--- a/pugl/pugl_x11_cairo.c
+++ b/pugl/pugl_x11_cairo.c
@@ -110,7 +110,7 @@ puglX11CairoResize(PuglView* view, int width, int height)
}
static void*
-puglX11CairoGetHandle(PuglView* view)
+puglX11CairoGetContext(PuglView* view)
{
PuglInternals* const impl = view->impl;
PuglX11CairoSurface* const surface = (PuglX11CairoSurface*)impl->surface;
@@ -127,7 +127,7 @@ PuglBackend puglGetX11CairoBackend(void)
puglX11CairoEnter,
puglX11CairoLeave,
puglX11CairoResize,
- puglX11CairoGetHandle
+ puglX11CairoGetContext
};
return puglX11CairoBackend;