[gnome-software] trivial: Add some debugging when getting key colors
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Add some debugging when getting key colors
- Date: Sat, 6 Aug 2016 20:07:53 +0000 (UTC)
commit c7a4451d7ecf98edae59fb2b0fce0af827167c40
Author: Richard Hughes <richard hughsie com>
Date: Wed Aug 3 15:07:00 2016 +0100
trivial: Add some debugging when getting key colors
src/plugins/gs-plugin-key-colors.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-plugin-key-colors.c b/src/plugins/gs-plugin-key-colors.c
index b3b32d1..65f31ea 100644
--- a/src/plugins/gs-plugin-key-colors.c
+++ b/src/plugins/gs-plugin-key-colors.c
@@ -175,8 +175,10 @@ gs_plugin_refine_app (GsPlugin *plugin,
/* no pixbuf */
pb = gs_app_get_pixbuf (app);
- if (pb == NULL)
+ if (pb == NULL) {
+ g_debug ("no pixbuf, so no key colors");
return TRUE;
+ }
/* get a list of key colors */
pb_small = gdk_pixbuf_scale_simple (pb, 32, 32, GDK_INTERP_BILINEAR);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]