Revert ABI breakage
authorJosselin Mouette <joss@debian.org>
Tue, 19 Dec 2017 23:31:53 +0000 (18:31 -0500)
committerPeter Michael Green <plugwash@raspbian.org>
Sat, 24 Nov 2018 14:17:53 +0000 (14:17 +0000)
Provide the rsvg_handle_new_gz function.
Do not provide the C prototype to force
applications using it to use rsvg_handle_new instead.

Gbp-Pq: Name 10_rsvg-gz.patch

librsvg/rsvg-handle.c

index ecdffdfb21cc6a2225b594fc364e2e1416707156..e9285aae954efcaa3591495fd1b475e5b7516618 100644 (file)
@@ -405,6 +405,13 @@ rsvg_handle_free (RsvgHandle * handle)
     g_object_unref (handle);
 }
 
+/* Debian-specific, for compatibility with old ABI */
+RsvgHandle *
+rsvg_handle_new_gz (void)
+{
+    return rsvg_handle_new ();
+}
+
 /**
  * rsvg_handle_new:
  *