[gnome-color-manager/colord] Adjust to colord API change



commit cbdee5d3386e44c1211498d66d23c7b4e6be0782
Author: Richard Hughes <richard hughsie com>
Date:   Wed Feb 23 10:42:40 2011 +0000

    Adjust to colord API change

 src/gcm-session.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/src/gcm-session.c b/src/gcm-session.c
index 3dc7366..962f99d 100644
--- a/src/gcm-session.c
+++ b/src/gcm-session.c
@@ -454,6 +454,7 @@ gcm_session_device_assign (CdDevice *device)
 	GcmEdid *edid = NULL;
 	GcmX11Output *output = NULL;
 	GError *error = NULL;
+	const gchar *qualifier_default[] = { "*", NULL};
 
 	/* check we care */
 	kind = cd_device_get_kind (device);
@@ -507,10 +508,10 @@ gcm_session_device_assign (CdDevice *device)
 	}
 
 	/* get the default profile for the device */
-	profile = cd_device_get_profile_for_qualifier_sync (device,
-							    "*",
-							    NULL,
-							    &error);
+	profile = cd_device_get_profile_for_qualifiers_sync (device,
+							     qualifier_default,
+							     NULL,
+							     &error);
 	if (profile == NULL) {
 		g_debug ("%s has no default profile to set: %s",
 			 cd_device_get_id (device),



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