[gnome-color-manager] trivial: add some simple debugging to chase down a bug



commit 94dc51a880611151943116d39d1674e0d0fdb4fd
Author: Richard Hughes <richard hughsie com>
Date:   Wed Oct 13 16:27:11 2010 +0100

    trivial: add some simple debugging to chase down a bug

 libcolor-glib/gcm-sensor-huey.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libcolor-glib/gcm-sensor-huey.c b/libcolor-glib/gcm-sensor-huey.c
index 4b2c671..7bfc328 100644
--- a/libcolor-glib/gcm-sensor-huey.c
+++ b/libcolor-glib/gcm-sensor-huey.c
@@ -706,6 +706,8 @@ gcm_sensor_huey_sample_thread_cb (GSimpleAsyncResult *res, GObject *object, GCan
 						   2000.0f,
 						   HUEY_XYZ_POST_MULTIPLY_SCALE_FACTOR);
 
+	egg_debug ("finished values: red=%0.6lf, green=%0.6lf, blue=%0.6lf", color_result.X, color_result.Y, color_result.Z);
+
 	/* save result */
 	tmp = g_new0 (GcmColorXYZ, 1);
 	gcm_color_copy_XYZ (&color_result, tmp);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]