|
Lines 42-47
Link Here
|
| 42 |
#include "udiskslinuxdriveobject.h" |
42 |
#include "udiskslinuxdriveobject.h" |
| 43 |
|
43 |
|
| 44 |
#if defined(HAVE_LIBSYSTEMD_LOGIN) |
44 |
#if defined(HAVE_LIBSYSTEMD_LOGIN) |
|
|
45 |
#include <systemd/sd-daemon.h> |
| 45 |
#include <systemd/sd-login.h> |
46 |
#include <systemd/sd-login.h> |
| 46 |
#endif |
47 |
#endif |
| 47 |
|
48 |
|
|
Lines 1021-1026
udisks_daemon_util_on_same_seat (UDisksDaemon *daemon,
Link Here
|
| 1021 |
UDisksObject *drive_object = NULL; |
1022 |
UDisksObject *drive_object = NULL; |
| 1022 |
UDisksDrive *drive = NULL; |
1023 |
UDisksDrive *drive = NULL; |
| 1023 |
|
1024 |
|
|
|
1025 |
/* if we haven't booted with systemd, assume it's always the same seat */ |
| 1026 |
if (sd_booted () <= 0) |
| 1027 |
return TRUE; |
| 1028 |
|
| 1024 |
if (UDISKS_IS_LINUX_BLOCK_OBJECT (object)) |
1029 |
if (UDISKS_IS_LINUX_BLOCK_OBJECT (object)) |
| 1025 |
{ |
1030 |
{ |
| 1026 |
UDisksLinuxBlockObject *linux_block_object; |
1031 |
UDisksLinuxBlockObject *linux_block_object; |
| 1027 |
- |
|
|