Commit 489221e8 authored by Tobias Ellinghaus's avatar Tobias Ellinghaus

Fix tool to show icons in paint.c

I changed the API of the paint callbacks a while ago so we have to fix
it here, too.

(cherry picked from commit e8db3674)
parent 17c6eb5c
......@@ -124,7 +124,7 @@ EOF
cairo_line_to(cr, textwidth+2*$BORDER+$column*($ICONWIDTH+$BORDER)+$ICONWIDTH, $BORDER+$row*($ICONHEIGHT+$BORDER)+0.5*$ICONHEIGHT);
cairo_stroke(cr);
cairo_set_source_rgb(cr, .79, .79, .79);
$code(cr, textwidth+3*$BORDER+$column*($ICONWIDTH+$BORDER), 2*$BORDER+$row*($ICONHEIGHT+$BORDER), $ICONWIDTH-2*$BORDER, $ICONHEIGHT-2*$BORDER, $direction);
$code(cr, textwidth+3*$BORDER+$column*($ICONWIDTH+$BORDER), 2*$BORDER+$row*($ICONHEIGHT+$BORDER), $ICONWIDTH-2*$BORDER, $ICONHEIGHT-2*$BORDER, $direction, NULL);
cairo_restore(cr);
EOF
$column++;
......
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