[gnome-color-manager] trivial: Create the correct type of device when adding printers
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] trivial: Create the correct type of device when adding printers
- Date: Tue, 9 Feb 2010 18:21:20 +0000 (UTC)
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]