mark deprecated functions
This commit is contained in:
parent
ea963c73eb
commit
5e269ecaaa
|
@ -178,14 +178,14 @@ cImageImporterSVG::cImageImporterSVG() {
|
||||||
|
|
||||||
cImageImporterSVG::~cImageImporterSVG() {
|
cImageImporterSVG::~cImageImporterSVG() {
|
||||||
if (handle) {
|
if (handle) {
|
||||||
rsvg_handle_close(handle, NULL);
|
rsvg_handle_close(handle, NULL); // deprecated since version 2.46
|
||||||
g_object_unref(handle);
|
g_object_unref(handle);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool cImageImporterSVG::LoadImage(const char *path) {
|
bool cImageImporterSVG::LoadImage(const char *path) {
|
||||||
if (handle) {
|
if (handle) {
|
||||||
rsvg_handle_close(handle, NULL);
|
rsvg_handle_close(handle, NULL); // deprecated since version 2.46
|
||||||
g_object_unref(handle);
|
g_object_unref(handle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue