svg2png: Remove deprecated handle closing function call

rsvg_handle_close is no longer required after creating a handle with
rsvg_handle_new_from_file. It causes a deprecation warning during
compilation as well. This change removes it.

Signed-off-by: George Matsumura <gmmatsumura01@bvsd.org>
This commit is contained in:
George Matsumura 2020-08-30 20:57:04 -06:00 committed by Uli Schlachter
parent f2cb9ba49a
commit c8d82cffdf

View file

@ -80,9 +80,6 @@ int main (int argc, char *argv[])
if (status)
FAIL (cairo_status_to_string (status));
if (!rsvg_handle_close (handle, &error))
FAIL (error->message);
g_object_unref (handle);
return 0;
}