Non used svg2png cache folders are now deleted when exiting RT

see #3547
This commit is contained in:
Hombre
2019-01-02 22:39:49 +01:00
parent 4ee5c96392
commit 92ed81a1fe
5 changed files with 59 additions and 12 deletions

View File

@@ -898,18 +898,8 @@ bool MyExpander::on_toggle(GdkEventButton* event)
if (!useEnabled) {
if (isVisible) {
statusImage->set(closedImage->get_surface());
if (closedImage->get_surface().operator bool()) {
Cairo::RefPtr<Cairo::ImageSurface> p = closedImage->get_surface();
int w = p->get_width();
int h = p->get_height();
}
} else {
statusImage->set(openedImage->get_surface());
if (openedImage->get_surface().operator bool()) {
Cairo::RefPtr<Cairo::ImageSurface> p = openedImage->get_surface();
int w = p->get_width();
int h = p->get_height();
}
}
}