[gnome-software/wip/temp/ubuntu-xenial-rebased-corrected: 77/331] Remove debugging - we don't need it anymore



commit e72efb6251cc8df23c16b5a4060d3a287017e34d
Author: Robert Ancell <robert ancell canonical com>
Date:   Wed Feb 10 16:00:23 2016 +1300

    Remove debugging - we don't need it anymore

 src/plugins/gs-plugin-apt.c |   29 -----------------------------
 1 files changed, 0 insertions(+), 29 deletions(-)
---
diff --git a/src/plugins/gs-plugin-apt.c b/src/plugins/gs-plugin-apt.c
index e79a24a..1ed3eae 100644
--- a/src/plugins/gs-plugin-apt.c
+++ b/src/plugins/gs-plugin-apt.c
@@ -233,23 +233,6 @@ refine (GsPlugin *plugin,
        gboolean known_apps = FALSE;
        g_autofree gchar **dpkg_argv = NULL, **cache_argv = NULL, *dpkg_stdout = NULL, *cache_stdout = NULL, 
*dpkg_stderr = NULL, *cache_stderr = NULL;
 
-       /*g_printerr ("APT: gs_plugin_refine");
-       for (link = *list; link; link = link->next) {
-               GsApp *app = GS_APP (link->data);
-               g_printerr (" %s", gs_app_get_id (app));
-       }
-       if ((flags & GS_PLUGIN_REFINE_FLAGS_REQUIRE_LICENCE) != 0)
-               g_printerr (" LICENCE");
-       if ((flags & GS_PLUGIN_REFINE_FLAGS_REQUIRE_SIZE) != 0)
-               g_printerr (" SIZE");
-       if ((flags & GS_PLUGIN_REFINE_FLAGS_REQUIRE_VERSION) != 0)
-               g_printerr (" VERSION");
-       if ((flags & GS_PLUGIN_REFINE_FLAGS_REQUIRE_HISTORY) != 0)
-               g_printerr (" HISTORY");
-       if ((flags & GS_PLUGIN_REFINE_FLAGS_REQUIRE_UPDATE_DETAILS) != 0)
-               g_printerr (" UPDATE_DETAILS");
-       g_printerr ("\n");*/
-
        // Get the information from the cache
        dpkg_argv_array = g_ptr_array_new ();
        g_ptr_array_add (dpkg_argv_array, (gpointer) "dpkg");
@@ -352,8 +335,6 @@ gs_plugin_add_installed (GsPlugin *plugin,
        gchar **installed;
        int i;
 
-       //g_printerr ("APT: gs_plugin_add_installed\n");
-
        installed = get_installed (error);
        if (installed == NULL)
                return FALSE;
@@ -522,8 +503,6 @@ gs_plugin_app_install (GsPlugin *plugin,
                       GCancellable *cancellable,
                       GError **error)
 {
-       //g_printerr ("APT: gs_plugin_app_install\n");
-
        if (!app_is_ours (app))
                return TRUE;
 
@@ -547,8 +526,6 @@ gs_plugin_app_remove (GsPlugin *plugin,
                      GCancellable *cancellable,
                      GError **error)
 {
-       //g_printerr ("APT: gs_plugin_app_remove\n");
-
        if (!app_is_ours (app))
                return TRUE;
 
@@ -573,8 +550,6 @@ gs_plugin_refresh (GsPlugin *plugin,
                   GCancellable *cancellable,
                   GError **error)
 {
-       //g_printerr ("APT: gs_plugin_refresh\n");
-
        if ((flags & GS_PLUGIN_REFRESH_FLAGS_UPDATES) == 0)
                return TRUE;
 
@@ -589,8 +564,6 @@ gs_plugin_add_updates (GsPlugin *plugin,
 {
        GList *installed = NULL, *link;
 
-       g_printerr ("APT: gs_plugin_add_updates\n");
-
        // Get the version of everything installed
        // FIXME: Checks all the packages we don't have appstream data for (so inefficient)
        if (!gs_plugin_add_installed (plugin, &installed, NULL, error) ||
@@ -619,8 +592,6 @@ gs_plugin_app_update (GsPlugin *plugin,
                      GCancellable *cancellable,
                      GError **error)
 {
-       g_printerr ("APT: gs_plugin_app_update\n");
-
        if (!app_is_ours (app))
                return TRUE;
 


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