Fix compile warning and use cairo_paint() instead of querying the widget size and cairo_fill()ing it.