[gnome-color-manager] trivial: Fix the compile against glib git master by porting the in use API
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] trivial: Fix the compile against glib git master by porting the in use API
- Date: Tue, 25 May 2010 11:17:46 +0000 (UTC)
commit 7046eaedf0fb419ff24a6a8d5be07e5cfe67f6c4
Author: Richard Hughes <richard hughsie com>
Date: Tue May 25 12:07:12 2010 +0100
trivial: Fix the compile against glib git master by porting the in use API
src/gcm-inspect.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/gcm-inspect.c b/src/gcm-inspect.c
index 8f7cdc2..90ad536 100644
--- a/src/gcm-inspect.c
+++ b/src/gcm-inspect.c
@@ -186,6 +186,7 @@ gcm_inspect_show_profiles_for_device (const gchar *device_id)
GCM_DBUS_INTERFACE,
"GetProfilesForDevice",
args,
+ G_VARIANT_TYPE ("(a(ss))"),
G_DBUS_CALL_FLAGS_NONE,
-1, NULL, &error);
if (response == NULL) {
@@ -254,6 +255,7 @@ gcm_inspect_show_profiles_for_file (const gchar *filename)
GCM_DBUS_INTERFACE,
"GetProfilesForFile",
args,
+ G_VARIANT_TYPE ("(a(ss))"),
G_DBUS_CALL_FLAGS_NONE,
-1, NULL, &error);
if (response == NULL) {
@@ -320,6 +322,7 @@ gcm_inspect_show_profiles_for_devices (void)
GCM_DBUS_INTERFACE,
"GetDevices",
NULL,
+ G_VARIANT_TYPE ("(as)"),
G_DBUS_CALL_FLAGS_NONE,
-1, NULL, &error);
if (response == NULL) {
@@ -381,6 +384,7 @@ gcm_inspect_show_profile_for_window (guint xid)
GCM_DBUS_INTERFACE,
"GetProfileForWindow",
args,
+ G_VARIANT_TYPE ("(s)"),
G_DBUS_CALL_FLAGS_NONE,
-1, NULL, &error);
if (response == NULL) {
@@ -450,6 +454,7 @@ gcm_inspect_show_profiles_for_type (const gchar *type)
GCM_DBUS_INTERFACE,
"GetProfilesForType",
args,
+ G_VARIANT_TYPE ("(a(ss))"),
G_DBUS_CALL_FLAGS_NONE,
-1, NULL, &error);
if (response == NULL) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]