From 3df2e877135d7ad022e7088a2ff9f8fb36b35542 Mon Sep 17 00:00:00 2001 From: Jaikumar Ganesh Date: Fri, 29 Apr 2011 14:01:03 -0700 Subject: [PATCH] Fix property type of Main Channel of Health plugin The property type must be DBUS_TYPE_OBJECT_PATH instead of DBUS_TYPE_STRING. This is in sync with the documentation and with the other places of usage such as the property change signal. --- health/hdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/health/hdp.c b/health/hdp.c index 6f2c89d89..d53ea80cb 100644 --- a/health/hdp.c +++ b/health/hdp.c @@ -2058,7 +2058,7 @@ static DBusMessage *device_get_properties(DBusConnection *conn, path = g_strdup(device->fr->path); else path = g_strdup(""); - dict_append_entry(&dict, "MainChannel", DBUS_TYPE_STRING, &path); + dict_append_entry(&dict, "MainChannel", DBUS_TYPE_OBJECT_PATH, &path); g_free(path); dbus_message_iter_close_container(&iter, &dict); -- 2.47.3