summaryrefslogtreecommitdiff
path: root/plugins/keyboard/tree.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-05-09 16:57:17 +0000
committerDana Jansens <danakj@orodu.net>2003-05-09 16:57:17 +0000
commitf26f23de50cb7941a7702198e3b4d1b2f9de062e (patch)
treeec1d73c8e977d86e9231676c51e684a3415e7a0e /plugins/keyboard/tree.c
parent60065663ba9dc448dcf90fd200cd459bcdb9ef9c (diff)
all my changes while i was offline.
better alt-tabbing. better transient handling. i dont even know. lots of fucking cool shit so WATCH the FUCK OUT.
Diffstat (limited to 'plugins/keyboard/tree.c')
-rw-r--r--plugins/keyboard/tree.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/keyboard/tree.c b/plugins/keyboard/tree.c
index c0ea2f49..896f77bb 100644
--- a/plugins/keyboard/tree.c
+++ b/plugins/keyboard/tree.c
@@ -11,10 +11,13 @@ void tree_destroy(KeyBindingTree *tree)
c = tree->first_child;
if (c == NULL) {
GList *it;
+ GSList *sit;
for (it = tree->keylist; it != NULL; it = it->next)
g_free(it->data);
g_list_free(tree->keylist);
- action_free(tree->action);
+ for (it = tree->actions; it != NULL; it = it->next)
+ action_free(it->data);
+ g_slist_free(tree->actions);
}
g_free(tree);
tree = c;