From 67513dc3f5f2e94921cb30a3854ec9641ef1723f Mon Sep 17 00:00:00 2001 From: Sophie Herold Date: Sun, 28 Jan 2024 14:15:57 +0100 Subject: [PATCH] window: Stop adding svg mime manually This was from way back when glycin didn't support SVGs yet. --- src/window.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/window.rs b/src/window.rs index de90f16..ff6aef1 100644 --- a/src/window.rs +++ b/src/window.rs @@ -544,9 +544,6 @@ impl LpWindow { for mime_type in glycin::image_formats().await { filter_supported_formats.add_mime_type(&mime_type); } - // TODO: Update when SVG moves to glycin as well - filter_supported_formats.add_mime_type("image/svg+xml"); - filter_supported_formats.add_mime_type("image/svg+xml-compressed"); let filter_all_files = gtk::FileFilter::new(); filter_all_files.set_name(Some(&gettext("All files")));