summaryrefslogtreecommitdiff
path: root/src/file-utils.c
diff options
context:
space:
mode:
authorToyeesh Sinha <[email protected]>2023-06-14 02:47:44 +0530
committerLuke from DC <[email protected]>2023-06-14 03:36:53 +0000
commit8e33e604d87e90bda3cc748bc1627c164d72a16c (patch)
treec991937febb1a1bfeeeae764fc8c1fa4fdac694c /src/file-utils.c
parent5602738e3eb15652a7e979a9c85fc6478401761c (diff)
downloadengrampa-8e33e604d87e90bda3cc748bc1627c164d72a16c.tar.bz2
engrampa-8e33e604d87e90bda3cc748bc1627c164d72a16c.tar.xz
Update to change the fallback and fix gzip issue
Diffstat (limited to 'src/file-utils.c')
-rw-r--r--src/file-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file-utils.c b/src/file-utils.c
index 4983a7b..6d4f328 100644
--- a/src/file-utils.c
+++ b/src/file-utils.c
@@ -555,7 +555,7 @@ gboolean
is_mime_type (const char *mime_type,
const char *pattern)
{
- return (strcasecmp (mime_type, pattern) == 0);
+ return g_content_type_equals (mime_type, pattern);
}
const char*