[gnome-color-manager] trivial: remove some testing code when no device is specified for gcm-calibrate



commit b8e3d9880d195cb095bd3cec000886ebc2c8e235
Author: Richard Hughes <richard hughsie com>
Date:   Thu Aug 25 12:24:01 2011 +0100

    trivial: remove some testing code when no device is specified for gcm-calibrate

 src/gcm-calibrate-main.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/gcm-calibrate-main.c b/src/gcm-calibrate-main.c
index 00bafa1..da121ac 100644
--- a/src/gcm-calibrate-main.c
+++ b/src/gcm-calibrate-main.c
@@ -2149,10 +2149,8 @@ main (int argc, char **argv)
 
 	/* nothing specified */
 	if (calib->device_id == NULL) {
-		g_print ("did not specify a device ID\n");
-//		calib->device_id = g_strdup ("sysfs-Chicony_Electronics_Co.__Ltd.-Integrated_Camera");
-		calib->device_id = g_strdup ("xrandr-Lenovo Group Limited");
-if(0)		goto out;
+		g_print ("%s\n", _("No device was specified!"));
+		goto out;
 	}
 
 	/* ensure single instance */



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