[gnome-color-manager] trivial: Create the correct type of device when adding printers



commit 9034b52b3c7fa80517c4bdaad294b91791a0dfe0
Author: Richard Hughes <richard hughsie com>
Date:   Tue Feb 9 18:04:20 2010 +0000

    trivial: Create the correct type of device when adding printers

 src/gcm-client.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcm-client.c b/src/gcm-client.c
index 751c682..7a6e32c 100644
--- a/src/gcm-client.c
+++ b/src/gcm-client.c
@@ -510,7 +510,7 @@ gcm_client_cups_add (GcmClient *client, cups_dest_t dest)
 	GcmClientPrivate *priv = client->priv;
 
 	/* create new device */
-	device = gcm_device_xrandr_new ();
+	device = gcm_device_cups_new ();
 	ret = gcm_device_cups_set_from_dest (device, priv->http, dest, &error);
 	if (!ret) {
 		egg_debug ("failed to set for output: %s", error->message);



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