[gnome-software/wip/temp/ubuntu-xenial-rebased-corrected: 277/331] Disable the snappy plugin



commit 0ee09937f2ab7ebf2f5ba58754cf585aff610446
Author: William Hua <william hua canonical com>
Date:   Mon Apr 18 13:58:11 2016 -0400

    Disable the snappy plugin

 src/plugins/gs-plugin-snappy.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/src/plugins/gs-plugin-snappy.c b/src/plugins/gs-plugin-snappy.c
index 76035f8..14e5f34 100644
--- a/src/plugins/gs-plugin-snappy.c
+++ b/src/plugins/gs-plugin-snappy.c
@@ -46,11 +46,7 @@ gs_plugin_initialize (GsPlugin *plugin)
        /* create private area */
        plugin->priv = GS_PLUGIN_GET_PRIVATE (GsPluginPrivate);
 
-       if (!g_file_test (SNAPD_SOCKET, G_FILE_TEST_EXISTS)) {
-               g_debug ("disabling '%s' as no %s available",
-                        plugin->name, SNAPD_SOCKET);
-               gs_plugin_set_enabled (plugin, FALSE);
-       }
+       gs_plugin_set_enabled (plugin, FALSE);
 }
 
 static JsonParser *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]