diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-08-21 14:06:54 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-08-21 14:06:54 (GMT) |
commit | aa7b5aca7453deb72f795bcac257cb64ee9fe76e (patch) | |
tree | 5ab0edff8ccd94cacd9aba35feecb823a0548d67 /xlib/xgc.c | |
parent | c3a1c1de43aa94d3bd7fafe4e993976573caa782 (diff) | |
parent | 6560e31a6006a2aec8c95564ec8287088c2e11de (diff) | |
download | tk-aa7b5aca7453deb72f795bcac257cb64ee9fe76e.zip tk-aa7b5aca7453deb72f795bcac257cb64ee9fe76e.tar.gz tk-aa7b5aca7453deb72f795bcac257cb64ee9fe76e.tar.bz2 |
Merge 8.6
Diffstat (limited to 'xlib/xgc.c')
-rw-r--r-- | xlib/xgc.c | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -50,10 +50,6 @@ static TkpClipMask *AllocClipMask(GC gc) { if (clip_mask == NULL) { clip_mask = (TkpClipMask *)ckalloc(sizeof(TkpClipMask)); gc->clip_mask = (Pixmap) clip_mask; -#ifdef MAC_OSX_TK - } else if (clip_mask->type == TKP_CLIP_REGION) { - TkpReleaseRegion(clip_mask->value.region); -#endif } return clip_mask; } @@ -76,11 +72,6 @@ static TkpClipMask *AllocClipMask(GC gc) { static void FreeClipMask(GC gc) { if (gc->clip_mask != None) { -#ifdef MAC_OSX_TK - if (((TkpClipMask*) gc->clip_mask)->type == TKP_CLIP_REGION) { - TkpReleaseRegion(((TkpClipMask*) gc->clip_mask)->value.region); - } -#endif ckfree((char *)gc->clip_mask); gc->clip_mask = None; } @@ -496,9 +487,6 @@ TkSetRegion( clip_mask->type = TKP_CLIP_REGION; clip_mask->value.region = r; -#ifdef MAC_OSX_TK - TkpRetainRegion(r); -#endif } return Success; } |