}
-bool dock_may_destroy(WDock *dock)
-{
- if(dock->dockapps!=NULL){
- warn_obj(modname, "Dock \"%s\" is still managing other objects "
- " -- refusing to close.", region_name((WRegion*)dock));
- return FALSE;
- }
-
- return TRUE;
-}
-
-
EXTL_EXPORT
WDock *mod_dock_create(ExtlTab tab)
{
{region_size_hints, dock_size_hints},
{(DynFun*)region_fitrep, (DynFun*)dock_fitrep},
{(DynFun*)region_orientation, (DynFun*)dock_orientation},
- {(DynFun*)region_may_destroy, (DynFun*)dock_may_destroy},
{(DynFun*)region_handle_drop, (DynFun*)dock_handle_drop},
{(DynFun*)region_managed_get_pholder,