[gnome-software/wip/hughsie/unique_id: 6/10] trivial: Add some debugging when getting key colors
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/hughsie/unique_id: 6/10] trivial: Add some debugging when getting key colors
- Date: Wed, 3 Aug 2016 15:09:22 +0000 (UTC)
commit ea5d0e768f6aae56543fe6f63483cfb52620adbe
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]