[gnome-software] trivial: Move a debug statement to reduce debug spew
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Move a debug statement to reduce debug spew
- Date: Mon, 10 Nov 2014 11:58:27 +0000 (UTC)
commit 38fedf3b7dacf235cb0b8b97a36ee569116959db
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]