From c8d82cffdfba9c7c380fbdf120b3f6dd81e28d24 Mon Sep 17 00:00:00 2001 From: George Matsumura Date: Sun, 30 Aug 2020 20:57:04 -0600 Subject: [PATCH] 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 --- test/svg2png.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/svg2png.c b/test/svg2png.c index 52f52d08f..92c6366aa 100644 --- a/test/svg2png.c +++ b/test/svg2png.c @@ -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; }