Update deprecated method call.
authorCarl Hetherington <cth@carlh.net>
Sun, 26 Jul 2020 17:41:41 +0000 (19:41 +0200)
committerCarl Hetherington <cth@carlh.net>
Sun, 26 Jul 2020 19:30:59 +0000 (21:30 +0200)
src/tools/dcpomatic_disk_writer.cc

index bac5f90840ea4dd91730b858a1506939c8dba3a7..66d38ec19b77ff8a32f35b53b9c3a3f36d4ab0be 100644 (file)
@@ -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;