PolicyKit: Branch 'master'

David Zeuthen david at kemper.freedesktop.org
Sat Nov 3 12:27:04 PDT 2007


 polkit/polkit-action.c |    6 ------
 1 file changed, 6 deletions(-)

New commits:
commit 774da25fa897503c20d761b9ff35331da61c180f
Author: David Zeuthen <davidz at redhat.com>
Date:   Sat Nov 3 15:24:36 2007 -0400

    remove dead code

diff --git a/polkit/polkit-action.c b/polkit/polkit-action.c
index 1c0444d..fd62b20 100644
--- a/polkit/polkit-action.c
+++ b/polkit/polkit-action.c
@@ -59,7 +59,6 @@ struct _PolKitAction
 {
         int refcount;
         char *id;
-        GHashTable *params;
 };
 
 /**
@@ -75,10 +74,6 @@ polkit_action_new (void)
         PolKitAction *action;
         action = g_new0 (PolKitAction, 1);
         action->refcount = 1;
-        action->params = g_hash_table_new_full (g_str_hash, 
-                                                g_str_equal,
-                                                g_free,
-                                                g_free);
         return action;
 }
 
@@ -114,7 +109,6 @@ polkit_action_unref (PolKitAction *action)
         if (action->refcount > 0) 
                 return;
         g_free (action->id);
-        g_hash_table_destroy (action->params);
         g_free (action);
 }
 


More information about the hal-commit mailing list