mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-26 14:13:26 +00:00
dir: Use AutoPolkitSubject for the autoptr type
We declare the autoptrs explicitly on those typedefs so it works on
older systems but this one accidentally uses the type provided by polkit
itself.
Fixes: 1372e16d ("dir: Check parental control authorization via system bus name")
This commit is contained in:
parent
40c1e4d5a3
commit
79d6e4b3f4
@ -9442,7 +9442,7 @@ flatpak_dir_check_parental_controls (FlatpakDir *self,
|
||||
|
||||
if (self->subject)
|
||||
{
|
||||
g_autoptr(PolkitSubject) process_subject = NULL;
|
||||
g_autoptr(AutoPolkitSubject) process_subject = NULL;
|
||||
|
||||
subject = g_object_ref (self->subject);
|
||||
/* This internally uses dbus GetConnectionCredentials which ensures we
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user