[gnome-software/package-rebase: 2/2] Remove temp debugging code
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/package-rebase: 2/2] Remove temp debugging code
- Date: Fri, 15 Jan 2016 02:18:18 +0000 (UTC)
commit 14088b99440e88d9f61af63eb851fc8fa78f6755
Author: Robert Ancell <robert ancell canonical com>
Date: Fri Jan 15 15:17:53 2016 +1300
Remove temp debugging code
src/plugins/gs-plugin-ubuntu-reviews.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-plugin-ubuntu-reviews.c b/src/plugins/gs-plugin-ubuntu-reviews.c
index feda832..5a52018 100644
--- a/src/plugins/gs-plugin-ubuntu-reviews.c
+++ b/src/plugins/gs-plugin-ubuntu-reviews.c
@@ -227,7 +227,6 @@ get_rating (GsPlugin *plugin,
*rating = -1;
else
*rating = ((histogram.one_star_count * 20) + (histogram.two_star_count * 40) +
(histogram.three_star_count * 60) + (histogram.four_star_count * 80) + (histogram.five_star_count * 100)) /
n_ratings;
-g_warning ("%s %zi %zi %zi %zi %zi / %d -> %d", package_name, histogram.one_star_count,
histogram.two_star_count, histogram.three_star_count, histogram.four_star_count, histogram.five_star_count,
n_ratings, *rating);
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]