diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2012-11-12 16:19:52 -0500 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2012-11-12 16:20:30 -0500 |
commit | ed8a7cbf05c9abd52fd71346f4dede8c1b64b858 (patch) | |
tree | 8129a9134e4f95fcaf5b321e49c0c5c681757767 | |
parent | 21be3b4039de684e34dd4f5ed0b192a6ca3ac2cd (diff) | |
download | nautilus-ed8a7cbf05c9abd52fd71346f4dede8c1b64b858.tar.gz |
search-engine-simple: use g_content_type_is_a()
Make it consistent with the model engine - the mimetypes don't need to
match exactly.
-rw-r--r-- | libnautilus-private/nautilus-search-engine-simple.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnautilus-private/nautilus-search-engine-simple.c b/libnautilus-private/nautilus-search-engine-simple.c index 1bed07b82..84b08f762 100644 --- a/libnautilus-private/nautilus-search-engine-simple.c +++ b/libnautilus-private/nautilus-search-engine-simple.c @@ -242,7 +242,7 @@ visit_directory (GFile *dir, SearchThreadData *data) found = FALSE; for (l = data->mime_types; mime_type != NULL && l != NULL; l = l->next) { - if (g_content_type_equals (mime_type, l->data)) { + if (g_content_type_is_a (mime_type, l->data)) { found = TRUE; break; } |