[gnome-color-manager/colord: 64/72] Adjust to colord API change
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-color-manager/colord: 64/72] Adjust to colord API change
- Date: Tue, 8 Mar 2011 11:28:43 +0000 (UTC)
commit 7362882c5417e096fa65b241c25f7733270fa6b9
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]