Changeset 920201c


Ignore:
Timestamp:
Mar 7, 2010, 10:26:47 PM (10 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.6, release-1.7, release-1.8, release-1.9
Children:
0bdb3a6
Parents:
b646d00
git-author:
Anders Kaseorg <andersk@mit.edu> (02/27/10 19:33:02)
git-committer:
Anders Kaseorg <andersk@mit.edu> (03/07/10 22:26:47)
Message:
Rename owl_keybinding_free_all to owl_keybinding_delete.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Reviewed-by: Nelson Elhage <nelhage@mit.edu>
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • keybinding.c

    rb646d00 r920201c  
    6161
    6262/* Releases data associated with a keybinding, and the kb itself */
    63 void owl_keybinding_free_all(owl_keybinding *kb)
     63void owl_keybinding_delete(owl_keybinding *kb)
    6464{
    6565  owl_keybinding_cleanup(kb);
  • keymap.c

    r8d4b521 r920201c  
    2121  owl_free(km->name);
    2222  owl_free(km->desc);
    23   owl_list_cleanup(&km->bindings, (void (*)(void *))owl_keybinding_free_all);
     23  owl_list_cleanup(&km->bindings, (void (*)(void *))owl_keybinding_delete);
    2424}
    2525
     
    4747    if (owl_keybinding_equal(curkb, kb)) {
    4848      owl_list_remove_element(&km->bindings, i);
    49       owl_keybinding_free_all(curkb);
     49      owl_keybinding_delete(curkb);
    5050    }
    5151  }
Note: See TracChangeset for help on using the changeset viewer.