[gnome-initial-setup] software: Use g_debug for debug prints
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup] software: Use g_debug for debug prints
- Date: Tue, 13 Sep 2016 13:39:04 +0000 (UTC)
commit 50f47a91561c2abaaad43363098fe414eddcf5cc
Author: Kalev Lember <klember redhat com>
Date: Tue Sep 13 15:35:26 2016 +0200
software: Use g_debug for debug prints
.../pages/software/gis-software-page.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnome-initial-setup/pages/software/gis-software-page.c
b/gnome-initial-setup/pages/software/gis-software-page.c
index 9e58d47..8e93dda 100644
--- a/gnome-initial-setup/pages/software/gis-software-page.c
+++ b/gnome-initial-setup/pages/software/gis-software-page.c
@@ -199,7 +199,7 @@ enable_repos (GisSoftwarePage *page,
/* enable each repo */
for (i = 0; repo_ids[i] != NULL; i++)
{
- g_print ("%s proprietary software source: %s\n", enable ? "Enable" : "Disable", repo_ids[i]);
+ g_debug ("%s proprietary software source: %s", enable ? "Enable" : "Disable", repo_ids[i]);
priv->enable_count++;
pk_client_repo_enable_async (PK_CLIENT (priv->task),
@@ -226,7 +226,7 @@ gis_software_page_apply (GisPage *gis_page,
enable = gtk_switch_get_active (GTK_SWITCH (priv->proprietary_switch));
- g_print ("%s proprietary software sources\n", enable ? "Enable" : "Disable");
+ g_debug ("%s proprietary software sources", enable ? "Enable" : "Disable");
g_settings_set_boolean (priv->software_settings, "show-nonfree-software", enable);
/* don't prompt for the same thing again in gnome-software */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]