Lines 256-262
ck_session_get_info (CKTracker *tracker,
Link Here
|
256 |
goto error; |
256 |
goto error; |
257 |
} |
257 |
} |
258 |
if (!dbus_message_get_args (reply, NULL, |
258 |
if (!dbus_message_get_args (reply, NULL, |
|
|
259 |
#ifdef HAVE_CK_0_3 |
260 |
DBUS_TYPE_UINT32, &(session->user), |
261 |
#else |
259 |
DBUS_TYPE_INT32, &(session->user), |
262 |
DBUS_TYPE_INT32, &(session->user), |
|
|
263 |
#endif |
260 |
DBUS_TYPE_INVALID)) { |
264 |
DBUS_TYPE_INVALID)) { |
261 |
HAL_ERROR (("Invalid GetUnixUser reply from CK")); |
265 |
HAL_ERROR (("Invalid GetUnixUser reply from CK")); |
262 |
goto error; |
266 |
goto error; |
Lines 531-537
ck_tracker_process_system_bus_message (C
Link Here
|
531 |
seat_objpath = dbus_message_get_path (message); |
535 |
seat_objpath = dbus_message_get_path (message); |
532 |
|
536 |
|
533 |
if (!dbus_message_get_args (message, NULL, |
537 |
if (!dbus_message_get_args (message, NULL, |
|
|
538 |
#ifdef HAVE_CK_0_3 |
539 |
DBUS_TYPE_OBJECT_PATH, &seat_objpath, |
540 |
#else |
534 |
DBUS_TYPE_STRING, &seat_objpath, |
541 |
DBUS_TYPE_STRING, &seat_objpath, |
|
|
542 |
#endif |
535 |
DBUS_TYPE_INVALID)) { |
543 |
DBUS_TYPE_INVALID)) { |
536 |
HAL_ERROR (("Invalid SeatAdded signal from CK")); |
544 |
HAL_ERROR (("Invalid SeatAdded signal from CK")); |
537 |
goto out; |
545 |
goto out; |
Lines 558-564
ck_tracker_process_system_bus_message (C
Link Here
|
558 |
seat_objpath = dbus_message_get_path (message); |
566 |
seat_objpath = dbus_message_get_path (message); |
559 |
|
567 |
|
560 |
if (!dbus_message_get_args (message, NULL, |
568 |
if (!dbus_message_get_args (message, NULL, |
|
|
569 |
#ifdef HAVE_CK_0_3 |
570 |
DBUS_TYPE_OBJECT_PATH, &seat_objpath, |
571 |
#else |
561 |
DBUS_TYPE_STRING, &seat_objpath, |
572 |
DBUS_TYPE_STRING, &seat_objpath, |
|
|
573 |
#endif |
562 |
DBUS_TYPE_INVALID)) { |
574 |
DBUS_TYPE_INVALID)) { |
563 |
HAL_ERROR (("Invalid SeatRemoved signal from CK")); |
575 |
HAL_ERROR (("Invalid SeatRemoved signal from CK")); |
564 |
goto out; |
576 |
goto out; |
Lines 588-594
ck_tracker_process_system_bus_message (C
Link Here
|
588 |
seat_objpath = dbus_message_get_path (message); |
600 |
seat_objpath = dbus_message_get_path (message); |
589 |
|
601 |
|
590 |
if (!dbus_message_get_args (message, NULL, |
602 |
if (!dbus_message_get_args (message, NULL, |
|
|
603 |
#ifdef HAVE_CK_0_3 |
604 |
DBUS_TYPE_OBJECT_PATH, &session_objpath, |
605 |
#else |
591 |
DBUS_TYPE_STRING, &session_objpath, |
606 |
DBUS_TYPE_STRING, &session_objpath, |
|
|
607 |
#endif |
592 |
DBUS_TYPE_INVALID)) { |
608 |
DBUS_TYPE_INVALID)) { |
593 |
HAL_ERROR (("Invalid SessionAdded signal from CK")); |
609 |
HAL_ERROR (("Invalid SessionAdded signal from CK")); |
594 |
goto out; |
610 |
goto out; |
Lines 624-630
ck_tracker_process_system_bus_message (C
Link Here
|
624 |
seat_objpath = dbus_message_get_path (message); |
640 |
seat_objpath = dbus_message_get_path (message); |
625 |
|
641 |
|
626 |
if (!dbus_message_get_args (message, NULL, |
642 |
if (!dbus_message_get_args (message, NULL, |
|
|
643 |
#ifdef HAVE_CK_0_3 |
644 |
DBUS_TYPE_OBJECT_PATH, &session_objpath, |
645 |
#else |
627 |
DBUS_TYPE_STRING, &session_objpath, |
646 |
DBUS_TYPE_STRING, &session_objpath, |
|
|
647 |
#endif |
628 |
DBUS_TYPE_INVALID)) { |
648 |
DBUS_TYPE_INVALID)) { |
629 |
HAL_ERROR (("Invalid SessionRemoved signal from CK")); |
649 |
HAL_ERROR (("Invalid SessionRemoved signal from CK")); |
630 |
goto out; |
650 |
goto out; |