mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 15:31:14 +00:00
Implement dealloc/copyWithZone on Win32CairoGState instance.
Patch by mlytwyn (cherrypicked from testplant branch, r39618). git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@39635 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
61d519425f
commit
d1d1db4c39
2 changed files with 17 additions and 0 deletions
|
@ -4,6 +4,10 @@
|
|||
Remove extraneous semicolons.
|
||||
Patch by mlytwyn (cherrypicked from testplant branch, r39614).
|
||||
|
||||
* Source/cairo/Win32CairoGState.m:
|
||||
Implement dealloc/copyWithZone on Win32CairoGState instance.
|
||||
Patch by mlytwyn (cherrypicked from testplant branch, r39618).
|
||||
|
||||
2016-03-01 Seong Gu Lee <sgleehd@gmail.com>
|
||||
|
||||
* Headers/win32/WIN32Server.h: tweak for compilation on 64bit windows
|
||||
|
|
|
@ -37,6 +37,19 @@
|
|||
}
|
||||
}
|
||||
|
||||
- (void) dealloc
|
||||
{
|
||||
DESTROY(_lastPath);
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
- (id)copyWithZone: (NSZone *)zone
|
||||
{
|
||||
Win32CairoGState *object = [super copyWithZone: zone];
|
||||
object->_lastPath = [_lastPath copy];
|
||||
return object;
|
||||
}
|
||||
|
||||
- (HDC) getHDC
|
||||
{
|
||||
if (_surface)
|
||||
|
|
Loading…
Reference in a new issue