Convert remaining RTPixbuf to RTSurface
Changes: - Remove RTPixbuf use in directory browser to use native GTK mechanism - Replace RTPixbuf by RTSurface for thumbnail icons - Remove now useless RTPixbuf class Fixes: - Elaborate RTSurface width / height based on the type
This commit is contained in:
@@ -138,7 +138,7 @@ Cairo::RefPtr<Cairo::ImageSurface> RTScalable::loadSurfaceFromSVG(const Glib::us
|
||||
// Directly use fname as a path
|
||||
path = fname;
|
||||
} else {
|
||||
// Look for PNG file in "images" folder
|
||||
// Look for SVG file in "images" folder
|
||||
Glib::ustring imagesFolder = Glib::build_filename(DATA_SEARCH_PATH, "images");
|
||||
path = Glib::build_filename(imagesFolder, fname);
|
||||
}
|
||||
|
Reference in New Issue
Block a user