rem: static void paintRuler(Ruler * rPtr)
add: paintRuler(Ruler * rPtr)
context: static void paintRuler(Ruler * rPtr){    if (!rPtr->drawBuffer || !rPtr->view->flags.realized)        return;    if (rPtr->flags.redraw)        drawRulerOnPixmap(rPtr);    XCopyArea(rPtr->view->screen->display, rPtr->drawBuffer,              rPtr->view->window, rPtr->bgGC, 0, 0,              rPtr->view->size.width, 40, 0, 0);}