diff --git a/gdk/quartz/GdkQuartzView.c b/gdk/quartz/GdkQuartzView.c index 4955347710..0b59119f2b 100644 --- a/gdk/quartz/GdkQuartzView.c +++ b/gdk/quartz/GdkQuartzView.c @@ -92,7 +92,7 @@ */ [NSGraphicsContext saveGraphicsState]; - [[[self window] backgroundColor] setFill]; + [[NSColor windowBackgroundColor] setFill]; [NSBezierPath fillRect:rect]; [NSGraphicsContext restoreGraphicsState];