Commit a5fd7d91 authored by Alan Coopersmith's avatar Alan Coopersmith

Bug #6420 <https://bugs.freedesktop.org/show_bug.cgi?id=6420> Patch #5103

    <https://bugs.freedesktop.org/attachment.cgi?id=5103> xclock code
    contains wrong "ifdef RENDER" (Kirill Belokurov)
parent 57647f74
2006-03-28 Alan Coopersmith <alan.coopersmith@sun.com>
* Clock.c:
* XClock-color.ad:
Bug #6420 <https://bugs.freedesktop.org/show_bug.cgi?id=6420>
Patch #5103 <https://bugs.freedesktop.org/attachment.cgi?id=5103>
xclock code contains wrong "ifdef RENDER" (Kirill Belokurov)
2005-12-20 Kevin E. Martin <kem-at-freedesktop-dot-org>
* configure.ac:
......
......@@ -1140,11 +1140,11 @@ Destroy(Widget gw)
{
ClockWidget w = (ClockWidget) gw;
if (w->clock.interval_id) XtRemoveTimeOut (w->clock.interval_id);
#ifdef RENDER
#ifdef XRENDER
if (w->clock.picture)
XRenderFreePicture (dpy, w->clock.picture);
XRenderFreePicture (XtDisplay(w), w->clock.picture);
if (w->clock.fill_picture)
XRenderFreePicture (dpy, w->clock.fill_picture);
XRenderFreePicture (XtDisplay(w), w->clock.fill_picture);
#endif
XtReleaseGC (gw, w->clock.myGC);
XtReleaseGC (gw, w->clock.HighGC);
......
......@@ -2,10 +2,9 @@
#include "XClock"
#ifdef RENDER
XClock.Clock.hourColor: rgba:7f/00/00/c0
XClock.Clock.minuteColor: rgba:00/7f/7f/c0
XClock.Clock.secondColor: rgba:00/00/ff/80
XClock.Clock.majorColor: rgba:7f/00/00/c0
XClock.Clock.minorColor: rgba:00/7f/7f/c0
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment