• Thomas Martitz's avatar
    plugin api: add destroy_notify to the new keybinding APIs · 7c2c9dc2
    Thomas Martitz yazdı
    The destroy_notify can be used to make Geany automatically free the
    per-KeyGroup or per-KeyBinding user_data. This is particularly useful for
    vala-based plugins or other (future) language bindings.
    
    The destroy functions can be conviniently hooked into the destroy_notify of
    the underlying GPtrArrays, therefore this commit also implements such notifies
    internally.
    7c2c9dc2
keybindingsprivate.h 1.95 KB