summaryrefslogtreecommitdiff
path: root/polkitgtkmate/polkitlockbutton.c
diff options
context:
space:
mode:
Diffstat (limited to 'polkitgtkmate/polkitlockbutton.c')
-rw-r--r--polkitgtkmate/polkitlockbutton.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/polkitgtkmate/polkitlockbutton.c b/polkitgtkmate/polkitlockbutton.c
index 757c34c..e1ad610 100644
--- a/polkitgtkmate/polkitlockbutton.c
+++ b/polkitgtkmate/polkitlockbutton.c
@@ -418,7 +418,7 @@ polkit_lock_button_constructed (GObject *object)
if (button->priv->subject == NULL)
{
- button->priv->subject = polkit_unix_process_new (getpid ());
+ button->priv->subject = polkit_unix_process_new_for_owner (getpid (), 0, -1);
}
/* synchronously check on construction - TODO: we could implement GAsyncInitable