Add return type 'id' to -[GSGState copyWithZone:] method definition.

Cherrypicking gnustep_testplant_branch r39614.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@39636 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
ivucica 2016-04-06 20:43:32 +00:00
parent 79065eddb8
commit 151de00015
2 changed files with 5 additions and 1 deletions

View file

@ -8,6 +8,10 @@
Implement dealloc/copyWithZone on Win32CairoGState instance.
Patch by mlytwyn (cherrypicked from testplant branch, r39618).
* Source/gsc/GSGState.m:
Add return type 'id' to -[GSGState copyWithZone:] method definition.
Patch by mlytwyn (cherrypicked from testplant branch, r39619).
2016-03-01 Seong Gu Lee <sgleehd@gmail.com>
* Headers/win32/WIN32Server.h: tweak for compilation on 64bit windows

View file

@ -109,7 +109,7 @@
return [description copy];
}
- copyWithZone: (NSZone *)zone
- (id)copyWithZone: (NSZone *)zone
{
GSGState *new = (GSGState *)NSCopyObject(self, 0, zone);
/* Do a deep copy since gstates are isolated from each other */