[gnome-color-manager] trivial: add some debugging to make testing easier



commit eaa21a0e2b7ad49c41de4843e79e915b1464f364
Author: Richard Hughes <richard hughsie com>
Date:   Fri Feb 12 14:23:52 2010 +0000

    trivial: add some debugging to make testing easier

 src/gcm-calibrate.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/gcm-calibrate.c b/src/gcm-calibrate.c
index 5a9597d..189704f 100644
--- a/src/gcm-calibrate.c
+++ b/src/gcm-calibrate.c
@@ -871,7 +871,9 @@ gcm_calibrate_device (GcmCalibrate *calibrate, GtkWindow *window, GError **error
 	}
 
 	/* use the exif data if there is any present */
-	gcm_calibrate_set_from_exif (calibrate, reference_image, NULL);
+	ret = gcm_calibrate_set_from_exif (calibrate, reference_image, NULL);
+	if (!ret)
+		egg_debug ("no EXIF data, so using device attributes");
 
 	/* get reference data */
 	directory = has_shared_targets ? "/usr/share/color/targets" : "/media";



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