Revert ABI breakage
authorJosselin Mouette <joss@debian.org>
Tue, 19 Dec 2017 23:31:53 +0000 (18:31 -0500)
committerBoyuan Yang <byang@debian.org>
Thu, 25 Apr 2019 19:55:18 +0000 (20:55 +0100)
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 af66b5e83e7fccd975270456b51584493865497c..01eda9256dfdab814f056b309890189b309b9af5 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:
  *