Tk Source Code

Check-in [e10a6d52]
Login
EuroTcl/OpenACS 11 - 12 JULY 2024, VIENNA

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix unused variable warnings.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | mistake | crashes
Files: files | file ages | folders
SHA3-256: e10a6d52df01649a3fd043d0ab215700c70135d16443678fdeb60857568aff08
User & Date: culler 2024-06-16 17:19:07
Context
2024-06-16
17:19
Fix unused variable warnings. Closed-Leaf check-in: e10a6d52 user: culler tags: mistake, crashes
16:49
Disable Tk_ClipDrawableToRect. check-in: 09dab168 user: culler tags: mistake, crashes
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to macosx/tkMacOSXDraw.c.

1567
1568
1569
1570
1571
1572
1573


1574
1575
1576
1577
1578
1579
1580
void
Tk_ClipDrawableToRect(
    TCL_UNUSED(Display *),
    Drawable d,
    int x, int y,
    int width, int height)
{


#if 0
    MacDrawable *macDraw = (MacDrawable *)d;

    if (macDraw->drawRgn) {
	CFRelease(macDraw->drawRgn);
	macDraw->drawRgn = NULL;
    }







>
>







1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
void
Tk_ClipDrawableToRect(
    TCL_UNUSED(Display *),
    Drawable d,
    int x, int y,
    int width, int height)
{
    (void) d, x, y, width, height;
    
#if 0
    MacDrawable *macDraw = (MacDrawable *)d;

    if (macDraw->drawRgn) {
	CFRelease(macDraw->drawRgn);
	macDraw->drawRgn = NULL;
    }