diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-07-26 19:41:41 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-07-26 21:30:59 +0200 |
| commit | 2370c03b83e1a074c6b7362885e69bc364553e49 (patch) | |
| tree | fd37c2790b3b0e76743a42116352151db1bd8e28 | |
| parent | 7399b5483c5b69559bbfcee27bfd415a967add85 (diff) | |
Update deprecated method call.
| -rw-r--r-- | src/tools/dcpomatic_disk_writer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/dcpomatic_disk_writer.cc b/src/tools/dcpomatic_disk_writer.cc index bac5f9084..66d38ec19 100644 --- a/src/tools/dcpomatic_disk_writer.cc +++ b/src/tools/dcpomatic_disk_writer.cc @@ -525,7 +525,7 @@ try #ifdef DCPOMATIC_LINUX polkit_authority = polkit_authority_get_sync (0, 0); - PolkitSubject* subject = polkit_unix_process_new (getppid()); + PolkitSubject* subject = polkit_unix_process_new_for_owner (getppid(), 0, -1); Parameters* parameters = new Parameters; parameters->dcp_path = *dcp_path; parameters->device = *device; |
