mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 20:27:39 +00:00
tidyups and minor theme tiling updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23871 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6ed7d47dae
commit
57435da7d5
58 changed files with 422 additions and 230 deletions
|
@ -369,7 +369,7 @@ scaleProportionally(NSSize imageSize, NSRect canvasRect)
|
|||
- (void) encodeWithCoder: (NSCoder *)aCoder
|
||||
{
|
||||
[super encodeWithCoder: aCoder];
|
||||
if([aCoder allowsKeyedCoding])
|
||||
if ([aCoder allowsKeyedCoding])
|
||||
{
|
||||
[aCoder encodeInt: _imageAlignment forKey: @"NSAlign"];
|
||||
[aCoder encodeInt: _imageScaling forKey: @"NSScale"];
|
||||
|
@ -387,7 +387,7 @@ scaleProportionally(NSSize imageSize, NSRect canvasRect)
|
|||
|
||||
- (id) initWithCoder: (NSCoder *)aDecoder
|
||||
{
|
||||
if((self = [super initWithCoder: aDecoder]) != nil)
|
||||
if ((self = [super initWithCoder: aDecoder]) != nil)
|
||||
{
|
||||
if ([aDecoder allowsKeyedCoding])
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue