mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-26 07:40:10 +01:00
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:
parent
f2cb9ba49a
commit
c8d82cffdf
1 changed files with 0 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue