diff options
author | George Matsumura <gmmatsumura01@bvsd.org> | 2020-08-30 20:57:04 -0600 |
---|---|---|
committer | Uli Schlachter <psychon@znc.in> | 2020-09-02 10:29:04 +0000 |
commit | c8d82cffdfba9c7c380fbdf120b3f6dd81e28d24 (patch) | |
tree | 3939a5a2a8b1eda30219ec9e10eca73a1a85115d /test/svg2png.c | |
parent | f2cb9ba49a222c6e17603f5fb8cbb02f82d0bbf7 (diff) | |
download | cairo-c8d82cffdfba9c7c380fbdf120b3f6dd81e28d24.tar.gz |
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>
Diffstat (limited to 'test/svg2png.c')
-rw-r--r-- | test/svg2png.c | 3 |
1 files changed, 0 insertions, 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; } |