projects
/
platform
/
upstream
/
polkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da35aa1
)
remove dead code
author
David Zeuthen
<davidz@redhat.com>
Sat, 3 Nov 2007 19:24:36 +0000
(15:24 -0400)
committer
David Zeuthen
<davidz@redhat.com>
Sat, 3 Nov 2007 19:24:36 +0000
(15:24 -0400)
polkit/polkit-action.c
patch
|
blob
|
history
diff --git
a/polkit/polkit-action.c
b/polkit/polkit-action.c
index
1c0444d
..
fd62b20
100644
(file)
--- 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);
}