[gnome-games/wip/exalm/desktop] desktop: Don't search the MIME type



commit 20becd46a1a32dec0dd85acbbafb35ee7c795be2
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Wed Mar 20 01:04:32 2019 +0500

    desktop: Don't search the MIME type
    
    Prevents the app from checking every desktop file in the system.

 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]