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:
Sebastian Wick 2025-11-24 16:15:31 +01:00
parent 40c1e4d5a3
commit 79d6e4b3f4

View File

@ -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