From 641a48427055b4a0e3765fb4bcbeba0e8ce01862 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 21 Oct 2020 15:15:34 +0200 Subject: Cleanup: Use conventional style for ObjC methods --- include/pugl/detail/mac_cairo.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/pugl/detail/mac_cairo.m') diff --git a/include/pugl/detail/mac_cairo.m b/include/pugl/detail/mac_cairo.m index 18209d9..1e8f98d 100644 --- a/include/pugl/detail/mac_cairo.m +++ b/include/pugl/detail/mac_cairo.m @@ -41,14 +41,14 @@ cairo_t* cr; } -- (id) initWithFrame:(NSRect)frame +- (id)initWithFrame:(NSRect)frame { self = [super initWithFrame:frame]; return self; } -- (void) resizeWithOldSuperviewSize:(NSSize)oldSize +- (void)resizeWithOldSuperviewSize:(NSSize)oldSize { PuglWrapperView* wrapper = (PuglWrapperView*)[self superview]; @@ -56,7 +56,7 @@ [wrapper setReshaped]; } -- (void) drawRect:(NSRect)rect +- (void)drawRect:(NSRect)rect { PuglWrapperView* wrapper = (PuglWrapperView*)[self superview]; [wrapper dispatchExpose:rect]; -- cgit v1.2.1