[gnome-software/gnome-3-14] trivial: Move a debug statement to reduce debug spew



commit 4d7f50a9986097fd22c126e03bb7f565323a5b43
Author: Debarshi Ray <debarshir gnome org>
Date:   Thu Nov 6 14:04:25 2014 +0100

    trivial: Move a debug statement to reduce debug spew
    
    https://bugzilla.gnome.org/show_bug.cgi?id=739731

 src/gs-application.c   |    1 -
 src/gs-plugin-loader.c |    2 ++
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-application.c b/src/gs-application.c
index ac26ade..4e069ea 100644
--- a/src/gs-application.c
+++ b/src/gs-application.c
@@ -115,7 +115,6 @@ network_changed_cb (GNetworkMonitor *monitor,
                    gboolean available,
                    GsApplication *app)
 {
-       g_debug ("*** Network status change: %s", available ? "online" : "offline");
        gs_plugin_loader_set_network_status (app->plugin_loader, available);
 }
 
diff --git a/src/gs-plugin-loader.c b/src/gs-plugin-loader.c
index d99849d..034451f 100644
--- a/src/gs-plugin-loader.c
+++ b/src/gs-plugin-loader.c
@@ -3006,6 +3006,8 @@ gs_plugin_loader_set_network_status (GsPluginLoader *plugin_loader,
        if (plugin_loader->priv->online == online)
                return;
 
+       g_debug ("*** Network status change: %s", online ? "online" : "offline");
+
        plugin_loader->priv->online = online;
 
        if (!online)


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