Lots of small tweaks to make -gui compile without warnings with clang.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30119 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
David Chisnall 2010-04-10 20:33:30 +00:00
parent 818b672ad5
commit c6866f8c8a
13 changed files with 38 additions and 31 deletions

View file

@ -1477,11 +1477,11 @@ typedef struct _GSButtonCellFlags
NSButtonCell *c = [super copyWithZone: zone];
c->_altContents = [_altContents copyWithZone: zone];
TEST_RETAIN(_altImage);
TEST_RETAIN(_keyEquivalent);
TEST_RETAIN(_keyEquivalentFont);
TEST_RETAIN(_sound);
TEST_RETAIN(_backgroundColor);
_altImage = TEST_RETAIN(_altImage);
_keyEquivalent = TEST_RETAIN(_keyEquivalent);
_keyEquivalentFont = TEST_RETAIN(_keyEquivalentFont);
_sound = TEST_RETAIN(_sound);
_backgroundColor = TEST_RETAIN(_backgroundColor);
return c;
}