[gnome-software] Make debug env vars always available
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Make debug env vars always available
- Date: Tue, 10 Sep 2013 17:24:45 +0000 (UTC)
commit ccad1b110390be948d01e1f614152e8c9fa299e2
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Sep 10 13:23:56 2013 -0400
Make debug env vars always available
No harm in doing so, and it helps artists test their
featured artwork.
src/plugins/gs-plugin-hardcoded-popular.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/gs-plugin-hardcoded-popular.c b/src/plugins/gs-plugin-hardcoded-popular.c
index d835b9d..2544c5e 100644
--- a/src/plugins/gs-plugin-hardcoded-popular.c
+++ b/src/plugins/gs-plugin-hardcoded-popular.c
@@ -81,7 +81,6 @@ gs_plugin_add_popular (GsPlugin *plugin,
const gint n = G_N_ELEMENTS (apps);
gint d, i, k;
-#ifdef DEBUG
if (g_getenv ("GNOME_SOFTWARE_POPULAR")) {
gchar **popular;
@@ -94,7 +93,6 @@ gs_plugin_add_popular (GsPlugin *plugin,
g_strfreev (popular);
return TRUE;
}
-#endif
date = g_date_time_new_now_utc ();
d = (((gint)g_date_time_get_day_of_year (date)) % (G_N_ELEMENTS (primes) * 3)) / 3;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]