X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=libdocument%2Fev-document-factory.c;h=1f1eb0dbcfb080e5ca34af58fa51384b9e47d240;hb=8ccf26f625ebb4f3f35bf65e5348ec31889aa669;hp=2bed390699618a120f46eca1fbb5d42f1e98a018;hpb=5b49da80cac07713c01828d33be33e23d2895b98;p=evince.git diff --git a/libdocument/ev-document-factory.c b/libdocument/ev-document-factory.c index 2bed3906..1f1eb0db 100644 --- a/libdocument/ev-document-factory.c +++ b/libdocument/ev-document-factory.c @@ -47,6 +47,8 @@ get_compression_from_mime_type (const gchar *mime_type) return EV_COMPRESSION_GZIP; else if (g_ascii_strcasecmp (type, "bz") == 0) return EV_COMPRESSION_BZIP2; + else if (g_ascii_strcasecmp (type, "xz") == 0) + return EV_COMPRESSION_LZMA; } return EV_COMPRESSION_NONE;