From d07ecaa09c1890216b0056d506d1ce1ffed8f545 Mon Sep 17 00:00:00 2001 From: infirit Date: Sat, 12 Sep 2015 12:43:11 +0200 Subject: Replace deprecated polkit_unix_process_new And replace it with polkit_unix_process_new_for_owner. --- polkitgtkmate/polkitlockbutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'polkitgtkmate/polkitlockbutton.c') 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 -- cgit v1.2.1