diff options
author | David Robillard <d@drobilla.net> | 2020-03-01 20:13:20 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-03-01 20:32:43 +0100 |
commit | 9426312710ff8b65b21c398010d7d58fb89a25ba (patch) | |
tree | b4adbd863671d6205d038bd55b97c39f8b62cbc1 /pugl/detail/x11_cairo.c | |
parent | 0d37c19ac71d153a093960eadccf791f54fc2547 (diff) | |
download | pugl-9426312710ff8b65b21c398010d7d58fb89a25ba.tar.gz pugl-9426312710ff8b65b21c398010d7d58fb89a25ba.tar.bz2 pugl-9426312710ff8b65b21c398010d7d58fb89a25ba.zip |
Cleanup: Use a consistent style for all backend definitions
Diffstat (limited to 'pugl/detail/x11_cairo.c')
-rw-r--r-- | pugl/detail/x11_cairo.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/pugl/detail/x11_cairo.c b/pugl/detail/x11_cairo.c index 45fb28a..b084f5a 100644 --- a/pugl/detail/x11_cairo.c +++ b/pugl/detail/x11_cairo.c @@ -161,15 +161,13 @@ puglX11CairoGetContext(PuglView* view) const PuglBackend* puglCairoBackend(void) { - static const PuglBackend backend = { - puglX11StubConfigure, - puglX11CairoCreate, - puglX11CairoDestroy, - puglX11CairoEnter, - puglX11CairoLeave, - puglStubResize, - puglX11CairoGetContext - }; + static const PuglBackend backend = {puglX11StubConfigure, + puglX11CairoCreate, + puglX11CairoDestroy, + puglX11CairoEnter, + puglX11CairoLeave, + puglStubResize, + puglX11CairoGetContext}; return &backend; } |