[PolicyKit-gnome] In the example, print backend details on stdout
- From: David Zeuthen <davidz src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [PolicyKit-gnome] In the example, print backend details on stdout
- Date: Tue, 10 Nov 2009 14:35:42 +0000 (UTC)
commit 68b4cf40291d0f0a01367f782360c7e15bbd3757
Author: David Zeuthen <davidz redhat com>
Date: Tue Nov 10 08:51:01 2009 -0500
In the example, print backend details on stdout
polkitgtk/example.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/polkitgtk/example.c b/polkitgtk/example.c
index 1131052..79ddc91 100644
--- a/polkitgtk/example.c
+++ b/polkitgtk/example.c
@@ -170,6 +170,10 @@ main (int argc, char *argv[])
unix_process_subject = polkit_unix_process_new (getpid ());
authority = polkit_authority_get ();
+ g_debug ("backend: name=`%s' version=`%s' features=%d",
+ polkit_authority_get_backend_name (authority),
+ polkit_authority_get_backend_version (authority),
+ polkit_authority_get_backend_features (authority));
g_signal_connect (authority,
"changed",
G_CALLBACK (on_authority_changed),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]