6d4e58c6bb
* Patch CK tracker for updated signatures in version 0.3.0 * Bump PKGREVISION
49 lines
1.9 KiB
Text
49 lines
1.9 KiB
Text
$NetBSD: patch-ai,v 1.1 2008/11/24 01:23:12 jmcneill Exp $
|
|
|
|
--- hald/ck-tracker.c.orig 2008-11-23 19:28:23.000000000 -0500
|
|
+++ hald/ck-tracker.c 2008-11-23 19:30:05.000000000 -0500
|
|
@@ -256,7 +256,7 @@ ck_session_get_info (CKTracker *tracker,
|
|
goto error;
|
|
}
|
|
if (!dbus_message_get_args (reply, NULL,
|
|
- DBUS_TYPE_INT32, &(session->user),
|
|
+ DBUS_TYPE_UINT32, &(session->user),
|
|
DBUS_TYPE_INVALID)) {
|
|
HAL_ERROR (("Invalid GetUnixUser reply from CK"));
|
|
goto error;
|
|
@@ -531,7 +531,7 @@ ck_tracker_process_system_bus_message (C
|
|
seat_objpath = dbus_message_get_path (message);
|
|
|
|
if (!dbus_message_get_args (message, NULL,
|
|
- DBUS_TYPE_STRING, &seat_objpath,
|
|
+ DBUS_TYPE_OBJECT_PATH, &seat_objpath,
|
|
DBUS_TYPE_INVALID)) {
|
|
HAL_ERROR (("Invalid SeatAdded signal from CK"));
|
|
goto out;
|
|
@@ -558,7 +558,7 @@ ck_tracker_process_system_bus_message (C
|
|
seat_objpath = dbus_message_get_path (message);
|
|
|
|
if (!dbus_message_get_args (message, NULL,
|
|
- DBUS_TYPE_STRING, &seat_objpath,
|
|
+ DBUS_TYPE_OBJECT_PATH, &seat_objpath,
|
|
DBUS_TYPE_INVALID)) {
|
|
HAL_ERROR (("Invalid SeatRemoved signal from CK"));
|
|
goto out;
|
|
@@ -588,7 +588,7 @@ ck_tracker_process_system_bus_message (C
|
|
seat_objpath = dbus_message_get_path (message);
|
|
|
|
if (!dbus_message_get_args (message, NULL,
|
|
- DBUS_TYPE_STRING, &session_objpath,
|
|
+ DBUS_TYPE_OBJECT_PATH, &session_objpath,
|
|
DBUS_TYPE_INVALID)) {
|
|
HAL_ERROR (("Invalid SessionAdded signal from CK"));
|
|
goto out;
|
|
@@ -624,7 +624,7 @@ ck_tracker_process_system_bus_message (C
|
|
seat_objpath = dbus_message_get_path (message);
|
|
|
|
if (!dbus_message_get_args (message, NULL,
|
|
- DBUS_TYPE_STRING, &session_objpath,
|
|
+ DBUS_TYPE_OBJECT_PATH, &session_objpath,
|
|
DBUS_TYPE_INVALID)) {
|
|
HAL_ERROR (("Invalid SessionRemoved signal from CK"));
|
|
goto out;
|