PolicyKit: Branch 'master'

David Zeuthen david at kemper.freedesktop.org
Mon Aug 20 18:52:23 PDT 2007


 tools/polkit-list-actions.c |    5 -----
 1 file changed, 5 deletions(-)

New commits:
diff-tree 49e3a102cdb6bb30926889adf68d66be8be9491b (from f2399d093f968c63b9b572a3f4b27a850d5695c9)
Author: David Zeuthen <davidz at redhat.com>
Date:   Mon Aug 20 21:48:21 2007 -0400

    avoid the now defunct group concept in polkit-list-actions

diff --git a/tools/polkit-list-actions.c b/tools/polkit-list-actions.c
index 4a674c0..9e4479e 100644
--- a/tools/polkit-list-actions.c
+++ b/tools/polkit-list-actions.c
@@ -59,26 +59,21 @@ _print_entry (PolKitPolicyCache *policy_
               void *user_data)
 {
         const char *action_id;
-        const char *group_id;
         PolKitPolicyDefault *def;
         PolKitResult default_inactive;
         PolKitResult default_active;
 
         action_id = polkit_policy_file_entry_get_id (pfe);
-        group_id = polkit_policy_file_entry_get_group_id (pfe);
         def = polkit_policy_file_entry_get_default (pfe);
         default_inactive = polkit_policy_default_get_allow_inactive (def);
         default_active = polkit_policy_default_get_allow_active (def);
 
         printf ("Policy\n"
                 "------\n"
-                "group             = %s ('%s')\n"
                 "action            = %s ('%s')\n"
                 "default_inactive  = %s\n"
                 "default_active    = %s\n"
                 "\n", 
-                group_id, 
-                polkit_policy_file_entry_get_group_description (pfe),
                 action_id,
                 polkit_policy_file_entry_get_action_description (pfe),
                 polkit_result_to_string_representation (default_inactive),


More information about the hal-commit mailing list