Aloow simple PS context to work.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24728 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2007-02-28 12:27:10 +00:00
parent 8c5cd78de1
commit 6e1af0cfc0
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2007-02-28 Fred Kiefer <FredKiefer@gmx.de>
* Source/cairo/CairoContext.m (-initWithContextInfo:): Set self
from super call to get PS contexts working.
2007-02-28 Nicola Pero <nicola.pero@meta-innovation.com>
* configure.ac: Use gnustep-config to set GNUSTEP_MAKEFILES

View file

@ -59,10 +59,9 @@
{
NSString *contextType;
[super initWithContextInfo:info];
contextType = [info objectForKey:
NSGraphicsContextRepresentationFormatAttributeName];
self = [super initWithContextInfo: info];
if (contextType)
{
/* Most likely this is a PS or PDF context, so just return what