mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 07:21:02 +00:00
* Headers/x11/XGServer.h: Add #include of config.h.
* Source/art/path.m (-DPSrectfill::::), * Source/xlib/XGGState.m (-DPSrectfill::::): Change name of local variable to avoid compiler warning. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@33365 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
26e096a1b5
commit
590eedf3c0
4 changed files with 18 additions and 12 deletions
|
@ -1,3 +1,7 @@
|
|||
2011-06-22 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Headers/x11/XGServer.h: Add #include of config.h.
|
||||
|
||||
2011-06-15 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/cairo/CairoContext.m (-supportsDrawGState),
|
||||
|
|
|
@ -29,6 +29,8 @@
|
|||
#ifndef _XGServer_h_INCLUDE
|
||||
#define _XGServer_h_INCLUDE
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <GNUstepGUI/GSDisplayServer.h>
|
||||
#include <X11/Xatom.h>
|
||||
#include <X11/Xlib.h>
|
||||
|
|
|
@ -984,13 +984,13 @@ static void clip_svp_callback(void *data, int y, int start,
|
|||
|
||||
if (pattern != nil)
|
||||
{
|
||||
NSBezierPath *path;
|
||||
NSBezierPath *rpath;
|
||||
|
||||
path = [[NSBezierPath alloc] init];
|
||||
[path appendBezierPathWithRect: NSMakeRect(x, y, w, h)];
|
||||
[path transformUsingAffineTransform: ctm];
|
||||
[self fillPath: path withPattern: pattern];
|
||||
RELEASE(path);
|
||||
rpath = [[NSBezierPath alloc] init];
|
||||
[rpath appendBezierPathWithRect: NSMakeRect(x, y, w, h)];
|
||||
[rpath transformUsingAffineTransform: ctm];
|
||||
[self fillPath: rpath withPattern: pattern];
|
||||
RELEASE(rpath);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -1543,13 +1543,13 @@ static Region emptyRegion;
|
|||
|
||||
if (pattern != nil)
|
||||
{
|
||||
NSBezierPath *path;
|
||||
NSBezierPath *rpath;
|
||||
|
||||
path = [[NSBezierPath alloc] init];
|
||||
[path appendBezierPathWithRect: NSMakeRect(x, y, w, h)];
|
||||
[path transformUsingAffineTransform: ctm];
|
||||
[self fillPath: path withPattern: pattern];
|
||||
RELEASE(path);
|
||||
rpath = [[NSBezierPath alloc] init];
|
||||
[rpath appendBezierPathWithRect: NSMakeRect(x, y, w, h)];
|
||||
[rpath transformUsingAffineTransform: ctm];
|
||||
[self fillPath: rpath withPattern: pattern];
|
||||
RELEASE(rpath);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue