[eog: 2/6] Assume librsvg has support for svgz images



commit 233c5188dc88cd7ce90b2f5f34f74d9055f7ee41
Author: Federico Mena Quintero <federico gnome org>
Date:   Wed Feb 20 14:14:54 2019 -0600

    Assume librsvg has support for svgz images
    
    This has been the case, and not optional in librsvg, since 2011 :)

 src/eog-image.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/src/eog-image.c b/src/eog-image.c
index b67ab7c2..72f07e39 100644
--- a/src/eog-image.c
+++ b/src/eog-image.c
@@ -974,9 +974,7 @@ eog_image_real_load (EogImage *img,
                }
 
                if (!strcmp (mime_type, "image/svg+xml")
-#if LIBRSVG_CHECK_FEATURE(SVGZ)
                    || !strcmp (mime_type, "image/svg+xml-compressed")
-#endif
                ) {
                        gchar *file_path;
                        /* Keep the object for rendering */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]