summaryrefslogtreecommitdiff
path: root/plugins/keyboard/tree.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-03-26 12:52:32 +0000
committerDana Jansens <danakj@orodu.net>2003-03-26 12:52:32 +0000
commit91ebde9e8842678e0d0704dc7945b2b84aba314f (patch)
tree8a7350529e86af79f865336112ab5cc37f354707 /plugins/keyboard/tree.c
parent59ad2e319a58af43ca77cda7307888e5ae34ea2a (diff)
load keybindings from keysrc
Diffstat (limited to 'plugins/keyboard/tree.c')
-rw-r--r--plugins/keyboard/tree.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/keyboard/tree.c b/plugins/keyboard/tree.c
index ab528376..c0ea2f49 100644
--- a/plugins/keyboard/tree.c
+++ b/plugins/keyboard/tree.c
@@ -31,8 +31,7 @@ KeyBindingTree *tree_build(GList *keylist)
for (it = g_list_last(keylist); it != NULL; it = it->prev) {
p = ret;
- ret = g_new(KeyBindingTree, 1);
- ret->next_sibling = NULL;
+ ret = g_new0(KeyBindingTree, 1);
if (p == NULL) {
GList *it;