From 6440780eb2c4466bda7e6f697e81da0c03778b0c Mon Sep 17 00:00:00 2001 From: fredkiefer Date: Sat, 7 Dec 2013 20:55:26 +0000 Subject: [PATCH] * Source/NSClipView.m (-setDocumentView:): Don't take the background colour from the document view. Patch by Jeff Teunissen . git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37440 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 6 ++++++ Source/NSClipView.m | 10 ---------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8fe3c653d..a4e71e1f9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2013-12-07 Fred Kiefer + + * Source/NSClipView.m (-setDocumentView:): Don't take the + background colour from the document view. + Patch by Jeff Teunissen . + 2013-12-07 Fred Kiefer * Source/GSThemeDrawing.m (-drawScrollViewRect:inView:): Use the diff --git a/Source/NSClipView.m b/Source/NSClipView.m index 4cd40f0fe..bbb36e340 100644 --- a/Source/NSClipView.m +++ b/Source/NSClipView.m @@ -180,16 +180,6 @@ static inline NSRect integralRect (NSRect rect, NSView *view) df = [_documentView frame]; [self setBoundsOrigin: df.origin]; - if ([aView respondsToSelector: @selector(backgroundColor)]) - { - [self setBackgroundColor: [(id)aView backgroundColor]]; - } - - if ([aView respondsToSelector: @selector(drawsBackground)]) - { - [self setDrawsBackground: [(id)aView drawsBackground]]; - } - /* Register for notifications sent by the document view */ [_documentView setPostsFrameChangedNotifications: YES]; [_documentView setPostsBoundsChangedNotifications: YES];