]> Dogcows Code - chaz/openbox/blobdiff - plugins/keyboard/tree.c
add the left/right/top/bottom direction arrows and use them for resizing those ways
[chaz/openbox] / plugins / keyboard / tree.c
index ab528376dfacb6e9a3df5c4dfea83fa730f6bcff..c0ea2f4958071d4f97d194bd69597fe19437936e 100644 (file)
@@ -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;
 
This page took 0.02002 seconds and 4 git commands to generate.