[gnome-games/gnome-3-32] desktop: Don't search the MIME type
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/gnome-3-32] desktop: Don't search the MIME type
- Date: Wed, 20 Mar 2019 05:00:10 +0000 (UTC)
commit a271cdaecb7fa0fed15e6379bb77b374e9b6457e
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date: Tue Mar 19 20:04:32 2019 +0000
desktop: Don't search the MIME type
Prevents the app from checking every desktop file in the system.
(cherry picked from commit 20becd46a1a32dec0dd85acbbafb35ee7c795be2)
plugins/desktop/src/desktop-plugin.vala | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/plugins/desktop/src/desktop-plugin.vala b/plugins/desktop/src/desktop-plugin.vala
index 62d51582..9b00950c 100644
--- a/plugins/desktop/src/desktop-plugin.vala
+++ b/plugins/desktop/src/desktop-plugin.vala
@@ -11,10 +11,6 @@ private class Games.DesktopPlugin : Object, Plugin {
platform = new GenericPlatform (PLATFORM_ID, PLATFORM_NAME);
}
- public string[] get_mime_types () {
- return { MIME_TYPE };
- }
-
public UriSource[] get_uri_sources () {
var query = new DesktopTrackerUriQuery ();
try {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]