Replace deprecated function (#6563)

This commit is contained in:
Lawrence Lee 2022-09-11 15:10:04 -07:00
parent aa02ee8c49
commit a2394e08ce
No known key found for this signature in database
GPG Key ID: 048FF2B76A63895F

View File

@ -241,7 +241,7 @@ Cairo::RefPtr<Cairo::ImageSurface> RTScalable::loadImage(const Glib::ustring &fn
c->set_operator (Cairo::OPERATOR_OVER);
c->scale(r, r);
rsvg_handle_render_cairo(handle, c->cobj());
rsvg_handle_free(handle);
g_object_unref(handle);
// -------------------- Saving the image in cache --------------------