Enhancing RTSurface: 'surface' now private

This commit is contained in:
Hombre
2019-03-19 20:45:12 +01:00
parent 28b785682a
commit d059caa7de
4 changed files with 13 additions and 3 deletions

View File

@@ -205,7 +205,7 @@ void LWButton::redraw (Cairo::RefPtr<Cairo::Context> context)
}
if (icon) {
context->set_source (icon->surface, xpos + dilat, ypos + dilat);
context->set_source (icon->get(), xpos + dilat, ypos + dilat);
context->paint ();
}
}