diff options
Diffstat (limited to 'src/fe-common/core/window-items.h')
-rw-r--r-- | src/fe-common/core/window-items.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/fe-common/core/window-items.h b/src/fe-common/core/window-items.h index 1ebece9c..3de76f6c 100644 --- a/src/fe-common/core/window-items.h +++ b/src/fe-common/core/window-items.h @@ -3,10 +3,12 @@ #include "fe-windows.h" -/* Add/remove window item from `window' */ -void window_add_item(WINDOW_REC *window, WI_ITEM_REC *item, int automatic); -void window_remove_item(WINDOW_REC *window, WI_ITEM_REC *item); -/* Find a window for `item' and call window_add_item(). */ +/* Add/remove/destroy window item from `window' */ +void window_item_add(WINDOW_REC *window, WI_ITEM_REC *item, int automatic); +void window_item_remove(WINDOW_REC *window, WI_ITEM_REC *item); +void window_item_destroy(WINDOW_REC *window, WI_ITEM_REC *item); + +/* Find a window for `item' and call window_item_add(). */ void window_item_create(WI_ITEM_REC *item, int automatic); WINDOW_REC *window_item_window(WI_ITEM_REC *item); |